mirror of https://github.com/FabricMC/yarn.git
112 lines
4.0 KiB
Plaintext
112 lines
4.0 KiB
Plaintext
CLASS net/minecraft/class_296 net/minecraft/client/render/VertexFormatElement
|
|
COMMENT Represents a singular field within a larger {@link
|
|
COMMENT net.minecraft.client.render.VertexFormat vertex format}.
|
|
COMMENT
|
|
COMMENT <p>This element comprises a component type, the number of components,
|
|
COMMENT and a type that describes how the components should be interpreted.
|
|
FIELD comp_2843 uvIndex I
|
|
FIELD field_52107 POSITION Lnet/minecraft/class_296;
|
|
FIELD field_52108 COLOR Lnet/minecraft/class_296;
|
|
FIELD field_52109 UV_0 Lnet/minecraft/class_296;
|
|
FIELD field_52110 UV Lnet/minecraft/class_296;
|
|
FIELD field_52111 UV_1 Lnet/minecraft/class_296;
|
|
FIELD field_52112 UV_2 Lnet/minecraft/class_296;
|
|
FIELD field_52113 NORMAL Lnet/minecraft/class_296;
|
|
FIELD field_52114 ELEMENTS [Lnet/minecraft/class_296;
|
|
FIELD field_52115 ELEMENTS_LIST Ljava/util/List;
|
|
METHOD <init> (IILnet/minecraft/class_296$class_297;Lnet/minecraft/class_296$class_298;I)V
|
|
ARG 1 uvIndex
|
|
METHOD comp_2843 uvIndex ()I
|
|
METHOD equals (Ljava/lang/Object;)Z
|
|
ARG 1 o
|
|
METHOD method_1383 isValidType (ILnet/minecraft/class_296$class_298;)Z
|
|
ARG 1 uvIndex
|
|
ARG 2 type
|
|
METHOD method_22652 setupState (IJI)V
|
|
COMMENT Specifies for OpenGL how the vertex data corresponding to this element
|
|
COMMENT should be interpreted.
|
|
ARG 1 elementIndex
|
|
COMMENT the index of the element in a vertex format
|
|
ARG 2 offset
|
|
COMMENT the distance between the start of the buffer and the first instance of
|
|
COMMENT the element in the buffer
|
|
ARG 4 stride
|
|
COMMENT the distance between consecutive instances of the element in the buffer
|
|
METHOD method_60843 getBit ()I
|
|
METHOD method_60844 get (I)Lnet/minecraft/class_296;
|
|
ARG 0 id
|
|
METHOD method_60845 register (IILnet/minecraft/class_296$class_297;Lnet/minecraft/class_296$class_298;I)Lnet/minecraft/class_296;
|
|
ARG 0 id
|
|
ARG 1 uvIndex
|
|
ARG 2 type
|
|
ARG 3 usage
|
|
ARG 4 count
|
|
METHOD method_60846 (ILnet/minecraft/class_296;)Z
|
|
ARG 1 element
|
|
METHOD method_60847 getSizeInBytes ()I
|
|
METHOD method_60848 streamFromMask (I)Ljava/util/stream/Stream;
|
|
ARG 0 mask
|
|
CLASS class_297 ComponentType
|
|
COMMENT Represents a type of components in an element.
|
|
FIELD field_1618 byteLength I
|
|
FIELD field_1626 name Ljava/lang/String;
|
|
FIELD field_1627 glType I
|
|
METHOD <init> (Ljava/lang/String;IILjava/lang/String;I)V
|
|
ARG 3 byteLength
|
|
ARG 4 name
|
|
ARG 5 glType
|
|
METHOD method_1390 getGlType ()I
|
|
METHOD method_1391 getByteLength ()I
|
|
CLASS class_298 Usage
|
|
COMMENT Describes how the components should be interpreted.
|
|
FIELD field_1630 name Ljava/lang/String;
|
|
FIELD field_20783 setupTask Lnet/minecraft/class_296$class_298$class_4575;
|
|
METHOD <init> (Ljava/lang/String;ILjava/lang/String;Lnet/minecraft/class_296$class_298$class_4575;)V
|
|
ARG 3 name
|
|
ARG 4 setupTask
|
|
METHOD method_22662 (IIIJI)V
|
|
ARG 0 componentCount
|
|
ARG 1 componentType
|
|
ARG 2 stride
|
|
ARG 3 offset
|
|
ARG 5 uvIndex
|
|
METHOD method_22667 (IIIJI)V
|
|
ARG 0 componentCount
|
|
ARG 1 componentType
|
|
ARG 2 stride
|
|
ARG 3 offset
|
|
ARG 5 uvIndex
|
|
METHOD method_60849 (IIIJI)V
|
|
ARG 0 componentCount
|
|
ARG 1 componentType
|
|
ARG 2 stride
|
|
ARG 3 offset
|
|
ARG 5 uvIndex
|
|
METHOD method_60850 (IIIJI)V
|
|
ARG 0 componentCount
|
|
ARG 1 componentType
|
|
ARG 2 stride
|
|
ARG 3 offset
|
|
ARG 5 uvIndex
|
|
METHOD method_60851 (IIIJI)V
|
|
ARG 0 componentCount
|
|
ARG 1 componentType
|
|
ARG 2 stride
|
|
ARG 3 offset
|
|
ARG 5 uvIndex
|
|
CLASS class_4575 SetupTask
|
|
METHOD setupBufferState (IIIJI)V
|
|
COMMENT Specifies for OpenGL how the vertex data corresponding to the element
|
|
COMMENT should be interpreted.
|
|
ARG 1 componentCount
|
|
COMMENT the number of components in the element
|
|
ARG 2 componentType
|
|
COMMENT the GL type of components in the element
|
|
ARG 3 stride
|
|
COMMENT the distance between consecutive instances of the element in the buffer
|
|
ARG 4 offset
|
|
COMMENT the distance between the start of the buffer and the first instance of
|
|
COMMENT the element in the buffer; be aware that {@code pointer} is a legacy
|
|
COMMENT name from OpenGL 2
|
|
ARG 6 uvIndex
|