Class ShaderBuffer
java.lang.Object
zombie.core.rendering.ShaderBuffer
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
Advance
(int int0) int
int
protected void
OnReset()
protected void
static void
PushBool
(ByteBuffer byteBuffer, boolean boolean0) static void
PushColor
(ByteBuffer byteBuffer, Color color) static void
PushColorArray
(ByteBuffer byteBuffer, Color[] color1) static void
PushFloat
(ByteBuffer byteBuffer, float float0) static void
PushFloat2
(ByteBuffer byteBuffer, float float0, float float1) static void
PushFloat3
(ByteBuffer byteBuffer, float float0, float float1, float float2) static void
PushFloat4
(ByteBuffer byteBuffer, float float0, float float1, float float2, float float3) static void
PushFloatArray
(ByteBuffer byteBuffer, float[] float0) static void
PushInt
(ByteBuffer byteBuffer, int int0) static void
PushIntArray
(ByteBuffer byteBuffer, int[] int1) static void
PushMatrix3
(ByteBuffer byteBuffer, org.lwjgl.util.vector.Matrix3f matrix3f) static void
PushMatrix3Array
(ByteBuffer byteBuffer, org.lwjgl.util.vector.Matrix3f[] matrix3f1) static void
PushMatrix4
(ByteBuffer byteBuffer, org.lwjgl.util.vector.Matrix4f matrix4f) static void
PushMatrix4Array
(ByteBuffer byteBuffer, org.lwjgl.util.vector.Matrix4f[] matrix4f1) static void
PushTextureArray
(ByteBuffer byteBuffer, int[] int1) static void
PushVector2
(ByteBuffer byteBuffer, org.lwjgl.util.vector.Vector2f vector2f) static void
PushVector2Array
(ByteBuffer byteBuffer, org.lwjgl.util.vector.Vector2f[] vector2f1) static void
PushVector3
(ByteBuffer byteBuffer, org.lwjgl.util.vector.Vector3f vector3f) static void
PushVector3Array
(ByteBuffer byteBuffer, org.lwjgl.util.vector.Vector3f[] vector3f1) static void
PushVector4
(ByteBuffer byteBuffer, org.lwjgl.util.vector.Vector4f vector4f) static void
PushVector4Array
(ByteBuffer byteBuffer, org.lwjgl.util.vector.Vector4f[] vector4f1) void
Release()
void
SetBinding
(int int0) void
SetPosition
(int int0) protected void
void
-
Field Details
-
bufferID
protected int bufferID -
binding
protected int binding -
data
-
-
Constructor Details
-
ShaderBuffer
protected ShaderBuffer() -
ShaderBuffer
public ShaderBuffer(int int0)
-
-
Method Details
-
GetBufferID
public int GetBufferID() -
Release
public void Release() -
SetBinding
public void SetBinding(int int0) -
GetBinding
public int GetBinding() -
UpdateData
public void UpdateData() -
PreUpdate
protected void PreUpdate() -
OnReset
protected void OnReset() -
UpdateBufferData
protected void UpdateBufferData() -
Advance
public void Advance(int int0) -
SetPosition
public void SetPosition(int int0) -
PushBool
-
PushInt
-
PushFloat
-
PushFloat2
-
PushFloat3
-
PushFloat4
public static void PushFloat4(ByteBuffer byteBuffer, float float0, float float1, float float2, float float3) -
PushVector2
-
PushVector3
-
PushVector4
-
PushColor
-
PushMatrix3
-
PushMatrix4
-
PushIntArray
-
PushFloatArray
-
PushVector2Array
public static void PushVector2Array(ByteBuffer byteBuffer, org.lwjgl.util.vector.Vector2f[] vector2f1) -
PushVector3Array
public static void PushVector3Array(ByteBuffer byteBuffer, org.lwjgl.util.vector.Vector3f[] vector3f1) -
PushVector4Array
public static void PushVector4Array(ByteBuffer byteBuffer, org.lwjgl.util.vector.Vector4f[] vector4f1) -
PushMatrix3Array
public static void PushMatrix3Array(ByteBuffer byteBuffer, org.lwjgl.util.vector.Matrix3f[] matrix3f1) -
PushMatrix4Array
public static void PushMatrix4Array(ByteBuffer byteBuffer, org.lwjgl.util.vector.Matrix4f[] matrix4f1) -
PushTextureArray
-
PushColorArray
-