Class Std140Builder
java.lang.Object
com.mojang.blaze3d.buffers.Std140Builder
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionalign(int alignment) get()static Std140BuilderintoBuffer(ByteBuffer buffer) static Std140BuilderonStack(org.lwjgl.system.MemoryStack stack, int size) putFloat(float value) putInt(int value) putIVec2(int x, int y) putIVec3(int x, int y, int z) putIVec4(int x, int y, int z, int w) putVec2(float x, float y) putVec3(float x, float y, float z) putVec4(float x, float y, float z, float w)
-
Field Details
-
buffer
-
start
private final int start
-
-
Constructor Details
-
Std140Builder
-
-
Method Details
-
intoBuffer
-
onStack
-
get
-
align
-
putFloat
-
putInt
-
putVec2
-
putVec2
-
putIVec2
-
putIVec2
-
putVec3
-
putVec3
-
putIVec3
-
putIVec3
-
putVec4
-
putVec4
-
putIVec4
-
putIVec4
-
putMat4f
-