Class ShaderVariableIntArray
java.lang.Object
com.ardor3d.util.shader.ShaderVariable
com.ardor3d.util.shader.uniformtypes.ShaderVariableIntArray
- All Implemented Interfaces:
Savable
ShaderVariableIntArray
-
Field Summary
Modifier and TypeFieldDescriptionint
Specifies the number of values for each element of the array.Fields inherited from class com.ardor3d.util.shader.ShaderVariable
errorLogged, name, needsRefresh, variableID
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
hasData()
void
read
(InputCapsule capsule) void
write
(OutputCapsule capsule) Methods inherited from class com.ardor3d.util.shader.ShaderVariable
equals, getClassTag, getSize, hashCode
-
Field Details
-
value
-
size
public int sizeSpecifies the number of values for each element of the array. Must be 1, 2, 3, or 4.
-
-
Constructor Details
-
ShaderVariableIntArray
public ShaderVariableIntArray()
-
-
Method Details
-
hasData
public boolean hasData()- Overrides:
hasData
in classShaderVariable
-
write
- Specified by:
write
in interfaceSavable
- Overrides:
write
in classShaderVariable
- Throws:
IOException
-
read
- Specified by:
read
in interfaceSavable
- Overrides:
read
in classShaderVariable
- Throws:
IOException
-