Method UseColorBuffer
UseColorBuffer(in TextureHandle, int)
Specify that the pass will use a Texture resource as a color render target. This has the same effect as WriteTexture and also automatically sets the Texture to use as a render target.
Declaration
public TextureHandle UseColorBuffer(in TextureHandle input, int index)
Parameters
Type | Name | Description |
---|---|---|
TextureHandle | input | The Texture resource to use as a color render target. |
int | index | Index for multiple render target usage. |
Returns
Type | Description |
---|---|
TextureHandle | An updated resource handle to the input resource. |