|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.jme.util.ShaderAttribute
An utily class to store shader's attribute variables content. Used by the
ShaderObjectsState class.
com.jme.scene.state.ShaderObjectsState| Field Summary | |
int |
attributeID
ID of attribute. |
byte |
b1
For byte content. |
byte |
b2
For byte content. |
byte |
b3
For byte content. |
byte |
b4
For byte content. |
java.nio.Buffer |
data
For nio content. |
float |
f1
For float content. |
float |
f2
For float content. |
float |
f3
For float content. |
float |
f4
For float content. |
java.lang.String |
name
Name of the attribute variable. |
boolean |
normalized
|
short |
s1
For short content. |
short |
s2
For short content. |
short |
s3
For short content. |
short |
s4
For short content. |
int |
size
|
int |
stride
|
static int |
SU_FLOAT
|
static int |
SU_FLOAT2
|
static int |
SU_FLOAT3
|
static int |
SU_FLOAT4
|
static int |
SU_NORMALIZED_UBYTE4
|
static int |
SU_POINTER_BYTE
|
static int |
SU_POINTER_FLOAT
|
static int |
SU_POINTER_INT
|
static int |
SU_POINTER_SHORT
|
static int |
SU_SHORT
|
static int |
SU_SHORT2
|
static int |
SU_SHORT3
|
static int |
SU_SHORT4
|
int |
type
Type of attribute value. |
boolean |
unsigned
|
| Constructor Summary | |
ShaderAttribute(java.lang.String name,
int type)
Create a new attribute object. |
|
| Method Summary | |
boolean |
equals(java.lang.Object obj)
|
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final int SU_SHORT
public static final int SU_SHORT2
public static final int SU_SHORT3
public static final int SU_SHORT4
public static final int SU_FLOAT
public static final int SU_FLOAT2
public static final int SU_FLOAT3
public static final int SU_FLOAT4
public static final int SU_NORMALIZED_UBYTE4
public static final int SU_POINTER_BYTE
public static final int SU_POINTER_FLOAT
public static final int SU_POINTER_SHORT
public static final int SU_POINTER_INT
public java.lang.String name
public int type
public int attributeID
public short s1
public short s2
public short s3
public short s4
public float f1
public float f2
public float f3
public float f4
public byte b1
public byte b2
public byte b3
public byte b4
public java.nio.Buffer data
public boolean normalized
public boolean unsigned
public int stride
public int size
| Constructor Detail |
public ShaderAttribute(java.lang.String name,
int type)
name - attribute's nametype - attribute's value type| Method Detail |
public boolean equals(java.lang.Object obj)
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||