nn::gfx::DepthStencilStateInfo class

Base classes

template<class TData>
class DataContainer<DepthStencilStateInfoData>

Public types

using DataType = DepthStencilStateInfoData

Public static functions

static auto DataToAccessor(DepthStencilStateInfoData* pData) -> Caster<DataContainer>
static auto DataToAccessor(const DepthStencilStateInfoData* pData) -> Caster<const DataContainer>
static auto DataToAccessor(volatile DepthStencilStateInfoData*) -> Caster<volatile DataContainer>
static auto DataToAccessor(const volatile DepthStencilStateInfoData*) -> Caster<const volatile DataContainer>
static auto DataToAccessor(DepthStencilStateInfoData& data) -> Caster<DataContainer>
static auto DataToAccessor(const DepthStencilStateInfoData& data) -> Caster<const DataContainer>
static auto DataToAccessor(volatile DepthStencilStateInfoData&) -> Caster<volatile DataContainer>
static auto DataToAccessor(const volatile DepthStencilStateInfoData&) -> Caster<const volatile DataContainer>

Constructors, destructors, conversion operators

DepthStencilStateInfo()

Public functions

void SetDefault()
void SetDepthComparisonFunction(ComparisonFunction function)
void SetDepthTestEnabled(bool b)
void SetDepthWriteEnabled(bool b)
void SetStencilTestEnabled(bool b)
void SetDepthBoundsTestEnabled(bool b)
void SetStencilReadMask(int mask)
void SetStencilWriteMask(int mask)
auto EditFrontStencilStateInfo() -> StencilStateInfo&
auto EditBackStencilStateInfo() -> StencilStateInfo&
auto GetDepthComparisonFunction() const -> ComparisonFunction
auto IsDepthTestEnabled() const -> bool
auto IsDepthWriteEnabled() const -> bool
auto IsStencilTestEnabled() const -> bool
auto IsDepthBoundsTestEnabled() const -> bool
auto GetStencilReadMask() const -> int
auto GetStencilWriteMask() const -> int
auto GetFrontStencilStateInfo() const -> const StencilStateInfo&
auto GetBackStencilStateInfo() const -> const StencilStateInfo&
auto ToData() -> Caster<DepthStencilStateInfoData>
auto ToData() const -> Caster<const DepthStencilStateInfoData>
auto ToData() volatile -> Caster<volatile DepthStencilStateInfoData>
auto ToData() const volatile -> Caster<const volatile DepthStencilStateInfoData>

Protected types

enum Flag { Flag_DepthTestEnable, Flag_DepthWriteEnable, Flag_StencilTestEnable, Flag_DepthBoundsTestEnable }

Protected variables

Bit8 depthComparisonFunction
uint8_t stencilReadMask
uint8_t stencilWriteMask
char reserved2
nn::util::BitPack16 flag
char reserved3
StencilStateInfoData frontStencil
StencilStateInfoData backStencil
char reserved

Enum documentation

enum nn::gfx::DepthStencilStateInfo::Flag

Typedef documentation

typedef DepthStencilStateInfoData nn::gfx::DepthStencilStateInfo::DataType

Function documentation

static Caster<DataContainer> nn::gfx::DepthStencilStateInfo::DataToAccessor(DepthStencilStateInfoData* pData)

static Caster<const DataContainer> nn::gfx::DepthStencilStateInfo::DataToAccessor(const DepthStencilStateInfoData* pData)

static Caster<volatile DataContainer> nn::gfx::DepthStencilStateInfo::DataToAccessor(volatile DepthStencilStateInfoData*)

static Caster<const volatile DataContainer> nn::gfx::DepthStencilStateInfo::DataToAccessor(const volatile DepthStencilStateInfoData*)

static Caster<DataContainer> nn::gfx::DepthStencilStateInfo::DataToAccessor(DepthStencilStateInfoData& data)

static Caster<const DataContainer> nn::gfx::DepthStencilStateInfo::DataToAccessor(const DepthStencilStateInfoData& data)

static Caster<volatile DataContainer> nn::gfx::DepthStencilStateInfo::DataToAccessor(volatile DepthStencilStateInfoData&)

static Caster<const volatile DataContainer> nn::gfx::DepthStencilStateInfo::DataToAccessor(const volatile DepthStencilStateInfoData&)

Caster<DepthStencilStateInfoData> nn::gfx::DepthStencilStateInfo::ToData()

Caster<const DepthStencilStateInfoData> nn::gfx::DepthStencilStateInfo::ToData() const

Caster<volatile DepthStencilStateInfoData> nn::gfx::DepthStencilStateInfo::ToData() volatile

Caster<const volatile DepthStencilStateInfoData> nn::gfx::DepthStencilStateInfo::ToData() const volatile

Variable documentation

Bit8 nn::gfx::DepthStencilStateInfo::depthComparisonFunction

uint8_t nn::gfx::DepthStencilStateInfo::stencilReadMask

uint8_t nn::gfx::DepthStencilStateInfo::stencilWriteMask

char nn::gfx::DepthStencilStateInfo::reserved2

nn::util::BitPack16 nn::gfx::DepthStencilStateInfo::flag

char nn::gfx::DepthStencilStateInfo::reserved3

StencilStateInfoData nn::gfx::DepthStencilStateInfo::frontStencil

StencilStateInfoData nn::gfx::DepthStencilStateInfo::backStencil

char nn::gfx::DepthStencilStateInfo::reserved