Method ClearRenderTarget
ClearRenderTarget(bool, bool, Color)
Wraps ClearRenderTarget on a CommandBuffer.
Declaration
public void ClearRenderTarget(bool clearDepth, bool clearColor, Color backgroundColor)
Parameters
Type | Name | Description |
---|---|---|
bool | clearDepth | |
bool | clearColor | |
Color | backgroundColor |
Implements
ClearRenderTarget(bool, bool, Color, float)
Wraps ClearRenderTarget on a CommandBuffer.
Declaration
public void ClearRenderTarget(bool clearDepth, bool clearColor, Color backgroundColor, float depth)
Parameters
Type | Name | Description |
---|---|---|
bool | clearDepth | |
bool | clearColor | |
Color | backgroundColor | |
float | depth |
Implements
ClearRenderTarget(bool, bool, Color, float, uint)
Wraps ClearRenderTarget on a CommandBuffer.
Declaration
public void ClearRenderTarget(bool clearDepth, bool clearColor, Color backgroundColor, float depth, uint stencil)
Parameters
Type | Name | Description |
---|---|---|
bool | clearDepth | |
bool | clearColor | |
Color | backgroundColor | |
float | depth | |
uint | stencil |
Implements
ClearRenderTarget(RTClearFlags, Color, float, uint)
Wraps ClearRenderTarget on a CommandBuffer.
Declaration
public void ClearRenderTarget(RTClearFlags clearFlags, Color backgroundColor, float depth, uint stencil)
Parameters
Type | Name | Description |
---|---|---|
RTClearFlags | clearFlags | |
Color | backgroundColor | |
float | depth | |
uint | stencil |
Implements
ClearRenderTarget(RTClearFlags, Color[], float, uint)
Wraps ClearRenderTarget on a CommandBuffer.
Declaration
public void ClearRenderTarget(RTClearFlags clearFlags, Color[] backgroundColors, float depth, uint stencil)
Parameters
Type | Name | Description |
---|---|---|
RTClearFlags | clearFlags | |
Color[] | backgroundColors | |
float | depth | |
uint | stencil |