Texture.asRenderTarget - multiple declarations
Function Texture.asRenderTarget
Make a ColorTargetState
given this texture's TextureFormat
and a constant blending mode.
Parameters
Name | Description |
---|---|
blend | A constant blending mode. |
writeMask | Mask which enables/disables writes to different color/alpha channel. See ColorWriteMask . |
Returns
A result suitable for use as a pipeline's fragment stage. See RenderPipeline
.
Function Texture.asRenderTarget
Make a ColorTargetState
given this texture's TextureFormat
and a custom blending mode.
Parameters
Name | Description |
---|---|
blend | A custom blending mode. |
writeMask | Mask which enables/disables writes to different color/alpha channel. See ColorWriteMask . |
Returns
A result suitable for use as a pipeline's fragment stage. See RenderPipeline
.