C# Class Reign.Video.XNA.RenderTarget

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

Méthodes publiques

Свойство Type Description
renderTarget Microsoft.Xna.Framework.Graphics.RenderTarget2D

Méthodes publiques

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

Méthodes protégées

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

Method Details

Enable() public méthode

public Enable ( ) : void
Résultat void

Enable() public méthode

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

New() public static méthode

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

New() public static méthode

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

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

RenderTarget() public méthode

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

init() protected méthode

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

Property Details

renderTarget public_oe property

public RenderTarget2D,Microsoft.Xna.Framework.Graphics renderTarget
Résultat Microsoft.Xna.Framework.Graphics.RenderTarget2D