Method AllowGlobalStateModification
AllowGlobalStateModification(bool)
Allow commands in the command buffer to modify global state. This will introduce a render graph sync-point in the frame and cause all passes after this pass to never be reordered before this pass. This may nave negative impact on performance and memory use if not used carefully so it is recommended to only allow this in specific use cases. This will also set AllowPassCulling to false.
Declaration
void AllowGlobalStateModification(bool value)
Parameters
Type | Name | Description |
---|---|---|
bool | value | True to allow global state modification. |