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