picogl.backend.gl.wrappers.vertex_attrib_pointer
glVertexAttribPointer wrapper.
Functions
|
Accept |
|
Issue |
Module Contents
- picogl.backend.gl.wrappers.vertex_attrib_pointer._resolve_attrib_pointer(offset: Any) Any[source]
Accept
None, byte offset ints, or an existingc_void_p.
- picogl.backend.gl.wrappers.vertex_attrib_pointer.gl_vertex_attrib_pointer(index: int, size: int, num_type: picogl.backend.gl.enums.GLNumeric = GLNumeric.FLOAT, normalized: picogl.boolean.GLBoolean = GLBoolean.FALSE, stride: int = 0, offset: Any | None = None) None[source]
Issue
glVertexAttribPointer.offset may be a byte offset (
int),None, or actypes.c_void_p.