RemoveCommandBuffer(LightEvent, CommandBuffer)
Remove command buffer from execution at a specified place.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前
Definition
- Type: Method
- Namespace: UnityEngine
- Assembly: UnityEngine.CoreModule
public void RemoveCommandBuffer(LightEvent evt, CommandBuffer buffer)
Parameters
When to execute the command buffer during rendering.
The buffer to execute.
Remarks
If the same buffer is added multiple times on this light event, all occurrences of it will be removed.
Important: This API is compatible only with the Built-In Render Pipeline.
Additional Resources: CommandBuffer, Light.RemoveCommandBuffers, Light.RemoveAllCommandBuffers, Light.AddCommandBuffer, Light.GetCommandBuffers.