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< Material > | m_material |
The default material assigned to the mesh by the asset. | |
Additional Inherited Members | |
![]() | |
DeviceGeometryView * | GetDeviceGeometryView (int deviceIndex) |
void | Reset () |
const DrawArguments & | GetDrawArguments () const |
void | SetDrawArguments (DrawArguments drawArguments) |
const IndexBufferView & | GetIndexBufferView () const |
void | SetIndexBufferView (IndexBufferView indexBufferView) |
const StreamBufferView & | GetStreamBufferView (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, StreamBufferView > | CreateStreamIterator (const StreamBufferIndices &indices) const |
Helper function to conveniently create a StreamIterator. | |
bool | HasDummyStreamBufferView () const |
u8 | GetDummyStreamBufferIndex () const |
StreamBufferView | GetDummyStreamBufferView () |
void | AddDummyStreamBufferView (StreamBufferView streamBufferView) |
Mesh data associated with a specific material.