Changeset 30938 in project for wiki/eggref/4/glls
- Timestamp:
- 05/28/14 21:26:15 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
wiki/eggref/4/glls
r30937 r30938 235 235 * {{mode:}} â The drawing mode to use when drawing the elements of the VAO. Must be one of (opengl-glewâs): {{+points+}}, {{+line-strip+}}, {{+line-loop+}}, {{+lines+}}, {{+line-strip-adjacency+}}, {{+triangles+}}, {{+triangle-strip+}}, {{+triangle-fan+}}, {{+triangles-adjacency+}}, {{+triangle-strip-adjacency+}}, or {{+patches+}}. Defaults to {{+triangles+}}. 236 236 * {{n-elements:}} â The number of elements (vertices) to draw. 237 * {{element-type:}} â The type of the values in the VAOâs element array. Must be one of {{+unsigned-byte+}}, {{+unsigned-short+}}, or `+unsigned-int+.237 * {{element-type:}} â The type of the values in the VAOâs element array. Must be one of {{+unsigned-byte+}}, {{+unsigned-short+}}, or {{+unsigned-int+}}. 238 238 * {{offset:}} â A byte offset to the location of the desired indices to draw. 239 * {{data:}} â An optional pointer to an appropriate glls renderable object. If not provided, a fresh renderable object will be created. [[https://github.com/AlexCharlton/glls/blob/master/gllsRender.h|gllsRenderable.h]] defines the structs used for renderables. The are chosen based on the number of uniforms present in the pipeline. 239 240 240 241 See the [[https://www.opengl.org/sdk/docs/man/html/glDrawElements.xhtml|{{glDrawElements}} documentation]] for more information about these expected arguments.
Note: See TracChangeset
for help on using the changeset viewer.