struct RenderModel_t {
RenderModel_Vertex_t const * rVertexData;
uint32_t unVertexCount;
uint16_t const * IndexData;
uint32_t unTriangleCount;
TextureID_t diffuseTextureId;
}
| Modifier and Type | Class and Description |
|---|---|
| public static class | RenderModel.
An array of |
| Modifier and Type | Field and Description |
|---|---|
| public static final int | ALIGNOF
The struct alignment in bytes. |
| public static final int | DIFFUSETEXTUREID
The struct member offsets. |
| public static final int | INDEXDATA
The struct member offsets. |
| public static final int | RVERTEXDATA
The struct member offsets. |
| public static final int | SIZEOF
The struct size in bytes. |
| public static final int | UNTRIANGLECOUNT
The struct member offsets. |
| public static final int | UNVERTEXCOUNT
The struct member offsets. |
| Access | Constructor and Description |
|---|---|
| protected | |
| public | RenderModel(ByteBuffer container)
Creates a |
| Modifier and Type | Method and Description |
|---|---|
| public static RenderModel | |
| public static RenderModel. | calloc(int
the buffer capacity capacity)Returns a new |
| public static RenderModel | calloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static RenderModel. | calloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| public static RenderModel | |
| public static RenderModel | |
| public static RenderModel. | |
| public static RenderModel. | |
| protected RenderModel | create(long
the struct memory address address, ByteBuffer an optional container buffer, to be referenced strongly by the struct instance. container)Implements abstract org. the constructor, but returns the exact type of the Struct subclass.
|
| public static RenderModel | |
| public static RenderModel | |
| public static RenderModel. | create(int
the buffer capacity capacity)Returns a new |
| public static RenderModel. | create(long
the memory address address, int the buffer capacity capacity)Create a |
| public static RenderModel | |
| public static RenderModel. | |
| public int | |
| public ShortBuffer | |
| public static RenderModel | |
| public static RenderModel. | malloc(int
the buffer capacity capacity)Returns a new |
| public static RenderModel | malloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static RenderModel. | malloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| public static RenderModel | |
| public static RenderModel | |
| public static RenderModel. | |
| public static RenderModel. | |
| public static int | |
| public static ShortBuffer | |
| public static RenderModelVertex. | |
| public static int | |
| public static int | |
| public RenderModelVertex. | |
| public int | |
| public int | |
| public int |
| ALIGNOF | back to summary |
|---|---|
| public static final int ALIGNOF The struct alignment in bytes. | |
| DIFFUSETEXTUREID | back to summary |
|---|---|
| public static final int DIFFUSETEXTUREID The struct member offsets. | |
| INDEXDATA | back to summary |
|---|---|
| public static final int INDEXDATA The struct member offsets. | |
| RVERTEXDATA | back to summary |
|---|---|
| public static final int RVERTEXDATA The struct member offsets. | |
| SIZEOF | back to summary |
|---|---|
| public static final int SIZEOF The struct size in bytes. | |
| UNTRIANGLECOUNT | back to summary |
|---|---|
| public static final int UNTRIANGLECOUNT The struct member offsets. | |
| UNVERTEXCOUNT | back to summary |
|---|---|
| public static final int UNVERTEXCOUNT The struct member offsets. | |
| RenderModel | back to summary |
|---|---|
| protected RenderModel(long address, ByteBuffer container) | |
| RenderModel | back to summary |
|---|---|
| public RenderModel(ByteBuffer container) Creates a The created instance holds a strong reference to the container object. | |
| calloc | back to summary |
|---|---|
| public static RenderModel calloc() Returns a new | |
| calloc | back to summary |
|---|---|
| public static RenderModel. Returns a new
| |
| calloc | back to summary |
|---|---|
| public static RenderModel calloc(MemoryStack stack) Returns a new
| |
| calloc | back to summary |
|---|---|
| public static RenderModel. Returns a new
| |
| callocStack | back to summary |
|---|---|
| public static RenderModel callocStack()
Deprecated
Deprecated for removal in 3.4.0. Use
| |
| callocStack | back to summary |
|---|---|
| public static RenderModel callocStack(MemoryStack stack)
Deprecated
Deprecated for removal in 3.4.0. Use
| |
| callocStack | back to summary |
|---|---|
| public static RenderModel. Deprecated
Deprecated for removal in 3.4.0. Use
| |
| callocStack | back to summary |
|---|---|
| public static RenderModel. Deprecated
Deprecated for removal in 3.4.0. Use
| |
| create | back to summary |
|---|---|
| protected RenderModel create(long address, ByteBuffer container) Implements abstract org. Doc from org. Similar to Effectively, every
| |
| create | back to summary |
|---|---|
| public static RenderModel create() Returns a new | |
| create | back to summary |
|---|---|
| public static RenderModel create(long address) Returns a new | |
| create | back to summary |
|---|---|
| public static RenderModel. Returns a new
| |
| create | back to summary |
|---|---|
| public static RenderModel. Create a
| |
| createSafe | back to summary |
|---|---|
| public static RenderModel createSafe(long address) Like
| |
| createSafe | back to summary |
|---|---|
| public static RenderModel. Like
| |
| diffuseTextureId | back to summary |
|---|---|
| public int diffuseTextureId() Session unique texture identifier. Rendermodels which share the same texture will have the same id. 0 == texture not present.
| |
| IndexData | back to summary |
|---|---|
| public ShortBuffer IndexData() Indices into the vertex data for each triangle
| |
| malloc | back to summary |
|---|---|
| public static RenderModel malloc() Returns a new | |
| malloc | back to summary |
|---|---|
| public static RenderModel. Returns a new
| |
| malloc | back to summary |
|---|---|
| public static RenderModel malloc(MemoryStack stack) Returns a new
| |
| malloc | back to summary |
|---|---|
| public static RenderModel. Returns a new
| |
| mallocStack | back to summary |
|---|---|
| public static RenderModel mallocStack()
Deprecated
Deprecated for removal in 3.4.0. Use
| |
| mallocStack | back to summary |
|---|---|
| public static RenderModel mallocStack(MemoryStack stack)
Deprecated
Deprecated for removal in 3.4.0. Use
| |
| mallocStack | back to summary |
|---|---|
| public static RenderModel. Deprecated
Deprecated for removal in 3.4.0. Use
| |
| mallocStack | back to summary |
|---|---|
| public static RenderModel. Deprecated
Deprecated for removal in 3.4.0. Use
| |
| ndiffuseTextureId | back to summary |
|---|---|
| public static int ndiffuseTextureId(long struct) Unsafe version of | |
| nIndexData | back to summary |
|---|---|
| public static ShortBuffer nIndexData(long struct) Unsafe version of | |
| nrVertexData | back to summary |
|---|---|
| public static RenderModelVertex. Unsafe version of | |
| nunTriangleCount | back to summary |
|---|---|
| public static int nunTriangleCount(long struct) Unsafe version of | |
| nunVertexCount | back to summary |
|---|---|
| public static int nunVertexCount(long struct) Unsafe version of | |
| rVertexData | back to summary |
|---|---|
| public RenderModelVertex. Vertex data for the mesh
| |
| sizeof | back to summary |
|---|---|
| public int sizeof() Implements abstract org. Doc from org. Returns
| |
| unTriangleCount | back to summary |
|---|---|
| public int unTriangleCount() Number of triangles in the mesh. Index count is 3 * TriangleCount.
| |
| unVertexCount | back to summary |
|---|---|
| public int unVertexCount() Number of vertices in the vertex data
| |
RenderModel structs.
| Modifier and Type | Field and Description |
|---|---|
| private static final RenderModel |
| Access | Constructor and Description |
|---|---|
| public | Buffer(ByteBuffer container)
Creates a new |
| public | |
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public int | |
| protected RenderModel | |
| public ShortBuffer | |
| public RenderModelVertex. | Returns: aRenderModelVertex. view of the struct array pointed to by the RenderModel#rVertexData field.
|
| protected RenderModel. | |
| public int | |
| public int |
| ELEMENT_FACTORY | back to summary |
|---|---|
| private static final RenderModel ELEMENT_FACTORY | |
| Buffer | back to summary |
|---|---|
| public Buffer(ByteBuffer container) Creates a new Changes to the container's content will be visible to the struct buffer instance and vice versa. The two buffers' position, limit, and mark values
will be independent. The new buffer's position will be zero, its capacity and its limit will be the number of bytes remaining in this buffer divided
by The created buffer instance holds a strong reference to the container object. | |
| Buffer | back to summary |
|---|---|
| public Buffer(long address, int cap) | |
| Buffer | back to summary |
|---|---|
| pack-priv Buffer(long address, ByteBuffer container, int mark, int pos, int lim, int cap) | |
| diffuseTextureId | back to summary |
|---|---|
public int diffuseTextureId()
| |
| getElementFactory | back to summary |
|---|---|
| protected RenderModel getElementFactory() Implements abstract org.
| |
| IndexData | back to summary |
|---|---|
public ShortBuffer IndexData()
| |
| rVertexData | back to summary |
|---|---|
public RenderModelVertex.
| |
| self | back to summary |
|---|---|
| protected RenderModel. Implements abstract org.
| |
| unTriangleCount | back to summary |
|---|---|
public int unTriangleCount()
| |
| unVertexCount | back to summary |
|---|---|
public int unVertexCount()
| |