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
official eip$b$b
intermediary net/minecraft/class_296$class_298$class_4575
named net/minecraft/client/render/VertexFormatElement$Type$SetupTask
  • Method Summary

    Modifier and Type
    Method
    Description
    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.
  • 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 element
      componentType - the GL type of components in the element
      stride - the distance between consecutive instances of the element in the buffer
      offset - the distance between the start of the buffer and the first instance of the element in the buffer; be aware that pointer is a legacy name from OpenGL 2
      elementIndex - the index of the element in a vertex format
      Mappings:
      Namespace Name Mixin selector
      official setupBufferState Leip$b$b;setupBufferState(IIIJII)V
      intermediary setupBufferState Lnet/minecraft/class_296$class_298$class_4575;setupBufferState(IIIJII)V
      named setupBufferState Lnet/minecraft/client/render/VertexFormatElement$Type$SetupTask;setupBufferState(IIIJII)V