Class GlVertexArrayGL3
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.GlVertexArrayGL3
- Direct Known Subclasses:
GlVertexArrayGL3.ARB,GlVertexArrayGL3.Core,GlVertexArrayGL3.Core33
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic classstatic class -
Field Summary
Fields 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) voidvoidbindVertexBuffer(int bindingIndex, int vbo, long offset, int stride) voidsetBindingDivisor(int bindingIndex, int divisor) protected abstract voidsetDivisor(int attribIndex, int divisor) voidsetElementBuffer(int ebo) Methods inherited from class dev.engine_room.flywheel.backend.gl.array.GlVertexArray
create, deleteInternalMethods inherited from class dev.engine_room.flywheel.backend.gl.GlObject
checkHandle, delete, handle, handle, invalidateHandle, isInvalid
-
Constructor Details
-
GlVertexArrayGL3
public GlVertexArrayGL3()
-
-
Method Details
-
bindForDraw
public void bindForDraw()- Overrides:
bindForDrawin classGlVertexArray
-
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
-
setDivisor
protected abstract void setDivisor(int attribIndex, int divisor)
-