Class GlVertexArraySeparateAttributes
java.lang.Object
dev.engine_room.flywheel.backend.gl.GlObject
dev.engine_room.flywheel.backend.gl.array.GlVertexArray
dev.engine_room.flywheel.backend.gl.array.GlVertexArraySeparateAttributes
-
Field Summary
FieldsFields inherited from class dev.engine_room.flywheel.backend.gl.array.GlVertexArray
MAX_ATTRIB_BINDINGS, MAX_ATTRIBS -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidbindAttributes(int bindingIndex, int startAttribIndex, List<VertexAttribute> vertexAttributes) voidbindVertexBuffer(int bindingIndex, int vbo, long offset, int stride) voidsetBindingDivisor(int bindingIndex, int divisor) voidsetElementBuffer(int ebo) Methods inherited from class dev.engine_room.flywheel.backend.gl.array.GlVertexArray
bindForDraw, create, deleteInternalMethods inherited from class dev.engine_room.flywheel.backend.gl.GlObject
checkHandle, delete, handle, handle, invalidateHandle, isInvalid
-
Field Details
-
SUPPORTED
public static final boolean SUPPORTED
-
-
Constructor Details
-
GlVertexArraySeparateAttributes
public GlVertexArraySeparateAttributes()
-
-
Method Details
-
bindVertexBuffer
public void bindVertexBuffer(int bindingIndex, int vbo, long offset, int stride) - Specified by:
bindVertexBufferin classGlVertexArray
-
setBindingDivisor
public void setBindingDivisor(int bindingIndex, int divisor) - Specified by:
setBindingDivisorin classGlVertexArray
-
bindAttributes
public void bindAttributes(int bindingIndex, int startAttribIndex, List<VertexAttribute> vertexAttributes) - Specified by:
bindAttributesin classGlVertexArray
-
setElementBuffer
public void setElementBuffer(int ebo) - Specified by:
setElementBufferin classGlVertexArray
-