nw::demo::GraphicsDrawing::InitializeShader Member Function

Syntax

bool InitializeShader(
     os::IAllocator * allocator,
     const wchar_t * shaderPath
);

Arguments

Name Description
in allocator Allocator.
in shaderPath File path for shader binary.

Return Values

Returns true if initialized successfully and false otherwise.

Description

Initializes a shader.

nw::demo::GraphicsDrawing::InitializeShader Member Function

Syntax

bool InitializeShader(
     void * pShaderBinary,
     size_t binarySize
);

Arguments

Name Description
in pShaderBinary Pointer to the shader binary.
in binarySize Size of the shader binary.

Return Values

Returns true if initialized successfully and false otherwise.

Description

Initializes a shader.


CONFIDENTIAL