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$SetupTask
intermediary net/minecraft/class_296$class_298$class_4575
official fgx$b$a
  • Method Summary

    Modifier and Type
    Method
    Description
    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.
  • 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 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
      Mappings:
      Namespace Name Mixin selector
      named setupBufferState Lnet/minecraft/client/render/VertexFormatElement$Usage$SetupTask;setupBufferState(IIIJI)V
      intermediary setupBufferState Lnet/minecraft/class_296$class_298$class_4575;setupBufferState(IIIJI)V
      official setupBufferState Lfgx$b$a;setupBufferState(IIIJI)V