Method Update
Update(XRPass, CommandBuffer, bool)
Update and bind shader constants used by the C++ builtin renderer given the XRPass. For better control of setting up builtin shader constants, see UpdateBuiltinShaderConstants
and SetBuiltinShaderConstants
which do the same logic but could take in custom projection and view matricies instead.
This is required to maintain compatibility with legacy code and shaders.
Declaration
public static void Update(XRPass xrPass, CommandBuffer cmd, bool renderIntoTexture)
Parameters
Type | Name | Description |
---|---|---|
XRPass | xrPass | |
CommandBuffer | cmd | |
bool | renderIntoTexture |