C# Class Fusion.Engine.Graphics.TargetPool

Mostra file Open project: demiurghg/FusionEngine

Public Methods

Method Description
AllocDS ( int width, int height ) : DepthStencil2D
AllocRT ( int width, int height, bool hdr, bool uav, bool mips ) : RenderTarget2D
Free ( DepthStencil2D target ) : void
Free ( RenderTarget2D target ) : void

Private Methods

Method Description
Encode ( int width, int height, bool hdr, bool uav, bool mips ) : int

Method Details

AllocDS() public method

public AllocDS ( int width, int height ) : DepthStencil2D
width int
height int
return DepthStencil2D

AllocRT() public method

public AllocRT ( int width, int height, bool hdr, bool uav, bool mips ) : RenderTarget2D
width int
height int
hdr bool
uav bool
mips bool
return RenderTarget2D

Free() public method

public Free ( DepthStencil2D target ) : void
target DepthStencil2D
return void

Free() public method

public Free ( RenderTarget2D target ) : void
target RenderTarget2D
return void