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

#include <DeviceGeometryView.h>

Public Member Functions

void AddIndex (u8 index)
 
u8 GetIndex (u8 position) const
 
bool operator== (const StreamBufferIndices &other) const
 
u8 Size () const
 
void Reset ()
 

Detailed Description

This container holds a list of indices into a GeometryView's stream buffer views This allows DrawItems to only the stream buffers it needs (and in the order its shader needs them) Each index is four bits, such that each u8 in this class holds two indices for better memory efficiency To iterate through stream buffer views with these indices, use the StreamIterator class below


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