Open 3D Engine Atom Gem API Reference 25.05.0
O3DE is an open-source, fully-featured, high-fidelity, modular 3D engine for building games and simulations, available to every industry.
AZ::RPI::ModelLod::Mesh Struct Referencefinal

Mesh data associated with a specific material. More...

#include <ModelLod.h>

Inherits AZ::RHI::GeometryView.

Public Attributes

StreamInfoList m_streamInfo
 
ModelMaterialSlot::StableId m_materialSlotStableId = ModelMaterialSlot::InvalidStableId
 
AZ::Name m_materialSlotName
 
Data::Instance< Materialm_material
 The default material assigned to the mesh by the asset.
 

Additional Inherited Members

- Public Member Functions inherited from AZ::RHI::GeometryView
DeviceGeometryViewGetDeviceGeometryView (int deviceIndex)
 
void Reset ()
 
const DrawArgumentsGetDrawArguments () const
 
void SetDrawArguments (DrawArguments drawArguments)
 
const IndexBufferViewGetIndexBufferView () const
 
void SetIndexBufferView (IndexBufferView indexBufferView)
 
const StreamBufferViewGetStreamBufferView (u8 idx) const
 
AZStd::vector< StreamBufferView > & GetStreamBufferViews ()
 
const AZStd::vector< StreamBufferView > & GetStreamBufferViews () const
 
void SetStreamBufferView (u8 idx, StreamBufferView streamBufferView)
 
void SetStreamBufferViews (const AZStd::vector< StreamBufferView > &streamBufferViews)
 
void AddStreamBufferView (StreamBufferView streamBufferView)
 
void ClearStreamBufferViews ()
 
StreamBufferIndices GetFullStreamBufferIndices () const
 Helper function that provides indices to all the StreamBufferViews. Useful when GeometryViews are created purposely for a single DrawItem.
 
StreamIterator< GeometryView, StreamBufferViewCreateStreamIterator (const StreamBufferIndices &indices) const
 Helper function to conveniently create a StreamIterator.
 
bool HasDummyStreamBufferView () const
 
u8 GetDummyStreamBufferIndex () const
 
StreamBufferView GetDummyStreamBufferView ()
 
void AddDummyStreamBufferView (StreamBufferView streamBufferView)
 

Detailed Description

Mesh data associated with a specific material.


The documentation for this struct was generated from the following file: