C# Class Reign.Video.D3D11.Texture2D

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

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
init ( IDisposableResource parent, System.Image image, int width, int height, bool generateMipmaps, MultiSampleTypes multiSampleType, SurfaceFormats surfaceFormat, RenderTargetUsage renderTargetUsage, BufferUsages usage, bool isRenderTarget, Loader loadedCallback ) : bool

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

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, Loader loadedCallback ) : bool
parent IDisposableResource
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

video protected_oe property

protected Video video
Résultat Video