Class ShaderVariablePointerFloat
java.lang.Object
com.ardor3d.util.shader.ShaderVariable
com.ardor3d.util.shader.uniformtypes.ShaderVariablePointerFloat
- All Implemented Interfaces:
Savable
ShaderVariablePointerFloat
-
Field Summary
Modifier and TypeFieldDescriptionThe data for the attribute valueboolean
Specifies whether fixed-point data values should be normalized (true) or converted directly as fixed-point values (false) when they are accessed.int
Specifies the number of values for each element of the generic vertex attribute array.int
Specifies the byte offset between consecutive attribute values.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
-
size
public int sizeSpecifies the number of values for each element of the generic vertex attribute array. Must be 1, 2, 3, or 4. -
stride
public int strideSpecifies the byte offset between consecutive attribute values. If stride is 0 (the initial value), the attribute values are understood to be tightly packed in the array. -
normalized
public boolean normalizedSpecifies whether fixed-point data values should be normalized (true) or converted directly as fixed-point values (false) when they are accessed. -
data
The data for the attribute value
-
-
Constructor Details
-
ShaderVariablePointerFloat
public ShaderVariablePointerFloat()
-
-
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
-