ngfx::D3DShaderModule

Inherited by ngfx::D3DComputeShaderModule, ngfx::D3DFragmentShaderModule, ngfx::D3DVertexShaderModule

Public Functions

Name
void initFromFile(const std::string & filename)
virtual ~D3DShaderModule()
void initFromByteCode(void * bytecodeData, uint32_t bytecodeSize)
void compile(const std::string & filename)

Public Attributes

Name
D3D12_SHADER_BYTECODE d3dShaderByteCode

Public Functions Documentation

function initFromFile

void initFromFile(
    const std::string & filename
)

function ~D3DShaderModule

virtual ~D3DShaderModule()

function initFromByteCode

void initFromByteCode(
    void * bytecodeData,
    uint32_t bytecodeSize
)

function compile

void compile(
    const std::string & filename
)

Public Attributes Documentation

variable d3dShaderByteCode

D3D12_SHADER_BYTECODE d3dShaderByteCode {};

Updated on 3 April 2021 at 20:21:51 PDT