nw::demo::GraphicsDrawing::InitializeShader Member Function
bool InitializeShader(
os::IAllocator * allocator,
const wchar_t * shaderPath
);
| Name | Description | |
|---|---|---|
| in | allocator | Allocator. |
| in | shaderPath | File path for shader binary. |
true if initialized successfully and false otherwise. Initializes a shader.
nw::demo::GraphicsDrawing::InitializeShader Member Function
bool InitializeShader(
void * pShaderBinary,
size_t binarySize
);
| Name | Description | |
|---|---|---|
| in | pShaderBinary | Pointer to the shader binary. |
| in | binarySize | Size of the shader binary. |
true if initialized successfully and false otherwise. Initializes a shader.
CONFIDENTIAL