Method SetBuiltinShaderConstants
SetBuiltinShaderConstants(CommandBuffer)
Bind the shader constants used by the C++ builtin renderer via a command buffer. UpdateBuiltinShaderConstants
should be called before to update the constants.
This is required to maintain compatibility with legacy code and shaders.
Declaration
public static void SetBuiltinShaderConstants(CommandBuffer cmd)
Parameters
Type | Name | Description |
---|---|---|
CommandBuffer | cmd |
SetBuiltinShaderConstants(RasterCommandBuffer)
Bind the shader constants used by the C++ builtin renderer via a raster command buffer. UpdateBuiltinShaderConstants
should be called before to update the constants.
This is required to maintain compatibility with legacy code and shaders.
Declaration
public static void SetBuiltinShaderConstants(RasterCommandBuffer cmd)
Parameters
Type | Name | Description |
---|---|---|
RasterCommandBuffer | cmd |