Table of Contents

Interface IRenderTargetFactory

Namespace
BSGameLib.Game
Assembly
BSGameLib.Game.dll

Creates render targets, which are surfaces a frame can be drawn into and then shown or drawn from.

public interface IRenderTargetFactory

Methods

Create(in RenderTargetDescription)

Creates a render target as description describes.

IRenderTarget Create(in RenderTargetDescription description)

Parameters

description RenderTargetDescription

Returns

IRenderTarget

Create(int, int)

Creates a render target width pixels wide and height pixels high.

IRenderTarget Create(int width, int height)

Parameters

width int
height int

Returns

IRenderTarget