ShaderInfo class
Base classes
-
template<class TData>class DataContainer<ShaderInfoData>
Public types
- using DataType = ShaderInfoData
Public static functions
- static auto DataToAccessor(ShaderInfoData* pData) -> Caster<DataContainer>
- static auto DataToAccessor(const ShaderInfoData* pData) -> Caster<const DataContainer>
- static auto DataToAccessor(volatile ShaderInfoData*) -> Caster<volatile DataContainer>
- static auto DataToAccessor(const volatile ShaderInfoData*) -> Caster<const volatile DataContainer>
- static auto DataToAccessor(ShaderInfoData& data) -> Caster<DataContainer>
- static auto DataToAccessor(const ShaderInfoData& data) -> Caster<const DataContainer>
- static auto DataToAccessor(volatile ShaderInfoData&) -> Caster<volatile DataContainer>
- static auto DataToAccessor(const volatile ShaderInfoData&) -> Caster<const volatile DataContainer>
Constructors, destructors, conversion operators
Public functions
- void SetDefault()
- void SetSeparationEnabled(bool value)
- void SetCodeType(ShaderCodeType value)
- void SetSourceFormat(ShaderSourceFormat value)
- void SetBinaryFormat(int value)
- void SetShaderCodePtr(ShaderStage, const void*)
- auto IsSeparationEnabled() const -> bool
- auto GetCodeType() const -> ShaderCodeType
- auto GetBinaryFormat() const -> int
- auto GetSourceFormat() const -> ShaderSourceFormat
- auto GetShaderCodePtr(ShaderStage) const -> const void*
- auto ToData() -> Caster<ShaderInfoData>
- auto ToData() const -> Caster<const ShaderInfoData>
- auto ToData() volatile -> Caster<volatile ShaderInfoData>
- auto ToData() const volatile -> Caster<const volatile ShaderInfoData>
Protected types
- enum (anonymous) { Flag_SeparationEnable, Flag_ResShader }
Protected variables
-
nn::
util:: BitPack8 flags - Bit8 codeType
- Bit8 sourceFormat
- char reserved2
- Bit32 binaryFormat
-
detail::
Ptr<const void> pVertexShaderCode -
detail::
Ptr<const void> pHullShaderCode -
detail::
Ptr<const void> pDomainShaderCode -
detail::
Ptr<const void> pGeometryShaderCode -
detail::
Ptr<const void> pPixelShaderCode -
detail::
Ptr<const void> pComputeShaderCode - char reserved
Enum documentation
enum nn:: gfx:: ShaderInfo:: (anonymous)
#include <nn/gfx/gfx_ShaderInfoData.h>
Typedef documentation
typedef ShaderInfoData nn:: gfx:: ShaderInfo:: DataType
#include <nn/gfx/detail/gfx_DataContainer.h>
Function documentation
static Caster<DataContainer> nn:: gfx:: ShaderInfo:: DataToAccessor(ShaderInfoData* pData)
#include <nn/gfx/detail/gfx_DataContainer.h>
static Caster<const DataContainer> nn:: gfx:: ShaderInfo:: DataToAccessor(const ShaderInfoData* pData)
#include <nn/gfx/detail/gfx_DataContainer.h>
static Caster<volatile DataContainer> nn:: gfx:: ShaderInfo:: DataToAccessor(volatile ShaderInfoData*)
#include <nn/gfx/detail/gfx_DataContainer.h>
static Caster<const volatile DataContainer> nn:: gfx:: ShaderInfo:: DataToAccessor(const volatile ShaderInfoData*)
#include <nn/gfx/detail/gfx_DataContainer.h>
static Caster<DataContainer> nn:: gfx:: ShaderInfo:: DataToAccessor(ShaderInfoData& data)
#include <nn/gfx/detail/gfx_DataContainer.h>
static Caster<const DataContainer> nn:: gfx:: ShaderInfo:: DataToAccessor(const ShaderInfoData& data)
#include <nn/gfx/detail/gfx_DataContainer.h>
static Caster<volatile DataContainer> nn:: gfx:: ShaderInfo:: DataToAccessor(volatile ShaderInfoData&)
#include <nn/gfx/detail/gfx_DataContainer.h>
static Caster<const volatile DataContainer> nn:: gfx:: ShaderInfo:: DataToAccessor(const volatile ShaderInfoData&)
#include <nn/gfx/detail/gfx_DataContainer.h>
Caster<ShaderInfoData> nn:: gfx:: ShaderInfo:: ToData()
#include <nn/gfx/detail/gfx_DataContainer.h>
Caster<const ShaderInfoData> nn:: gfx:: ShaderInfo:: ToData() const
#include <nn/gfx/detail/gfx_DataContainer.h>
Caster<volatile ShaderInfoData> nn:: gfx:: ShaderInfo:: ToData() volatile
#include <nn/gfx/detail/gfx_DataContainer.h>
Caster<const volatile ShaderInfoData> nn:: gfx:: ShaderInfo:: ToData() const volatile
#include <nn/gfx/detail/gfx_DataContainer.h>
Variable documentation
nn:: util:: BitPack8 nn:: gfx:: ShaderInfo:: flags
#include <nn/gfx/gfx_ShaderInfoData.h>
Bit8 nn:: gfx:: ShaderInfo:: codeType
#include <nn/gfx/gfx_ShaderInfoData.h>
Bit8 nn:: gfx:: ShaderInfo:: sourceFormat
#include <nn/gfx/gfx_ShaderInfoData.h>
char nn:: gfx:: ShaderInfo:: reserved2
#include <nn/gfx/gfx_ShaderInfoData.h>
Bit32 nn:: gfx:: ShaderInfo:: binaryFormat
#include <nn/gfx/gfx_ShaderInfoData.h>
detail:: Ptr<const void> nn:: gfx:: ShaderInfo:: pVertexShaderCode
#include <nn/gfx/gfx_ShaderInfoData.h>
detail:: Ptr<const void> nn:: gfx:: ShaderInfo:: pHullShaderCode
#include <nn/gfx/gfx_ShaderInfoData.h>
detail:: Ptr<const void> nn:: gfx:: ShaderInfo:: pDomainShaderCode
#include <nn/gfx/gfx_ShaderInfoData.h>
detail:: Ptr<const void> nn:: gfx:: ShaderInfo:: pGeometryShaderCode
#include <nn/gfx/gfx_ShaderInfoData.h>
detail:: Ptr<const void> nn:: gfx:: ShaderInfo:: pPixelShaderCode
#include <nn/gfx/gfx_ShaderInfoData.h>
detail:: Ptr<const void> nn:: gfx:: ShaderInfo:: pComputeShaderCode
#include <nn/gfx/gfx_ShaderInfoData.h>
char nn:: gfx:: ShaderInfo:: reserved
#include <nn/gfx/gfx_ShaderInfoData.h>