IRenderTarget

IRenderTarget interface

The base interface of render target

public interface IRenderTarget : IDisposable

Properties

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

Methods

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

See Also