Open 3D Engine Atom Gem API Reference 25.10.0
O3DE is an open-source, fully-featured, high-fidelity, modular 3D engine for building games and simulations, available to every industry.
AZ::RHI::GeometryView Class Reference

#include <GeometryView.h>

Inherited by AZ::RPI::ModelLod::Mesh.

Public Member Functions

 GeometryView (MultiDevice::DeviceMask deviceMask)
 
DeviceGeometryViewGetDeviceGeometryView (int deviceIndex)
 
void Reset ()
 
const DrawArgumentsGetDrawArguments () const
 
void SetDrawArguments (DrawArguments drawArguments)
 
const IndexBufferView & GetIndexBufferView () const
 
void SetIndexBufferView (IndexBufferView indexBufferView)
 
const StreamBufferView & GetStreamBufferView (u8 idx) const
 
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)
 

Friends

class StreamIterator< GeometryView, StreamBufferView >
 

Detailed Description

GeometryView is a multi-device class that holds a map of device-specific GeometryView. It also holds a DrawArguments, IndexBufferView and a vector of StreamBufferViews, which if edited will set the underlying data on the device-specific GeometryView.


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