C# Class Reign.Video.D3D9.Texture2D

Inheritance: DisposableResource, ITexture2D
Afficher le fichier Open project: reignstudios/ReignSDK Class Usage Examples

Protected Properties

Свойство Type Description
video Video

Méthodes publiques

Méthode Description
Copy ( ITexture2D texture ) : void
Dispose ( ) : void
Texture2D ( IDisposableResource parent, System.Image image, int width, int height, bool generateMipmaps, MultiSampleTypes multiSampleType, SurfaceFormats surfaceFormat, RenderTargetUsage renderTargetUsage, BufferUsages usage, Loader loadedCallback ) : System
Texture2D ( IDisposableResource parent, string filename, int width, int height, bool generateMipmaps, MultiSampleTypes multiSampleType, SurfaceFormats surfaceFormat, RenderTargetUsage renderTargetUsage, BufferUsages usage, Loader loadedCallback ) : System
Update ( byte data ) : void
UpdateLoad ( ) : bool
WritePixels ( byte data ) : void

Méthodes protégées

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

Méthode Description
deviceLost ( ) : void
deviceReset ( ) : void

Method Details

Copy() public méthode

public Copy ( ITexture2D texture ) : void
texture ITexture2D
Résultat void

Dispose() public méthode

public Dispose ( ) : void
Résultat void

Texture2D() public méthode

public Texture2D ( IDisposableResource parent, System.Image image, int width, int height, bool generateMipmaps, MultiSampleTypes multiSampleType, SurfaceFormats surfaceFormat, RenderTargetUsage renderTargetUsage, BufferUsages usage, Loader loadedCallback ) : System
parent IDisposableResource
image System.Image
width int
height int
generateMipmaps bool
multiSampleType MultiSampleTypes
surfaceFormat SurfaceFormats
renderTargetUsage RenderTargetUsage
usage BufferUsages
loadedCallback Reign.Core.Loader
Résultat System

Texture2D() public méthode

public Texture2D ( IDisposableResource parent, string filename, int width, int height, bool generateMipmaps, MultiSampleTypes multiSampleType, SurfaceFormats surfaceFormat, RenderTargetUsage renderTargetUsage, BufferUsages usage, Loader loadedCallback ) : System
parent IDisposableResource
filename string
width int
height int
generateMipmaps bool
multiSampleType MultiSampleTypes
surfaceFormat SurfaceFormats
renderTargetUsage RenderTargetUsage
usage BufferUsages
loadedCallback Reign.Core.Loader
Résultat System

Update() public méthode

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

UpdateLoad() public méthode

public UpdateLoad ( ) : bool
Résultat bool

WritePixels() public méthode

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

dispose() protected méthode

protected dispose ( ) : void
Résultat void

init() protected méthode

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

Property Details

video protected_oe property

protected Video video
Résultat Video