Package net.minecraft.client.render
Interface VertexFormatElement.Type.SetupTask
- Enclosing class:
VertexFormatElement.Type
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface
@Environment(CLIENT)
private static interface VertexFormatElement.Type.SetupTask
- Mappings:
Namespace Name named net/minecraft/client/render/VertexFormatElement$Type$SetupTaskintermediary net/minecraft/class_296$class_298$class_4575official eyy$b$b
-
Method Summary
Modifier and TypeMethodDescriptionvoidsetupBufferState(int componentCount, int componentType, int stride, long offset, int uvIndex, int elementIndex) Specifies for OpenGL how the vertex data corresponding to the element should be interpreted.
-
Method Details
-
setupBufferState
void setupBufferState(int componentCount, int componentType, int stride, long offset, int uvIndex, int elementIndex) Specifies for OpenGL how the vertex data corresponding to the element should be interpreted.- Parameters:
componentCount- the number of components in the elementcomponentType- the GL type of components in the elementstride- the distance between consecutive instances of the element in the bufferoffset- the distance between the start of the buffer and the first instance of the element in the buffer; be aware thatpointeris a legacy name from OpenGL 2elementIndex- the index of the element in a vertex format- Mappings:
Namespace Name Mixin selector named setupBufferStateLnet/minecraft/client/render/VertexFormatElement$Type$SetupTask;setupBufferState(IIIJII)Vintermediary setupBufferStateLnet/minecraft/class_296$class_298$class_4575;setupBufferState(IIIJII)Vofficial setupBufferStateLeyy$b$b;setupBufferState(IIIJII)V
-