Method SetRenderTargetWithLoadStoreAction
SetRenderTargetWithLoadStoreAction(CommandBuffer, RenderTargetIdentifier, RenderBufferLoadAction, RenderBufferStoreAction)
Sets the current render target using specified Render
Declaration
public static void SetRenderTargetWithLoadStoreAction(this CommandBuffer cmd, RenderTargetIdentifier rt, RenderBufferLoadAction loadAction, RenderBufferStoreAction storeAction)
Parameters
Type | Name | Description |
---|---|---|
Command |
cmd | The command buffer to set the render target on |
Render |
rt | The render target to set |
Render |
loadAction | The load action |
Render |
storeAction | The store action |
Remarks
Render
SetRenderTargetWithLoadStoreAction(CommandBuffer, RenderTargetIdentifier, RenderBufferLoadAction, RenderBufferStoreAction, RenderBufferLoadAction, RenderBufferStoreAction)
Sets the current render target using specified Render
Declaration
public static void SetRenderTargetWithLoadStoreAction(this CommandBuffer cmd, RenderTargetIdentifier rt, RenderBufferLoadAction loadAction, RenderBufferStoreAction storeAction, RenderBufferLoadAction depthLoadAction, RenderBufferStoreAction depthStoreAction)
Parameters
Type | Name | Description |
---|---|---|
Command |
cmd | The command buffer to set the render target on |
Render |
rt | The render target to set |
Render |
loadAction | The load action |
Render |
storeAction | The store action |
Render |
depthLoadAction | The load action for the depth/stencil part of rt |
Render |
depthStoreAction | The store action for the depth/stencil part of rt |
Remarks
Render
SetRenderTargetWithLoadStoreAction(CommandBuffer, RenderTargetIdentifier, RenderBufferLoadAction, RenderBufferStoreAction, RenderTargetIdentifier, RenderBufferLoadAction, RenderBufferStoreAction)
Sets the current render target and its depth using specified Render
Declaration
public static void SetRenderTargetWithLoadStoreAction(this CommandBuffer cmd, RenderTargetIdentifier color, RenderBufferLoadAction colorLoadAction, RenderBufferStoreAction colorStoreAction, RenderTargetIdentifier depth, RenderBufferLoadAction depthLoadAction, RenderBufferStoreAction depthStoreAction)
Parameters
Type | Name | Description |
---|---|---|
Command |
cmd | The command buffer to set the render target on |
Render |
color | The render target to set as color |
Render |
colorLoadAction | The load action for the color render target |
Render |
colorStoreAction | The store action for the color render target |
Render |
depth | The render target to set as depth |
Render |
depthLoadAction | The load action for the depth render target |
Render |
depthStoreAction | The store action for the depth render target |