Method Create
Create(int, int, RenderTextureFormat)
Creates a render-target descriptor for the requested resolution and format.
public static DataPool.RtDescriptor Create(int width, int height, RenderTextureFormat format = RenderTextureFormat.RFloat)
Parameters
widthintThe render target width in pixels.
heightintThe render target height in pixels.
formatRenderTextureFormatThe color format required by the output. The default matches Vista's common single channel height or mask textures.
Returns
- DataPool.RtDescriptor
A descriptor that can be passed to CreateRenderTarget(RtDescriptor, string, bool).