nn::gfx::RasterizerStateInfo class

Base classes

template<class TData>
class DataContainer<RasterizerStateInfoData>

Public types

using DataType = RasterizerStateInfoData

Public static functions

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

Constructors, destructors, conversion operators

RasterizerStateInfo()

Public functions

void SetDefault()
void SetFillMode(FillMode fill)
void SetFrontFace(FrontFace face)
void SetCullMode(CullMode cull)
void SetPrimitiveTopologyType(PrimitiveTopologyType type)
void SetRasterEnabled(bool b)
void SetMultisampleEnabled(bool b)
void SetDepthClipEnabled(bool b)
void SetScissorEnabled(bool b)
void SetSlopeScaledDepthBias(float bias)
void SetDepthBias(int bias)
void SetDepthBiasClamp(float clamp)
void SetConservativeRasterizationMode(ConservativeRasterizationMode mode)
auto EditMultisampleStateInfo() -> MultisampleStateInfo&
auto GetFillMode() const -> FillMode
auto GetFrontFace() const -> FrontFace
auto GetCullMode() const -> CullMode
auto GetPrimitiveTopologyType() const -> PrimitiveTopologyType
auto IsRasterEnabled() const -> bool
auto IsMultisampleEnabled() const -> bool
auto IsDepthClipEnabled() const -> bool
auto IsScissorEnabled() const -> bool
auto GetSlopeScaledDepthBias() const -> float
auto GetDepthBias() const -> int
auto GetDepthBiasClamp() const -> float
auto GetConservativeRasterizationMode() const -> ConservativeRasterizationMode
auto GetMultisampleStateInfo() const -> const MultisampleStateInfo&
auto ToData() -> Caster<RasterizerStateInfoData>
auto ToData() const -> Caster<const RasterizerStateInfoData>
auto ToData() volatile -> Caster<volatile RasterizerStateInfoData>
auto ToData() const volatile -> Caster<const volatile RasterizerStateInfoData>

Protected types

enum Flag { Flag_RasterDisable, Flag_MultisampleEnable, Flag_DepthClipDisable, Flag_ScissorEnable }

Protected variables

Bit8 fillMode
Bit8 frontFace
Bit8 cullMode
Bit8 primitiveTopologyType
nn::util::BitPack16 flag
Bit8 conservativeRasterizationMode
char reserved2
float slopeScaledDepthBias
int32_t depthBias
float depthBiasClamp
char reserved3
MultisampleStateInfoData multisample
char reserved

Enum documentation

enum nn::gfx::RasterizerStateInfo::Flag

Typedef documentation

typedef RasterizerStateInfoData nn::gfx::RasterizerStateInfo::DataType

Function documentation

static Caster<DataContainer> nn::gfx::RasterizerStateInfo::DataToAccessor(RasterizerStateInfoData* pData)

static Caster<const DataContainer> nn::gfx::RasterizerStateInfo::DataToAccessor(const RasterizerStateInfoData* pData)

static Caster<volatile DataContainer> nn::gfx::RasterizerStateInfo::DataToAccessor(volatile RasterizerStateInfoData*)

static Caster<const volatile DataContainer> nn::gfx::RasterizerStateInfo::DataToAccessor(const volatile RasterizerStateInfoData*)

static Caster<DataContainer> nn::gfx::RasterizerStateInfo::DataToAccessor(RasterizerStateInfoData& data)

static Caster<const DataContainer> nn::gfx::RasterizerStateInfo::DataToAccessor(const RasterizerStateInfoData& data)

static Caster<volatile DataContainer> nn::gfx::RasterizerStateInfo::DataToAccessor(volatile RasterizerStateInfoData&)

static Caster<const volatile DataContainer> nn::gfx::RasterizerStateInfo::DataToAccessor(const volatile RasterizerStateInfoData&)

Caster<RasterizerStateInfoData> nn::gfx::RasterizerStateInfo::ToData()

Caster<const RasterizerStateInfoData> nn::gfx::RasterizerStateInfo::ToData() const

Caster<volatile RasterizerStateInfoData> nn::gfx::RasterizerStateInfo::ToData() volatile

Caster<const volatile RasterizerStateInfoData> nn::gfx::RasterizerStateInfo::ToData() const volatile

Variable documentation

Bit8 nn::gfx::RasterizerStateInfo::fillMode

Bit8 nn::gfx::RasterizerStateInfo::frontFace

Bit8 nn::gfx::RasterizerStateInfo::cullMode

Bit8 nn::gfx::RasterizerStateInfo::primitiveTopologyType

nn::util::BitPack16 nn::gfx::RasterizerStateInfo::flag

Bit8 nn::gfx::RasterizerStateInfo::conservativeRasterizationMode

char nn::gfx::RasterizerStateInfo::reserved2

float nn::gfx::RasterizerStateInfo::slopeScaledDepthBias

int32_t nn::gfx::RasterizerStateInfo::depthBias

float nn::gfx::RasterizerStateInfo::depthBiasClamp

char nn::gfx::RasterizerStateInfo::reserved3

MultisampleStateInfoData nn::gfx::RasterizerStateInfo::multisample

char nn::gfx::RasterizerStateInfo::reserved