C# Class Axiom.RenderSystems.DirectX9.D3DTexture

Summary description for D3DTexture.
When loading a cubic texture, the image with the texture base name plus the "_rt", "_lf", "_up", "_dn", "_fr", "_bk" suffixes will automaticaly be loaded to construct it.
Inheritance: Axiom.Core.Texture
Afficher le fichier Open project: WolfgangSt/axiom Class Usage Examples

Méthodes publiques

Méthode Description
CopyToTexture ( Axiom target ) : void
D3DTexture ( ResourceManager parent, string name, System.UInt64 handle, string group, bool isManual, IManualResourceLoader loader, SlimDX.Direct3D9 device, SlimDX.Direct3D9 manager ) : System
GetBuffer ( int face, int mipmap ) : Axiom.Graphics.HardwarePixelBuffer
RecreateIfDefaultPool ( SlimDX.Direct3D9 device ) : bool
ReleaseIfDefaultPool ( ) : bool
Unload ( ) : void

Méthodes protégées

Méthode Description
createInternalResources ( ) : void
dispose ( bool disposeManagedResources ) : void

Implementation of IDisposable to determine how resources are disposed of.

freeInternalResources ( ) : void
load ( ) : void

Private Methods

Méthode Description
CanAutoGenMipMaps ( SlimDX.Direct3D9 srcUsage, SlimDX.Direct3D9 srcType, SlimDX.Direct3D9 srcFormat ) : bool
CanUseDynamicTextures ( SlimDX.Direct3D9 srcUsage, SlimDX.Direct3D9 srcType, SlimDX.Direct3D9 srcFormat ) : bool
ChooseD3DFormat ( ) : SlimDX.Direct3D9.Format
ClearSurfaceList ( ) : void
CreateCubeTexture ( ) : void
CreateNormalTexture ( ) : void
CreateSurfaceList ( ) : void
CreateVolumeTexture ( ) : void
DeterminePool ( ) : void
GetBestFilterMethod ( ) : SlimDX.Direct3D9.TextureFilter
GetSurfaceAtLevel ( int face, int mip ) : D3DHardwarePixelBuffer
InitDevice ( ) : void
LoadCubeTexture ( ) : void
LoadNormalTexture ( ) : void
LoadVolumeTexture ( ) : void
SetFinalAttributes ( int width, int height, int depth, PixelFormat format ) : void
SetSrcAttributes ( int width, int height, int depth, PixelFormat format ) : void
UseDefaultPool ( ) : bool

Method Details

CopyToTexture() public méthode

public CopyToTexture ( Axiom target ) : void
target Axiom
Résultat void

D3DTexture() public méthode

public D3DTexture ( ResourceManager parent, string name, System.UInt64 handle, string group, bool isManual, IManualResourceLoader loader, SlimDX.Direct3D9 device, SlimDX.Direct3D9 manager ) : System
parent Axiom.Core.ResourceManager
name string
handle System.UInt64
group string
isManual bool
loader IManualResourceLoader
device SlimDX.Direct3D9
manager SlimDX.Direct3D9
Résultat System

GetBuffer() public méthode

public GetBuffer ( int face, int mipmap ) : Axiom.Graphics.HardwarePixelBuffer
face int
mipmap int
Résultat Axiom.Graphics.HardwarePixelBuffer

RecreateIfDefaultPool() public méthode

public RecreateIfDefaultPool ( SlimDX.Direct3D9 device ) : bool
device SlimDX.Direct3D9
Résultat bool

ReleaseIfDefaultPool() public méthode

public ReleaseIfDefaultPool ( ) : bool
Résultat bool

Unload() public méthode

public Unload ( ) : void
Résultat void

createInternalResources() protected méthode

protected createInternalResources ( ) : void
Résultat void

dispose() protected méthode

Implementation of IDisposable to determine how resources are disposed of.
protected dispose ( bool disposeManagedResources ) : void
disposeManagedResources bool
Résultat void

freeInternalResources() protected méthode

protected freeInternalResources ( ) : void
Résultat void

load() protected méthode

protected load ( ) : void
Résultat void