cf_draw_push_vertex_attributes¶
Category: draw
GitHub: cute_draw.h
Pushes a set of vertex attributes.
Remarks¶
Each attribute gets copied onto all the vertices for everything drawn thereafter. This is useful for custom shaders that want some extra bits of data sent to the fragment shader. If you want to customize individual vertices then check out CF_Vertex.
Related Pages¶
CF_Vertex
cf_draw_peek_vertex_attributes
cf_draw_push_vertex_attributes2
cf_draw_pop_vertex_attributes