void SetupBinary(
const void * shader_binary,
const int vtx_shader_index,
const int geo_shader_index
);
| Name | Description | |
|---|---|---|
| in | shader_binary | The shader binary linked by ctr_VertexShaderLinker32.exe. |
| in | vtx_shader_index | The index of the enabled vertex shader. |
| in | geo_shader_index | The index of the enabled geometry shader. |
Sets up information used for generating commands based on the shader binary. Note: The binary is not copied. Do not destroy the binary until the command is generated. An ASSERT results if the specified index is not a valid shader. For more information about the index to be specified, see the MAP file generated at link time by ctr_VertexShaderLinker32.exe. Geometry shaders can be disabled by specifying -1 for geo_shader_index.
CONFIDENTIAL