Class ShaderPropertyBlock

java.lang.Object
zombie.core.rendering.ShaderPropertyBlock

public class ShaderPropertyBlock extends Object
  • Constructor Details

    • ShaderPropertyBlock

      public ShaderPropertyBlock()
  • Method Details

    • SetShader

      public void SetShader(Shader arg0)
    • StoreProperties

      public void StoreProperties()
    • CopyToInstanced

      public void CopyToInstanced(InstancedBuffer arg0)
    • GetParameter

      public ShaderParameter GetParameter(String arg0)
    • CopyParameters

      public void CopyParameters(ShaderPropertyBlock arg0)
    • SetInt

      public void SetInt(String arg0, int arg1)
    • SetFloat

      public void SetFloat(String arg0, float arg1)
    • SetVector2

      public void SetVector2(String arg0, org.lwjgl.util.vector.Vector2f arg1)
    • SetVector2

      public void SetVector2(String arg0, float arg1, float arg2)
    • SetVector3

      public void SetVector3(String arg0, org.lwjgl.util.vector.Vector3f arg1)
    • SetVector3

      public void SetVector3(String arg0, float arg1, float arg2, float arg3)
    • SetVector4

      public void SetVector4(String arg0, org.lwjgl.util.vector.Vector4f arg1)
    • SetVector4

      public void SetVector4(String arg0, float arg1, float arg2, float arg3, float arg4)
    • SetMatrix3

      public void SetMatrix3(String arg0, org.lwjgl.util.vector.Matrix3f arg1)
    • SetMatrix4

      public org.lwjgl.util.vector.Matrix4f SetMatrix4(String arg0, org.lwjgl.util.vector.Matrix4f arg1)
    • SetMatrix4

      public org.lwjgl.util.vector.Matrix4f SetMatrix4(String arg0, Matrix4f arg1)
    • SetMatrix4

      public org.lwjgl.util.vector.Matrix4f SetMatrix4(String arg0, FloatBuffer arg1)
    • SetFloatArray

      public void SetFloatArray(String string, float[] floats)
    • SetVector2Array

      public void SetVector2Array(String string, org.lwjgl.util.vector.Vector2f[] vector2fs)
    • SetVector3Array

      public void SetVector3Array(String string, org.lwjgl.util.vector.Vector3f[] vector3fs)
    • SetVector4Array

      public void SetVector4Array(String string, org.lwjgl.util.vector.Vector4f[] vector4fs)
    • SetMatrix3Array

      public void SetMatrix3Array(String string, org.lwjgl.util.vector.Matrix3f[] matrix3fs)
    • SetMatrix4Array

      public void SetMatrix4Array(String string, org.lwjgl.util.vector.Matrix4f[] matrix4fs)
    • SetMatrix4Array

      public void SetMatrix4Array(String arg0, FloatBuffer arg1)
    • SetFloatArrayElement

      public void SetFloatArrayElement(String arg0, int arg1, float arg2)
    • SetVector2ArrayElement

      public void SetVector2ArrayElement(String arg0, int arg1, org.lwjgl.util.vector.Vector2f arg2)
    • SetVector2ArrayElement

      public void SetVector2ArrayElement(String arg0, int arg1, float arg2, float arg3)
    • SetVector3ArrayElement

      public void SetVector3ArrayElement(String arg0, int arg1, org.lwjgl.util.vector.Vector3f arg2)
    • SetVector3ArrayElement

      public void SetVector3ArrayElement(String arg0, int arg1, float arg2, float arg3, float arg4)
    • SetVector4ArrayElement

      public void SetVector4ArrayElement(String arg0, int arg1, org.lwjgl.util.vector.Vector4f arg2)
    • SetVector4ArrayElement

      public void SetVector4ArrayElement(String arg0, int arg1, float arg2, float arg3, float arg4, float arg5)
    • SetMatrix3ArrayElement

      public void SetMatrix3ArrayElement(String arg0, int arg1, org.lwjgl.util.vector.Matrix3f arg2)
    • SetMatrix4ArrayElement

      public void SetMatrix4ArrayElement(String arg0, int arg1, org.lwjgl.util.vector.Matrix4f arg2)