|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.jmex.subdivision.Subdivision.SubdivisionBuffer
protected class Subdivision.SubdivisionBuffer
| Field Summary | |
|---|---|
java.nio.FloatBuffer |
buf
The buffer |
int |
elemSize
The buffer's element size (e.g. 3 for normal buffers, 2 for texture buffers, 4 for color buffers) |
boolean |
linear
Whether or not the buffer should be linearly interpolated (for example, it doesn't make sense to use higher-order interpolation on texture coordinates, should probably be false in most cases) |
Subdivision.BufferType |
type
states which type of buffer this is |
| Constructor Summary | |
|---|---|
Subdivision.SubdivisionBuffer(java.nio.FloatBuffer buf,
int elemSize,
boolean linear,
Subdivision.BufferType type)
Constructor for SubdivisionBuffer |
|
Subdivision.SubdivisionBuffer(java.nio.FloatBuffer buf,
Subdivision.BufferType type)
Constructor for SubdivisionBuffer |
|
| Method Summary |
|---|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public java.nio.FloatBuffer buf
public int elemSize
public boolean linear
false in most cases)
public Subdivision.BufferType type
| Constructor Detail |
|---|
public Subdivision.SubdivisionBuffer(java.nio.FloatBuffer buf,
int elemSize,
boolean linear,
Subdivision.BufferType type)
buf - The bufferelemSize - The buffer's element size (e.g. 3 for normal buffers, 2 for texture buffers, 4 for color buffers)linear - Whether or not the buffer should be linearly interpolated (for example, it doesn't make sense to use higher-order interpolation on texture coordinates). Should probably be false in most casestype - The type of buffer, needed when applying buffers to batches
public Subdivision.SubdivisionBuffer(java.nio.FloatBuffer buf,
Subdivision.BufferType type)
buf - The buffertype - The type of buffer, needed when applying buffers to batches
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||