Open 3D Engine Atom Gem API Reference 23.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::ClearValue Struct Reference

Represents either a depth stencil, a float vector, or a uint vector clear value. More...

#include <ClearValue.h>

Public Member Functions

 AZ_TYPE_INFO (ClearValue, "{a64f14ac-3012-4fd6-9224-4cd046eff2e2}")
 
HashValue64 GetHash (HashValue64 seed=HashValue64{ 0 }) const
 
bool operator== (const ClearValue &other) const
 

Static Public Member Functions

static void Reflect (AZ::ReflectContext *context)
 
static ClearValue CreateDepth (float depth)
 
static ClearValue CreateStencil (uint8_t stencil)
 
static ClearValue CreateDepthStencil (float depth, uint8_t stencil)
 
static ClearValue CreateVector4Float (float x, float y, float z, float w)
 
static ClearValue CreateVector4Uint (uint32_t x, uint32_t y, uint32_t z, uint32_t w)
 

Public Attributes

ClearValueType m_type
 
ClearDepthStencil m_depthStencil
 
AZStd::array< float, 4 > m_vector4Float
 
AZStd::array< uint32_t, 4 > m_vector4Uint
 

Detailed Description

Represents either a depth stencil, a float vector, or a uint vector clear value.


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