Package net.minecraft.client.render
Interface VertexFormatElement.Usage.SetupTask
- Enclosing class:
VertexFormatElement.Usage
- 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.Usage.SetupTask
- Mappings:
Namespace Name named net/minecraft/client/render/VertexFormatElement$Usage$SetupTaskintermediary net/minecraft/class_296$class_298$class_4575official fbo$b$a
-
Method Summary
Modifier and TypeMethodDescriptionvoidsetupBufferState(int componentCount, int componentType, int stride, long offset, int uvIndex) 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) 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 2- Mappings:
Namespace Name Mixin selector named setupBufferStateLnet/minecraft/client/render/VertexFormatElement$Usage$SetupTask;setupBufferState(IIIJI)Vintermediary setupBufferStateLnet/minecraft/class_296$class_298$class_4575;setupBufferState(IIIJI)Vofficial setupBufferStateLfbo$b$a;setupBufferState(IIIJI)V
-