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
descriptionRenderTargetDescription
Returns
Create(int, int)
Creates a render target width pixels wide and height pixels high.
IRenderTarget Create(int width, int height)