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::DrawArguments Struct Reference

#include <DrawArguments.h>

Public Member Functions

 AZ_TYPE_INFO (DrawArguments, "B8127BDE-513E-4D5C-98C2-027BA1DE9E6E")
 
 DrawArguments (const DrawIndexed &indexed)
 
 DrawArguments (const DrawLinear &linear)
 
 DrawArguments (const DrawIndirect &indirect)
 
DeviceDrawArguments GetDeviceDrawArguments (int deviceIndex) const
 Returns the device-specific DeviceDrawArguments for the given index.
 

Public Attributes

DrawType m_type
 
union { 
 
   DrawIndexed   m_indexed 
 
   DrawLinear   m_linear 
 
   DrawIndirect   m_indirect 
 
};  
 

Detailed Description

A structure used to define the type of draw that should happen, directly passed on to the device-specific DrawItems in DrawItem::SetArguments


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