Murl::Resource::Mesh Class Reference
The abstract base class for a mesh resource. More...
#include "murl_resource_mesh.h"
Inheritance diagram for Murl::Resource::Mesh:
Additional Inherited Members | |
Public Types inherited from Murl::IFactoryObject< IObject > | |
using | ClassInfoArray = Array< const ClassInfo * > |
Definition of an array of ClassInfo objects. | |
Public Member Functions inherited from Murl::Resource::IObject | |
virtual Bool | CreateBinary (Data &data) const =0 |
Create a binary representation from the object. More... | |
virtual Bool | GetFileDependencies (Array< String > &fileNames) const =0 |
Fill a given string array with names of files the resource depends on. More... | |
Public Member Functions inherited from Murl::IFactoryObject< IObject > | |
~IFactoryObject () override | |
The destructor. | |
virtual const ClassInfo * | GetObjectClassInfo () const=0 |
Get the object instance's class info, if present. More... | |
virtual void | ResetObjectProperties ()=0 |
Reset the object instance's properties to their default values. | |
Public Member Functions inherited from Murl::Resource::IMesh | |
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... | |
Static Public Member Functions inherited from Murl::IFactoryObject< IObject > | |
static const PropertyInfo * | GetPropertyInfo () |
Get the class' property info struct. More... | |
static const AttributeInfo * | GetAttributeInfo () |
Get the class' attribute info struct. More... | |
static void | ResetProperties (IFactoryObject< IObject > *object) |
Reset an object instance's properties to their default values. More... | |
Detailed Description
The abstract base class for a mesh resource.
The documentation for this class was generated from the following file:
- murl_resource_mesh.h