The IMesh resource object interface. More...
#include "murl_resource_i_mesh.h"
Classes | |
struct | Iff |
IFF file specific structs. More... | |
struct | Raw |
Raw data structs. More... | |
Public Member Functions | |
virtual IObject * | GetObjectInterface ()=0 |
Get the mutable Resource::IObject interface. More... | |
virtual const IObject * | GetObjectInterface () const =0 |
Get the constant Resource::IObject interface. More... | |
virtual UInt32 | GetNumberOfBones () const =0 |
Get the number of bones affecting this mesh. More... | |
virtual const Vector & | GetBoundingBoxMin () const =0 |
Get the minimum vector of the axis-aligned bounding box. More... | |
virtual const Vector & | GetBoundingBoxMax () const =0 |
Get the maximum vector of the axis-aligned bounding box. More... | |
virtual UInt32 | GetNumberOfVertexBuffers () const =0 |
Get the total number of vertex buffers present. More... | |
virtual UInt32 | GetNumberOfVertexBufferVertices (UInt32 vertexBufferIndex) const =0 |
Get the number of vertices stored in the vertex buffer at a given index. More... | |
virtual UInt32 | GetNumberOfVertexBufferAttributes (UInt32 vertexBufferIndex) const =0 |
Get the number of attributes defined for the vertex buffer at a given index. More... | |
virtual const void * | GetVertexBufferData (UInt32 vertexBufferIndex) const =0 |
Get the raw buffer data of the vertex buffer at a given index. More... | |
virtual IEnums::BufferAccessMode | GetVertexBufferAccessMode (UInt32 vertexBufferIndex) const =0 |
Get the access mode of the vertex buffer at a given index. More... | |
virtual UInt32 | GetVertexBufferByteStride (UInt32 vertexBufferIndex) const =0 |
Get the byte stride of the vertex buffer at a given index. More... | |
virtual IEnums::AttributeItem | GetVertexBufferAttributeItem (UInt32 vertexBufferIndex, UInt32 attributeIndex) const =0 |
Get the predefined item of a vertex buffer attribute. More... | |
virtual IEnums::AttributeType | GetVertexBufferAttributeType (UInt32 vertexBufferIndex, UInt32 attributeIndex) const =0 |
Get the data type of a vertex buffer attribute. More... | |
virtual UInt32 | GetVertexBufferAttributeByteOffset (UInt32 vertexBufferIndex, UInt32 attributeIndex) const =0 |
Get the byte offset of a vertex buffer attribute. More... | |
virtual SInt32 | GetVertexBufferSlot (UInt32 vertexBufferIndex) const =0 |
Get the slot index to which a vertex buffer gets assigned. More... | |
virtual UInt32 | GetVertexBufferUnit (UInt32 vertexBufferIndex) const =0 |
Get the unit index to which a vertex buffer gets assigned. More... | |
virtual UInt32 | GetNumberOfIndexBuffers () const =0 |
Get the total number of index buffers present. More... | |
virtual UInt32 | GetNumberOfIndexBufferIndices (UInt32 indexBufferIndex) const =0 |
Get the number of indices stored in the index buffer at a given index. More... | |
virtual UInt32 | GetNumberOfIndexBufferSegments (UInt32 indexBufferIndex) const =0 |
Get the number of segments stored in the index buffer at a given index. More... | |
virtual const void * | GetIndexBufferData (UInt32 indexBufferIndex) const =0 |
Get the raw buffer data of the index buffer at a given index. More... | |
virtual const void * | GetIndexBufferAdjacentVertices (UInt32 indexBufferIndex) const =0 |
Get the raw adjacent vertex data of the index buffer at a given index. More... | |
virtual const UInt32 * | GetIndexBufferAdjacentIndices (UInt32 indexBufferIndex) const =0 |
Get the raw adjacent index data of the index buffer at a given index. More... | |
virtual const UInt32 * | GetIndexBufferSegments (UInt32 indexBufferIndex) const =0 |
Get the raw segment data of the index buffer at a given index. More... | |
virtual IEnums::BufferAccessMode | GetIndexBufferAccessMode (UInt32 indexBufferIndex) const =0 |
Get the access mode of the index buffer at a given index. More... | |
virtual IEnums::IndexType | GetIndexBufferIndexType (UInt32 indexBufferIndex) const =0 |
Get the data type of the index buffer at a given index. More... | |
virtual IEnums::PrimitiveType | GetIndexBufferPrimitiveType (UInt32 indexBufferIndex) const =0 |
Get the primitive type of the index buffer at a given index. More... | |
virtual SInt32 | GetIndexBufferVerticesSlot (UInt32 indexBufferIndex) const =0 |
Get the slot of vertices used to render the index buffer at a given index. More... | |
virtual SInt32 | GetIndexBufferMaterialSlot (UInt32 indexBufferIndex) const =0 |
Get the slot index for the material used to render the index buffer at a given index. More... | |
virtual SInt32 | GetIndexBufferParametersSlot (UInt32 indexBufferIndex) const =0 |
Get the slot index for the parameters used to render the index buffer at a given index. More... | |
virtual SInt32 | GetIndexBufferTextureSlot (UInt32 indexBufferIndex, UInt32 unit) const =0 |
Get the slot index for the texture at a given unit used to render the index buffer at a given index. More... | |
virtual UInt32 | GetNumberOfMorphBuffers (UInt32 vertexBufferIndex) const =0 |
Get the total number of morph buffers present for a given vertex buffer. More... | |
virtual UInt32 | GetNumberOfMorphBufferVertices (UInt32 vertexBufferIndex, UInt32 morphBufferIndex) const =0 |
Get the number of morphed vertices for a given vertex and morph buffer. More... | |
virtual UInt32 | GetNumberOfMorphBufferAttributes (UInt32 vertexBufferIndex, UInt32 morphBufferIndex) const =0 |
Get the number of morphed attributes for a given vertex and morph buffer. More... | |
virtual const void * | GetMorphBufferVertexData (UInt32 vertexBufferIndex, UInt32 morphBufferIndex) const =0 |
Get the raw vertex morph data for a given vertex and morph buffer. More... | |
virtual const void * | GetMorphBufferIndexData (UInt32 vertexBufferIndex, UInt32 morphBufferIndex) const =0 |
Get the raw index morph data for a given vertex and morph buffer. More... | |
virtual UInt32 | GetMorphBufferByteStride (UInt32 vertexBufferIndex, UInt32 morphBufferIndex) const =0 |
Get the byte stride for a given vertex and morph buffer. More... | |
virtual IEnums::AttributeItem | GetMorphBufferAttributeItem (UInt32 vertexBufferIndex, UInt32 morphBufferIndex, UInt32 attributeIndex) const =0 |
Get the predefined morph attribute item for a given vertex and morph buffer. More... | |
virtual IEnums::AttributeType | GetMorphBufferAttributeType (UInt32 vertexBufferIndex, UInt32 morphBufferIndex, UInt32 attributeIndex) const =0 |
Get the morph attribute data type for a given vertex and morph buffer. More... | |
virtual UInt32 | GetMorphBufferAttributeByteOffset (UInt32 vertexBufferIndex, UInt32 morphBufferIndex, UInt32 attributeIndex) const =0 |
Get the morph attribute byte offset for a given vertex and morph buffer. More... | |
virtual IEnums::IndexType | GetMorphBufferIndexType (UInt32 vertexBufferIndex, UInt32 morphBufferIndex) const =0 |
Get the index data type for a given vertex and morph buffer. More... | |
virtual UInt32 | GetNumberOfDeformBuffers (UInt32 vertexBufferIndex) const =0 |
Get the total number of deform buffers present for a given vertex buffer. More... | |
virtual UInt32 | GetNumberOfDeformEntries (UInt32 vertexBufferIndex, UInt32 deformBufferIndex) const =0 |
Get the number of entries for a given vertex and deform buffer. More... | |
virtual UInt32 | GetNumberOfDeformBufferVertices (UInt32 vertexBufferIndex, UInt32 deformBufferIndex, UInt32 deformEntryIndex) const =0 |
Get the number of deformed vertices for a given vertex buffer, deform buffer and deform entry. More... | |
virtual UInt32 | GetNumberOfDeformBufferAttributes (UInt32 vertexBufferIndex, UInt32 deformBufferIndex) const =0 |
Get the number of deformed attributes for a given vertex and deform buffer. More... | |
virtual const void * | GetDeformBufferVertexData (UInt32 vertexBufferIndex, UInt32 deformBufferIndex, UInt32 deformEntryIndex) const =0 |
Get the raw vertex deform data for a given vertex buffer, deform buffer and deform entry. More... | |
virtual const void * | GetDeformBufferIndexData (UInt32 vertexBufferIndex, UInt32 deformBufferIndex, UInt32 deformEntryIndex) const =0 |
Get the raw index deform data for a given vertex buffer, deform buffer and deform entry. More... | |
virtual UInt32 | GetDeformBufferByteStride (UInt32 vertexBufferIndex, UInt32 deformBufferIndex) const =0 |
Get the byte stride for a given vertex and deform buffer. More... | |
virtual IEnums::AttributeItem | GetDeformBufferAttributeItem (UInt32 vertexBufferIndex, UInt32 deformBufferIndex, UInt32 attributeIndex) const =0 |
Get the predefined deform attribute item for a given vertex and deform buffer. More... | |
virtual IEnums::AttributeType | GetDeformBufferAttributeType (UInt32 vertexBufferIndex, UInt32 deformBufferIndex, UInt32 attributeIndex) const =0 |
Get the deform attribute data type for a given vertex and deform buffer. More... | |
virtual UInt32 | GetDeformBufferAttributeByteOffset (UInt32 vertexBufferIndex, UInt32 deformBufferIndex, UInt32 attributeIndex) const =0 |
Get the deform attribute byte offset for a given vertex and deform buffer. More... | |
virtual IEnums::IndexType | GetDeformBufferIndexType (UInt32 vertexBufferIndex, UInt32 deformBufferIndex) const =0 |
Get the index data type for a given vertex and deform buffer. More... | |
virtual UInt32 | GetNumberOfCollisionSurfaces () const =0 |
Get the total number of collision surfaces present. More... | |
virtual SInt32 | GetCollisionSurfaceSlot (UInt32 surfaceIndex) const =0 |
Get the surface slot used for a given collision surface. More... | |
virtual UInt32 | GetNumberOfBspPlanes () const =0 |
Get the number of BSP splitting planes present. More... | |
virtual UInt32 | GetNumberOfBspNodes () const =0 |
Get the number of BSP nodes present. More... | |
virtual UInt32 | GetNumberOfBspLeaves () const =0 |
Get the number of BSP leaves present. More... | |
virtual UInt32 | GetNumberOfBspFaces () const =0 |
Get the number of BSP faces present. More... | |
virtual UInt32 | GetNumberOfBspSegments () const =0 |
Get the number of BSP segments present. More... | |
virtual UInt32 | GetNumberOfBspClusters () const =0 |
Get the number of BSP clusters present. More... | |
virtual UInt32 | GetBspClustersByteSize () const =0 |
Get the byte size of a BSP cluster. More... | |
virtual const Raw::BspPlane * | GetBspPlanes () const =0 |
Get the raw BSP splitting plane data. More... | |
virtual const Raw::BspNode * | GetBspNodes () const =0 |
Get the raw BSP node data. More... | |
virtual const Raw::BspLeaf * | GetBspLeaves () const =0 |
Get the raw BSP leaf data. More... | |
virtual const Raw::BspFace * | GetBspFaces () const =0 |
Get the raw BSP face data. More... | |
virtual const Raw::BspSegment * | GetBspSegments () const =0 |
Get the raw BSP segment data. More... | |
virtual const UInt8 * | GetBspClusters () const =0 |
Get the raw BSP cluster data. More... | |
virtual UInt32 | GetNumberOfBoundingNodes () const =0 |
Get the number of bounding volume hierarchy nodes present. More... | |
virtual UInt32 | GetNumberOfBoundingLeaves () const =0 |
Get the number of bounding volume hierarchy leaves present. More... | |
virtual UInt32 | GetNumberOfBoundingVertices () const =0 |
Get the number of bounding volume hierarchy vertices present. More... | |
virtual UInt32 | GetBoundingVerticesByteSize () const =0 |
Get the total byte size of the bounding volume hierarchy vertices. More... | |
virtual const Raw::BoundingNode * | GetBoundingNodes () const =0 |
Get the raw bounding volume hierarchy node data. More... | |
virtual const Raw::BoundingLeaf * | GetBoundingLeaves () const =0 |
Get the raw bounding volume hierarchy leaf data. More... | |
virtual const Raw::BoundingVertex * | GetBoundingVertices () const =0 |
Get the raw bounding volume hierarchy vertex data. More... | |
Detailed Description
The IMesh resource object interface.
Member Function Documentation
◆ GetObjectInterface() [1/2]
|
pure virtual |
Get the mutable Resource::IObject interface.
- Returns
- The IObject interface.
◆ GetObjectInterface() [2/2]
|
pure virtual |
Get the constant Resource::IObject interface.
- Returns
- The IObject interface.
◆ GetNumberOfBones()
|
pure virtual |
Get the number of bones affecting this mesh.
- Returns
- The number of bones.
◆ GetBoundingBoxMin()
|
pure virtual |
Get the minimum vector of the axis-aligned bounding box.
- Returns
- The AABB minimum vector.
◆ GetBoundingBoxMax()
|
pure virtual |
Get the maximum vector of the axis-aligned bounding box.
- Returns
- The AABB maximum vector.
◆ GetNumberOfVertexBuffers()
|
pure virtual |
Get the total number of vertex buffers present.
- Returns
- The number of vertex buffers present.
◆ GetNumberOfVertexBufferVertices()
|
pure virtual |
Get the number of vertices stored in the vertex buffer at a given index.
- Parameters
-
vertexBufferIndex The index of the vertex buffer, from 0 to GetNumberOfVertexBuffers()-1.
- Returns
- The number of vertices.
◆ GetNumberOfVertexBufferAttributes()
|
pure virtual |
Get the number of attributes defined for the vertex buffer at a given index.
- Parameters
-
vertexBufferIndex The index of the vertex buffer, from 0 to GetNumberOfVertexBuffers()-1.
- Returns
- The number of attributes.
◆ GetVertexBufferData()
|
pure virtual |
Get the raw buffer data of the vertex buffer at a given index.
- Parameters
-
vertexBufferIndex The index of the vertex buffer, from 0 to GetNumberOfVertexBuffers()-1.
- Returns
- A pointer to the raw data, or null if index is out of range.
◆ GetVertexBufferAccessMode()
|
pure virtual |
Get the access mode of the vertex buffer at a given index.
- Parameters
-
vertexBufferIndex The index of the vertex buffer, from 0 to GetNumberOfVertexBuffers()-1.
- Returns
- The buffer access mode.
◆ GetVertexBufferByteStride()
|
pure virtual |
Get the byte stride of the vertex buffer at a given index.
- Parameters
-
vertexBufferIndex The index of the vertex buffer, from 0 to GetNumberOfVertexBuffers()-1.
- Returns
- The byte stride.
◆ GetVertexBufferAttributeItem()
|
pure virtual |
Get the predefined item of a vertex buffer attribute.
- Parameters
-
vertexBufferIndex The index of the vertex buffer, from 0 to GetNumberOfVertexBuffers()-1. attributeIndex The index of the attribute, from 0 to GetNumberOfVertexBufferAttributes()-1.
- Returns
- The attribute item.
◆ GetVertexBufferAttributeType()
|
pure virtual |
Get the data type of a vertex buffer attribute.
- Parameters
-
vertexBufferIndex The index of the vertex buffer, from 0 to GetNumberOfVertexBuffers()-1. attributeIndex The index of the attribute, from 0 to GetNumberOfVertexBufferAttributes()-1.
- Returns
- The attribute type.
◆ GetVertexBufferAttributeByteOffset()
|
pure virtual |
Get the byte offset of a vertex buffer attribute.
- Parameters
-
vertexBufferIndex The index of the vertex buffer, from 0 to GetNumberOfVertexBuffers()-1. attributeIndex The index of the attribute, from 0 to GetNumberOfVertexBufferAttributes()-1.
- Returns
- The byte offset.
◆ GetVertexBufferSlot()
|
pure virtual |
Get the slot index to which a vertex buffer gets assigned.
- Parameters
-
vertexBufferIndex The index of the vertex buffer, from 0 to GetNumberOfVertexBuffers()-1.
- Returns
- The slot index.
◆ GetVertexBufferUnit()
|
pure virtual |
Get the unit index to which a vertex buffer gets assigned.
- Parameters
-
vertexBufferIndex The index of the vertex buffer, from 0 to GetNumberOfVertexBuffers()-1.
- Returns
- The unit index.
◆ GetNumberOfIndexBuffers()
|
pure virtual |
Get the total number of index buffers present.
- Returns
- The number of index buffers present.
◆ GetNumberOfIndexBufferIndices()
|
pure virtual |
Get the number of indices stored in the index buffer at a given index.
- Parameters
-
indexBufferIndex The index of the index buffer, from 0 to GetNumberOfIndexBuffers()-1.
- Returns
- The number of indices.
◆ GetNumberOfIndexBufferSegments()
|
pure virtual |
Get the number of segments stored in the index buffer at a given index.
- Parameters
-
indexBufferIndex The index of the index buffer, from 0 to GetNumberOfIndexBuffers()-1.
- Returns
- The number of segments.
◆ GetIndexBufferData()
|
pure virtual |
Get the raw buffer data of the index buffer at a given index.
- Parameters
-
indexBufferIndex The index of the index buffer, from 0 to GetNumberOfIndexBuffers()-1.
- Returns
- A pointer to the raw data, or null if index is out of range.
◆ GetIndexBufferAdjacentVertices()
|
pure virtual |
Get the raw adjacent vertex data of the index buffer at a given index.
- Parameters
-
indexBufferIndex The index of the index buffer, from 0 to GetNumberOfIndexBuffers()-1.
- Returns
- A pointer to the raw data, or null if index is out of range.
◆ GetIndexBufferAdjacentIndices()
|
pure virtual |
Get the raw adjacent index data of the index buffer at a given index.
- Parameters
-
indexBufferIndex The index of the index buffer, from 0 to GetNumberOfIndexBuffers()-1.
- Returns
- A pointer to the raw data, or null if index is out of range.
◆ GetIndexBufferSegments()
|
pure virtual |
Get the raw segment data of the index buffer at a given index.
- Parameters
-
indexBufferIndex The index of the index buffer, from 0 to GetNumberOfIndexBuffers()-1.
- Returns
- A pointer to the raw data, or null if index is out of range.
◆ GetIndexBufferAccessMode()
|
pure virtual |
Get the access mode of the index buffer at a given index.
- Parameters
-
indexBufferIndex The index of the index buffer, from 0 to GetNumberOfIndexBuffers()-1.
- Returns
- The buffer access mode.
◆ GetIndexBufferIndexType()
|
pure virtual |
Get the data type of the index buffer at a given index.
- Parameters
-
indexBufferIndex The index of the index buffer, from 0 to GetNumberOfIndexBuffers()-1.
- Returns
- The data type.
◆ GetIndexBufferPrimitiveType()
|
pure virtual |
Get the primitive type of the index buffer at a given index.
- Parameters
-
indexBufferIndex The index of the index buffer, from 0 to GetNumberOfIndexBuffers()-1.
- Returns
- The primitive type.
◆ GetIndexBufferVerticesSlot()
|
pure virtual |
Get the slot of vertices used to render the index buffer at a given index.
- Parameters
-
indexBufferIndex The index of the index buffer, from 0 to GetNumberOfIndexBuffers()-1.
- Returns
- The vertices' slot.
◆ GetIndexBufferMaterialSlot()
|
pure virtual |
Get the slot index for the material used to render the index buffer at a given index.
- Parameters
-
indexBufferIndex The index of the index buffer, from 0 to GetNumberOfIndexBuffers()-1.
- Returns
- The material slot.
◆ GetIndexBufferParametersSlot()
|
pure virtual |
Get the slot index for the parameters used to render the index buffer at a given index.
- Parameters
-
indexBufferIndex The index of the index buffer, from 0 to GetNumberOfIndexBuffers()-1.
- Returns
- The parameters slot.
◆ GetIndexBufferTextureSlot()
|
pure virtual |
Get the slot index for the texture at a given unit used to render the index buffer at a given index.
- Parameters
-
indexBufferIndex The index of the index buffer, from 0 to GetNumberOfIndexBuffers()-1. unit The texture unit, in the range from 0 to IEnums::NUM_TEXTURE_UNITS.
- Returns
- The texture slot.
◆ GetNumberOfMorphBuffers()
|
pure virtual |
Get the total number of morph buffers present for a given vertex buffer.
- Parameters
-
vertexBufferIndex The index of the vertex buffer, from 0 to GetNumberOfVertexBuffers()-1.
- Returns
- The number of morph buffers present.
◆ GetNumberOfMorphBufferVertices()
|
pure virtual |
Get the number of morphed vertices for a given vertex and morph buffer.
- Parameters
-
vertexBufferIndex The index of the vertex buffer, from 0 to GetNumberOfVertexBuffers()-1. morphBufferIndex The index of the morph buffer, from 0 to GetNumberOfMorphBuffers()-1.
- Returns
- The number of morphed vertices.
◆ GetNumberOfMorphBufferAttributes()
|
pure virtual |
Get the number of morphed attributes for a given vertex and morph buffer.
- Parameters
-
vertexBufferIndex The index of the vertex buffer, from 0 to GetNumberOfVertexBuffers()-1. morphBufferIndex The index of the morph buffer, from 0 to GetNumberOfMorphBuffers()-1.
- Returns
- The number of morphed attributes.
◆ GetMorphBufferVertexData()
|
pure virtual |
Get the raw vertex morph data for a given vertex and morph buffer.
- Parameters
-
vertexBufferIndex The index of the vertex buffer, from 0 to GetNumberOfVertexBuffers()-1. morphBufferIndex The index of the morph buffer, from 0 to GetNumberOfMorphBuffers()-1.
- Returns
- A pointer to the raw data, or null if an index is out of range.
◆ GetMorphBufferIndexData()
|
pure virtual |
Get the raw index morph data for a given vertex and morph buffer.
- Parameters
-
vertexBufferIndex The index of the vertex buffer, from 0 to GetNumberOfVertexBuffers()-1. morphBufferIndex The index of the morph buffer, from 0 to GetNumberOfMorphBuffers()-1.
- Returns
- A pointer to the raw data, or null if an index is out of range.
◆ GetMorphBufferByteStride()
|
pure virtual |
Get the byte stride for a given vertex and morph buffer.
- Parameters
-
vertexBufferIndex The index of the vertex buffer, from 0 to GetNumberOfVertexBuffers()-1. morphBufferIndex The index of the morph buffer, from 0 to GetNumberOfMorphBuffers()-1.
- Returns
- The byte stride.
◆ GetMorphBufferAttributeItem()
|
pure virtual |
Get the predefined morph attribute item for a given vertex and morph buffer.
- Parameters
-
vertexBufferIndex The index of the vertex buffer, from 0 to GetNumberOfVertexBuffers()-1. morphBufferIndex The index of the morph buffer, from 0 to GetNumberOfMorphBuffers()-1. attributeIndex The index of the attribute, from 0 to GetNumberOfMorphBufferAttributes()-1.
- Returns
- The attribute item.
◆ GetMorphBufferAttributeType()
|
pure virtual |
Get the morph attribute data type for a given vertex and morph buffer.
- Parameters
-
vertexBufferIndex The index of the vertex buffer, from 0 to GetNumberOfVertexBuffers()-1. morphBufferIndex The index of the morph buffer, from 0 to GetNumberOfMorphBuffers()-1. attributeIndex The index of the attribute, from 0 to GetNumberOfMorphBufferAttributes()-1.
- Returns
- The attribute type.
◆ GetMorphBufferAttributeByteOffset()
|
pure virtual |
Get the morph attribute byte offset for a given vertex and morph buffer.
- Parameters
-
vertexBufferIndex The index of the vertex buffer, from 0 to GetNumberOfVertexBuffers()-1. morphBufferIndex The index of the morph buffer, from 0 to GetNumberOfMorphBuffers()-1. attributeIndex The index of the attribute, from 0 to GetNumberOfMorphBufferAttributes()-1.
- Returns
- The byte offset.
◆ GetMorphBufferIndexType()
|
pure virtual |
Get the index data type for a given vertex and morph buffer.
- Parameters
-
vertexBufferIndex The index of the vertex buffer, from 0 to GetNumberOfVertexBuffers()-1. morphBufferIndex The index of the morph buffer, from 0 to GetNumberOfMorphBuffers()-1.
- Returns
- The data type.
◆ GetNumberOfDeformBuffers()
|
pure virtual |
Get the total number of deform buffers present for a given vertex buffer.
- Parameters
-
vertexBufferIndex The index of the vertex buffer, from 0 to GetNumberOfVertexBuffers()-1.
- Returns
- The number of deform buffers present.
◆ GetNumberOfDeformEntries()
|
pure virtual |
Get the number of entries for a given vertex and deform buffer.
- Parameters
-
vertexBufferIndex The index of the vertex buffer, from 0 to GetNumberOfVertexBuffers()-1. deformBufferIndex The index of the deform buffer, from 0 to GetNumberOfDeformBuffers()-1.
- Returns
- The number of entries.
◆ GetNumberOfDeformBufferVertices()
|
pure virtual |
Get the number of deformed vertices for a given vertex buffer, deform buffer and deform entry.
- Parameters
-
vertexBufferIndex The index of the vertex buffer, from 0 to GetNumberOfVertexBuffers()-1. deformBufferIndex The index of the deform buffer, from 0 to GetNumberOfDeformBuffers()-1. deformEntryIndex The index of the deform entry, from 0 to GetNumberOfDeformEntries()-1.
- Returns
- The number of deformed vertices.
◆ GetNumberOfDeformBufferAttributes()
|
pure virtual |
Get the number of deformed attributes for a given vertex and deform buffer.
- Parameters
-
vertexBufferIndex The index of the vertex buffer, from 0 to GetNumberOfVertexBuffers()-1. deformBufferIndex The index of the morph buffer, from 0 to GetNumberOfDeformBuffers()-1.
- Returns
- The number of deformed attributes.
◆ GetDeformBufferVertexData()
|
pure virtual |
Get the raw vertex deform data for a given vertex buffer, deform buffer and deform entry.
- Parameters
-
vertexBufferIndex The index of the vertex buffer, from 0 to GetNumberOfVertexBuffers()-1. deformBufferIndex The index of the deform buffer, from 0 to GetNumberOfDeformBuffers()-1. deformEntryIndex The index of the deform entry, from 0 to GetNumberOfDeformEntries()-1.
- Returns
- A pointer to the raw data, or null if an index is out of range.
◆ GetDeformBufferIndexData()
|
pure virtual |
Get the raw index deform data for a given vertex buffer, deform buffer and deform entry.
- Parameters
-
vertexBufferIndex The index of the vertex buffer, from 0 to GetNumberOfVertexBuffers()-1. deformBufferIndex The index of the deform buffer, from 0 to GetNumberOfDeformBuffers()-1. deformEntryIndex The index of the deform entry, from 0 to GetNumberOfDeformEntries()-1.
- Returns
- A pointer to the raw data, or null if an index is out of range.
◆ GetDeformBufferByteStride()
|
pure virtual |
Get the byte stride for a given vertex and deform buffer.
- Parameters
-
vertexBufferIndex The index of the vertex buffer, from 0 to GetNumberOfVertexBuffers()-1. deformBufferIndex The index of the deform buffer, from 0 to GetNumberOfDeformBuffers()-1.
- Returns
- The byte stride.
◆ GetDeformBufferAttributeItem()
|
pure virtual |
Get the predefined deform attribute item for a given vertex and deform buffer.
- Parameters
-
vertexBufferIndex The index of the vertex buffer, from 0 to GetNumberOfVertexBuffers()-1. deformBufferIndex The index of the deform buffer, from 0 to GetNumberOfDeformBuffers()-1. attributeIndex The index of the attribute, from 0 to GetNumberOfDeformBufferAttributes()-1.
- Returns
- The attribute item.
◆ GetDeformBufferAttributeType()
|
pure virtual |
Get the deform attribute data type for a given vertex and deform buffer.
- Parameters
-
vertexBufferIndex The index of the vertex buffer, from 0 to GetNumberOfVertexBuffers()-1. deformBufferIndex The index of the deform buffer, from 0 to GetNumberOfDeformBuffers()-1. attributeIndex The index of the attribute, from 0 to GetNumberOfDeformBufferAttributes()-1.
- Returns
- The attribute type.
◆ GetDeformBufferAttributeByteOffset()
|
pure virtual |
Get the deform attribute byte offset for a given vertex and deform buffer.
- Parameters
-
vertexBufferIndex The index of the vertex buffer, from 0 to GetNumberOfVertexBuffers()-1. deformBufferIndex The index of the deform buffer, from 0 to GetNumberOfDeformBuffers()-1. attributeIndex The index of the attribute, from 0 to GetNumberOfDeformBufferAttributes()-1.
- Returns
- The byte offset.
◆ GetDeformBufferIndexType()
|
pure virtual |
Get the index data type for a given vertex and deform buffer.
- Parameters
-
vertexBufferIndex The index of the vertex buffer, from 0 to GetNumberOfVertexBuffers()-1. deformBufferIndex The index of the deform buffer, from 0 to GetNumberOfDeformBuffers()-1.
- Returns
- The data type.
◆ GetNumberOfCollisionSurfaces()
|
pure virtual |
Get the total number of collision surfaces present.
- Returns
- The number of collision surfaces.
◆ GetCollisionSurfaceSlot()
|
pure virtual |
Get the surface slot used for a given collision surface.
- Parameters
-
surfaceIndex The index of the surface, from 0 to GetNumberOfCollisionSurfaces()-1.
- Returns
- The surface slot.
◆ GetNumberOfBspPlanes()
|
pure virtual |
Get the number of BSP splitting planes present.
- Returns
- The number of planes.
◆ GetNumberOfBspNodes()
|
pure virtual |
Get the number of BSP nodes present.
- Returns
- The number of nodes.
◆ GetNumberOfBspLeaves()
|
pure virtual |
Get the number of BSP leaves present.
- Returns
- The number of leaves.
◆ GetNumberOfBspFaces()
|
pure virtual |
Get the number of BSP faces present.
- Returns
- The number of faces.
◆ GetNumberOfBspSegments()
|
pure virtual |
Get the number of BSP segments present.
- Returns
- The number of segments.
◆ GetNumberOfBspClusters()
|
pure virtual |
Get the number of BSP clusters present.
- Returns
- The number of clusters.
◆ GetBspClustersByteSize()
|
pure virtual |
Get the byte size of a BSP cluster.
- Returns
- The byte size.
◆ GetBspPlanes()
|
pure virtual |
Get the raw BSP splitting plane data.
- Returns
- A pointer to the raw data, or null if not present.
◆ GetBspNodes()
|
pure virtual |
Get the raw BSP node data.
- Returns
- A pointer to the raw data, or null if not present.
◆ GetBspLeaves()
|
pure virtual |
Get the raw BSP leaf data.
- Returns
- A pointer to the raw data, or null if not present.
◆ GetBspFaces()
|
pure virtual |
Get the raw BSP face data.
- Returns
- A pointer to the raw data, or null if not present.
◆ GetBspSegments()
|
pure virtual |
Get the raw BSP segment data.
- Returns
- A pointer to the raw data, or null if not present.
◆ GetBspClusters()
|
pure virtual |
Get the raw BSP cluster data.
- Returns
- A pointer to the raw data, or null if not present.
◆ GetNumberOfBoundingNodes()
|
pure virtual |
Get the number of bounding volume hierarchy nodes present.
- Returns
- The number of nodes.
◆ GetNumberOfBoundingLeaves()
|
pure virtual |
Get the number of bounding volume hierarchy leaves present.
- Returns
- The number of leaves.
◆ GetNumberOfBoundingVertices()
|
pure virtual |
Get the number of bounding volume hierarchy vertices present.
- Returns
- The number of vertices.
◆ GetBoundingVerticesByteSize()
|
pure virtual |
Get the total byte size of the bounding volume hierarchy vertices.
- Returns
- The byte size.
◆ GetBoundingNodes()
|
pure virtual |
Get the raw bounding volume hierarchy node data.
- Returns
- A pointer to the raw data, or null if not present.
◆ GetBoundingLeaves()
|
pure virtual |
Get the raw bounding volume hierarchy leaf data.
- Returns
- A pointer to the raw data, or null if not present.
◆ GetBoundingVertices()
|
pure virtual |
Get the raw bounding volume hierarchy vertex data.
- Returns
- A pointer to the raw data, or null if not present.
The documentation for this interface was generated from the following file:
- murl_resource_i_mesh.h