Murl::Resource::IMesh::Iff::MorphBufferChunk Struct Reference

An IFF chunk containing morphing data for a given vertex buffer. More...

#include "murl_resource_i_mesh.h"

Inheritance diagram for Murl::Resource::IMesh::Iff::MorphBufferChunk:

Public Types

enum  { FOURCC }
 IFF identifiers. More...
 

Public Attributes

UInt32 mVertexBufferIndex
 The global index of the vertex buffer this morph buffer refers to.
 
UInt32 mMorphBufferIndex
 The local (wrt. the target vertex buffer) morph buffer index.
 
UInt32 mNumberOfVertices
 The total number of vertices that get morphed.
 
UInt32 mByteStride
 The byte stride of the morph information block.
 
UInt32 mIndexType
 The type of indices, from the IEnums::IndexType enumeration.
 
UInt32 mVertexDataOffset
 An offset into the chunk where the vertex morph data is stored. See IffOffset().
 
UInt32 mIndexDataOffset
 An offset into the chunk where the affected vertex indices are stored. See IffOffset().
 

Additional Inherited Members

- Public Member Functions inherited from Murl::Util::IffChunk
template<class DataType >
DataType * IffOffset (UInt32 byteOffset) const
 Get a typed pointer from an offset relative to the chunk. More...
 
void SetFourCC (UInt32 fourCC)
 Set the chunk identifier. More...
 
UInt32 GetFourCC () const
 Get the chunk identifier. More...
 
void SetChunkSize (UInt32 size)
 Set the chunk size. More...
 
UInt32 GetChunkSize () const
 Get the chunk size. More...
 
UInt32 GetRawSize () const
 Get the chunk size minus sizeof(IffChunk). More...
 
- Protected Attributes inherited from Murl::Util::IffChunk
UInt32 mFourCC
 The FourCC chunk identifier. More...
 
UInt32 mSize
 The size of this chunk minus sizeof(IffChunk). More...
 

Detailed Description

An IFF chunk containing morphing data for a given vertex buffer.

For a single vertex buffer to be morphed, there can be any number of individual morph buffers identified by their mMorphBufferIndex.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum

IFF identifiers.

Enumerator
FOURCC 

The four character code identifying this chunk as a MorphBufferChunk.


The documentation for this struct was generated from the following file:
  • murl_resource_i_mesh.h


Copyright © 2011-2018 Spraylight GmbH.