Murl::Resource::IMesh::Iff::IndexBufferChunk Struct Reference

An IFF chunk containing an index buffer. More...

#include "murl_resource_i_mesh.h"

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

Public Types

enum  { FOURCC_CHUNK }
 IFF identifiers. More...
 

Public Attributes

UInt32 mBufferIndex
 The global index of the index buffer.
 
UInt32 mBufferAccessMode
 The access mode, from the IEnums::BufferAccessMode enumeration.
 
SInt32 mVerticesSlot
 The slot from which vertex data is sourced.
 
SInt32 mMaterialSlot
 The material slot used for rendering.
 
SInt32 mParametersSlot
 The parameters slot used for rendering.
 
SInt32 mTextureSlot [IEnums::NUM_TEXTURE_UNITS]
 The inidivdual texture slots used.
 
UInt32 mIndexType
 The type of indices, from the IEnums::IndexType enumeration.
 
UInt32 mPrimitiveType
 The primitive type, from the IEnums::PrimitiveType enumeration.
 
UInt32 mNumberOfIndices
 The total number of indices in this buffer.
 
UInt32 mDataOffset
 An offset into the chunk where the buffer data is 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.
 
UInt32 mSize
 The size of this chunk minus sizeof(IffChunk).
 

Detailed Description

An IFF chunk containing an index buffer.

A native mesh resource can contain multiple index buffers, each of which specifies a single batch to be rendered. Each index buffer can specify a different set of property slots for material, parameters, textures and the actually used vertex buffer group.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum

IFF identifiers.

Enumerator
FOURCC_CHUNK 

The four character code identifying this chunk as an IndexBufferChunk.


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


Copyright © 2011-2024 Spraylight GmbH.