C# Class Reign.Video.D3D9.RenderTarget

Inheritance: Texture2D, IRenderTarget
ファイルを表示 Open project: reignstudios/ReignSDK Class Usage Examples

Public Methods

Method Description
Dispose ( ) : void
Enable ( ) : void
Enable ( IDepthStencil depthStencil ) : void
ReadPixel ( Point2 position, Color4 &color ) : bool
ReadPixels ( Color4 colors ) : void
ReadPixels ( byte data ) : void
RenderTarget ( IDisposableResource parent, System.Image image, int width, int height, bool generateMipmaps, MultiSampleTypes multiSampleType, SurfaceFormats surfaceFormat, DepthStencilFormats depthStencilFormat, RenderTargetUsage renderTargetUsage, BufferUsages usage, Loader loadedCallback ) : System
RenderTarget ( IDisposableResource parent, string filename, int width, int height, bool generateMipmaps, MultiSampleTypes multiSampleType, SurfaceFormats surfaceFormat, DepthStencilFormats depthStencilFormat, RenderTargetUsage renderTargetUsage, BufferUsages usage, Loader loadedCallback ) : System

Protected Methods

Method Description
dispose ( ) : void
init ( IDisposableResource parent, System.Image image, int width, int height, bool generateMipmaps, MultiSampleTypes multiSampleType, SurfaceFormats surfaceFormat, RenderTargetUsage renderTargetUsage, BufferUsages usage, bool isRenderTarget, bool lockable, Loader loadedCallback ) : bool

Private Methods

Method Description
disposeLocal ( ) : void
initDepthStencil ( int width, int height, DepthStencilFormats depthStencilFormat ) : void

Method Details

Dispose() public method

public Dispose ( ) : void
return void

Enable() public method

public Enable ( ) : void
return void

Enable() public method

public Enable ( IDepthStencil depthStencil ) : void
depthStencil IDepthStencil
return void

ReadPixel() public method

public ReadPixel ( Point2 position, Color4 &color ) : bool
position Point2
color Reign.Core.Color4
return bool

ReadPixels() public method

public ReadPixels ( Color4 colors ) : void
colors Reign.Core.Color4
return void

ReadPixels() public method

public ReadPixels ( byte data ) : void
data byte
return void

RenderTarget() public method

public RenderTarget ( IDisposableResource parent, System.Image image, int width, int height, bool generateMipmaps, MultiSampleTypes multiSampleType, SurfaceFormats surfaceFormat, DepthStencilFormats depthStencilFormat, RenderTargetUsage renderTargetUsage, BufferUsages usage, Loader loadedCallback ) : System
parent IDisposableResource
image System.Image
width int
height int
generateMipmaps bool
multiSampleType MultiSampleTypes
surfaceFormat SurfaceFormats
depthStencilFormat DepthStencilFormats
renderTargetUsage RenderTargetUsage
usage BufferUsages
loadedCallback Reign.Core.Loader
return System

RenderTarget() public method

public RenderTarget ( IDisposableResource parent, string filename, int width, int height, bool generateMipmaps, MultiSampleTypes multiSampleType, SurfaceFormats surfaceFormat, DepthStencilFormats depthStencilFormat, RenderTargetUsage renderTargetUsage, BufferUsages usage, Loader loadedCallback ) : System
parent IDisposableResource
filename string
width int
height int
generateMipmaps bool
multiSampleType MultiSampleTypes
surfaceFormat SurfaceFormats
depthStencilFormat DepthStencilFormats
renderTargetUsage RenderTargetUsage
usage BufferUsages
loadedCallback Reign.Core.Loader
return System

dispose() protected method

protected dispose ( ) : void
return void

init() protected method

protected init ( IDisposableResource parent, System.Image image, int width, int height, bool generateMipmaps, MultiSampleTypes multiSampleType, SurfaceFormats surfaceFormat, RenderTargetUsage renderTargetUsage, BufferUsages usage, bool isRenderTarget, bool lockable, Loader loadedCallback ) : bool
parent IDisposableResource
image System.Image
width int
height int
generateMipmaps bool
multiSampleType MultiSampleTypes
surfaceFormat SurfaceFormats
renderTargetUsage RenderTargetUsage
usage BufferUsages
isRenderTarget bool
lockable bool
loadedCallback Reign.Core.Loader
return bool