C# Class Reign.Video.Vita.RenderTarget

Inheritance: Texture2D, RenderTargetI
Show file Open project: reignstudios/ReignSDK

Public Methods

Method Description
Enable ( ) : void
Enable ( DepthStencilI depthStencil ) : void
New ( DisposableI parent, int width, int height, MultiSampleTypes multiSampleType, SurfaceFormats surfaceFormat, DepthStencilFormats depthStencilFormat, BufferUsages usage, RenderTargetUsage renderTargetUsage, Loader loadedCallback ) : RenderTarget
New ( DisposableI parent, string fileName, MultiSampleTypes multiSampleType, BufferUsages usage, RenderTargetUsage renderTargetUsage, Loader loadedCallback ) : RenderTarget
ReadPixel ( Point2 position, Color4 &color ) : bool
ReadPixels ( Color4 colors ) : void
ReadPixels ( byte data ) : void
RenderTarget ( DisposableI parent, int width, int height, MultiSampleTypes multiSampleType, SurfaceFormats surfaceFormat, DepthStencilFormats depthStencilFormat, BufferUsages usage, RenderTargetUsage renderTargetUsage, Loader loadedCallback ) : System
RenderTarget ( DisposableI parent, string fileName, MultiSampleTypes multiSampleType, BufferUsages usage, RenderTargetUsage renderTargetUsage, Loader loadedCallback ) : System

Protected Methods

Method Description
init ( DisposableI parent, string fileName, int width, int height, bool generateMipmaps, MultiSampleTypes multiSampleType, SurfaceFormats surfaceFormat, RenderTargetUsage renderTargetUsage, BufferUsages usage, bool isRenderTarget, Loader loadedCallback ) : bool

Private Methods

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

Method Details

Enable() public method

public Enable ( ) : void
return void

Enable() public method

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

New() public static method

public static New ( DisposableI parent, int width, int height, MultiSampleTypes multiSampleType, SurfaceFormats surfaceFormat, DepthStencilFormats depthStencilFormat, BufferUsages usage, RenderTargetUsage renderTargetUsage, Loader loadedCallback ) : RenderTarget
parent DisposableI
width int
height int
multiSampleType MultiSampleTypes
surfaceFormat SurfaceFormats
depthStencilFormat DepthStencilFormats
usage BufferUsages
renderTargetUsage RenderTargetUsage
loadedCallback Reign.Core.Loader
return RenderTarget

New() public static method

public static New ( DisposableI parent, string fileName, MultiSampleTypes multiSampleType, BufferUsages usage, RenderTargetUsage renderTargetUsage, Loader loadedCallback ) : RenderTarget
parent DisposableI
fileName string
multiSampleType MultiSampleTypes
usage BufferUsages
renderTargetUsage RenderTargetUsage
loadedCallback Reign.Core.Loader
return RenderTarget

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 ( DisposableI parent, int width, int height, MultiSampleTypes multiSampleType, SurfaceFormats surfaceFormat, DepthStencilFormats depthStencilFormat, BufferUsages usage, RenderTargetUsage renderTargetUsage, Loader loadedCallback ) : System
parent DisposableI
width int
height int
multiSampleType MultiSampleTypes
surfaceFormat SurfaceFormats
depthStencilFormat DepthStencilFormats
usage BufferUsages
renderTargetUsage RenderTargetUsage
loadedCallback Reign.Core.Loader
return System

RenderTarget() public method

public RenderTarget ( DisposableI parent, string fileName, MultiSampleTypes multiSampleType, BufferUsages usage, RenderTargetUsage renderTargetUsage, Loader loadedCallback ) : System
parent DisposableI
fileName string
multiSampleType MultiSampleTypes
usage BufferUsages
renderTargetUsage RenderTargetUsage
loadedCallback Reign.Core.Loader
return System

init() protected method

protected init ( DisposableI parent, string fileName, int width, int height, bool generateMipmaps, MultiSampleTypes multiSampleType, SurfaceFormats surfaceFormat, RenderTargetUsage renderTargetUsage, BufferUsages usage, bool isRenderTarget, Loader loadedCallback ) : bool
parent DisposableI
fileName string
width int
height int
generateMipmaps bool
multiSampleType MultiSampleTypes
surfaceFormat SurfaceFormats
renderTargetUsage RenderTargetUsage
usage BufferUsages
isRenderTarget bool
loadedCallback Reign.Core.Loader
return bool