-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add a simple render function implementing a minimal pipeline
The `render` function takes in a list of triangles and a list of vertices, a shader, and a render target. It passes the vertices through the vertex shader, clips the resulting clip-space triangles, and rasterizes them into the target using the fragment shader.
- Loading branch information
1 parent
dd6a783
commit e469a7e
Showing
1 changed file
with
71 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters