C# Class Reign.Video.D3D9.Texture2D

Inheritance: DisposableResource, ITexture2D
Mostra file Open project: reignstudios/ReignSDK Class Usage Examples

Protected Properties

Property Type Description
video Video

Public Methods

Method 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

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
deviceLost ( ) : void
deviceReset ( ) : void

Method Details

Copy() public method

public Copy ( ITexture2D texture ) : void
texture ITexture2D
return void

Dispose() public method

public Dispose ( ) : void
return void

Texture2D() public method

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
return System

Texture2D() public method

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
return System

Update() public method

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

UpdateLoad() public method

public UpdateLoad ( ) : bool
return bool

WritePixels() public method

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

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

Property Details

video protected_oe property

protected Video video
return Video