createRenderTarget
Creates a render target with the specified dimensions, content scale, and multisampling options.
Return
A new instance of RenderTarget configured with the specified parameters.
Parameters
The width of the render target in pixels.
The height of the render target in pixels.
The content scale factor, used to scale the render target resolution. Defaults to 1.0.
The multisampling configuration for the render target. Defaults to BufferMultisample.Disabled.
The session associated with this render target. Defaults to the currently active session.
Creates a render target with the specified dimensions, content scale, and multisampling options.
Return
A new instance of RenderTarget configured with the specified parameters.
Parameters
The width of the render target in pixels.
The height of the render target in pixels.
The content scale factor, used to scale the render target resolution. Defaults to 1.0.
The multisampling configuration for the render target. Defaults to BufferMultisample.Disabled.
The session associated with this render target. Defaults to the currently active session.
Creates a render target with the specified dimensions, content scale, and multisampling options.
Return
A new instance of RenderTarget configured with the specified parameters.
Parameters
The width of the render target in pixels.
The height of the render target in pixels.
The content scale factor, used to scale the render target resolution. Defaults to 1.0.
The multisampling configuration for the render target. Defaults to BufferMultisample.Disabled.
The session associated with this render target. Defaults to the currently active session.