com.jme.util.shader.uniformtypes
Class ShaderVariablePointerFloat
java.lang.Object
com.jme.util.shader.ShaderVariable
com.jme.util.shader.uniformtypes.ShaderVariablePointerFloat
- All Implemented Interfaces:
- Savable
public class ShaderVariablePointerFloat
- extends ShaderVariable
ShaderVariablePointerFloat
Field Summary |
java.nio.FloatBuffer |
data
The data for the attribute value |
boolean |
normalized
Specifies whether fixed-point data values should be normalized (true) or
converted directly as fixed-point values (false) when they are accessed. |
int |
size
Specifies the number of values for each element of the generic vertex
attribute array. |
int |
stride
Specifies the byte offset between consecutive attribute values. |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
size
public int size
- Specifies the number of values for each element of the generic vertex
attribute array. Must be 1, 2, 3, or 4.
stride
public int stride
- Specifies 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 normalized
- Specifies whether fixed-point data values should be normalized (true) or
converted directly as fixed-point values (false) when they are accessed.
data
public java.nio.FloatBuffer data
- The data for the attribute value
ShaderVariablePointerFloat
public ShaderVariablePointerFloat()
write
public void write(JMEExporter e)
throws java.io.IOException
- Specified by:
write
in interface Savable
- Overrides:
write
in class ShaderVariable
- Throws:
java.io.IOException
read
public void read(JMEImporter e)
throws java.io.IOException
- Specified by:
read
in interface Savable
- Overrides:
read
in class ShaderVariable
- Throws:
java.io.IOException