class D3DMesh extends BaseMesh
| Modifier and Type | Class and Description |
|---|---|
(package private) static class |
D3DMesh.D3DMeshDisposerRecord |
BaseMesh.FaceMembers| Modifier and Type | Field and Description |
|---|---|
private D3DContext |
context |
(package private) static int |
count |
private long |
nativeHandle |
FACE_MEMBERS_SIZE, NORMAL_SIZE, NORMAL_SIZE_VB, POINT_SIZE, POINT_SIZE_VB, TEXCOORD_SIZE, TEXCOORD_SIZE_VB, VERTEX_SIZE_VBdisposerRecord| Modifier | Constructor and Description |
|---|---|
private |
D3DMesh(D3DContext context,
long nativeHandle,
Disposer.Record disposerRecord) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
buildNativeGeometry(float[] vertexBuffer,
int vertexBufferLength,
int[] indexBufferInt,
int indexBufferLength) |
boolean |
buildNativeGeometry(float[] vertexBuffer,
int vertexBufferLength,
short[] indexBufferShort,
int indexBufferLength) |
(package private) static D3DMesh |
create(D3DContext context) |
void |
dispose() |
int |
getCount() |
(package private) long |
getNativeHandle() |
buildGeometry, getFace, getNumFaces, getNumTVerts, getNumVerts, getTVertex, getVertexstatic int count
private final D3DContext context
private final long nativeHandle
private D3DMesh(D3DContext context, long nativeHandle, Disposer.Record disposerRecord)
static D3DMesh create(D3DContext context)
long getNativeHandle()
public void dispose()
dispose in interface GraphicsResourcedispose in class BaseGraphicsResourcepublic int getCount()
public boolean buildNativeGeometry(float[] vertexBuffer,
int vertexBufferLength,
int[] indexBufferInt,
int indexBufferLength)
buildNativeGeometry in class BaseMeshpublic boolean buildNativeGeometry(float[] vertexBuffer,
int vertexBufferLength,
short[] indexBufferShort,
int indexBufferLength)
buildNativeGeometry in class BaseMesh