Package zombie.core.skinnedmodel.shader
Class Shader
java.lang.Object
zombie.core.skinnedmodel.shader.Shader
public class Shader
extends java.lang.Object
-
Field Summary
Fields Modifier and Type Field Description int
BoneIndicesAttrib
int
BoneWeightsAttrib
int
FragID
java.lang.String
name
int
ShaderID
int
VertID
-
Constructor Summary
Constructors Constructor Description Shader(java.lang.String string, boolean boolean1)
-
Method Summary
Modifier and Type Method Description void
End()
int
getID()
void
setAmbient(float float1)
void
setLight(int int1, float float1, float float2, float float3, float float4, float float5, float float6, float float7, ModelInstance modelInstance)
void
setMatrix(int int1, Matrix4f matrix4f)
void
setMatrixPalette(Matrix4f[] matrix4fArray)
void
setReflectionParam(float float1, float float2, float float3)
void
setShaderAlpha(float float1)
void
setTexture(Texture texture)
void
setTextureDamage1Enables1(Matrix4f matrix4f)
void
setTextureDamage1Enables2(Matrix4f matrix4f)
void
setTextureDamage2Enables1(Matrix4f matrix4f)
void
setTextureDamage2Enables2(Matrix4f matrix4f)
void
setTextureLightsEnables2(Matrix4f matrix4f)
void
setTexturePainColor(float float1, float float2, float float3, float float4)
void
setTexturePainColor(Vector3f vector3f, float float1)
void
setTexturePainColor(Vector4f vector4f)
void
setTextureRustA(float float1)
void
setTextureUninstall1(Matrix4f matrix4f)
void
setTextureUninstall2(Matrix4f matrix4f)
void
setTint(float float1, float float2, float float3)
void
setTransformMatrix(Matrix4f matrix4f)
void
Start()
void
updateParams()
void
updateParamsSkin()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
name
public java.lang.String name -
ShaderID
public int ShaderID -
FragID
public int FragID -
VertID
public int VertID -
BoneIndicesAttrib
public int BoneIndicesAttrib -
BoneWeightsAttrib
public int BoneWeightsAttrib
-
-
Constructor Details
-
Shader
public Shader(java.lang.String string, boolean boolean1)
-
-
Method Details
-
setTexture
-
getID
public int getID() -
Start
public void Start() -
End
public void End() -
updateParams
public void updateParams() -
updateParamsSkin
public void updateParamsSkin() -
setMatrixPalette
-
setTint
public void setTint(float float1, float float2, float float3) -
setTextureRustA
public void setTextureRustA(float float1) -
setTexturePainColor
public void setTexturePainColor(float float1, float float2, float float3, float float4) -
setTexturePainColor
-
setTexturePainColor
-
setReflectionParam
public void setReflectionParam(float float1, float float2, float float3) -
setTextureUninstall1
-
setTextureUninstall2
-
setTextureLightsEnables2
-
setTextureDamage1Enables1
-
setTextureDamage1Enables2
-
setTextureDamage2Enables1
-
setTextureDamage2Enables2
-
setShaderAlpha
public void setShaderAlpha(float float1) -
setLight
public void setLight(int int1, float float1, float float2, float float3, float float4, float float5, float float6, float float7, ModelInstance modelInstance) -
setAmbient
public void setAmbient(float float1) -
setTransformMatrix
-
setMatrix
-