C# Class Reign.Video.D3D11.RenderTarget

Inheritance: Texture2D, IRenderTarget
Afficher le fichier Open project: reignstudios/ReignSDK

Méthodes publiques

Méthode 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

Méthodes protégées

Méthode Description
init ( IDisposableResource parent, Image image, int width, int height, bool generateMipmaps, MultiSampleTypes multiSampleType, SurfaceFormats surfaceFormat, RenderTargetUsage renderTargetUsage, BufferUsages usage, bool isRenderTarget, Loader loadedCallback ) : bool

Private Methods

Méthode Description
initDepthStencil ( int width, int height, DepthStencilFormats depthStencilFormat ) : void

Method Details

Dispose() public méthode

public Dispose ( ) : void
Résultat void

Enable() public méthode

public Enable ( ) : void
Résultat void

Enable() public méthode

public Enable ( IDepthStencil depthStencil ) : void
depthStencil IDepthStencil
Résultat void

ReadPixel() public méthode

public ReadPixel ( Point2 position, Color4 &color ) : bool
position Point2
color Reign.Core.Color4
Résultat bool

ReadPixels() public méthode

public ReadPixels ( Color4 colors ) : void
colors Reign.Core.Color4
Résultat void

ReadPixels() public méthode

public ReadPixels ( byte data ) : void
data byte
Résultat void

RenderTarget() public méthode

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
Résultat System

RenderTarget() public méthode

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 Loader
Résultat System

init() protected méthode

protected init ( IDisposableResource parent, Image image, int width, int height, bool generateMipmaps, MultiSampleTypes multiSampleType, SurfaceFormats surfaceFormat, RenderTargetUsage renderTargetUsage, BufferUsages usage, bool isRenderTarget, Loader loadedCallback ) : bool
parent IDisposableResource
image Image
width int
height int
generateMipmaps bool
multiSampleType MultiSampleTypes
surfaceFormat SurfaceFormats
renderTargetUsage RenderTargetUsage
usage BufferUsages
isRenderTarget bool
loadedCallback Loader
Résultat bool