Interface IRenderTarget

IRenderTarget interface

The base interface of render target

public interface IRenderTarget : IDisposable

Properties

NameDescription
Size { get; set; }Gets or sets the size of the render target.
Viewports { get; }Gets all viewports that associated with this render target.

Methods

NameDescription
CreateViewport(Camera)Create a viewport in specified camera perspective.
CreateViewport(Camera, RelativeRectangle)Create a viewport with position/size in specified camera perspective.
CreateViewport(Camera, Vector3, RelativeRectangle)Create a viewport with specified background color and position/size in specified camera perspective.

See Also