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
Mostra file Open project: WolfgangSt/axiom Class Usage Examples

Public Methods

Method 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

Protected Methods

Method Description
createInternalResources ( ) : void
dispose ( bool disposeManagedResources ) : void

Implementation of IDisposable to determine how resources are disposed of.

freeInternalResources ( ) : void
load ( ) : void

Private Methods

Method 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 method

public CopyToTexture ( Axiom target ) : void
target Axiom
return void

D3DTexture() public method

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

GetBuffer() public method

public GetBuffer ( int face, int mipmap ) : Axiom.Graphics.HardwarePixelBuffer
face int
mipmap int
return Axiom.Graphics.HardwarePixelBuffer

RecreateIfDefaultPool() public method

public RecreateIfDefaultPool ( SlimDX.Direct3D9 device ) : bool
device SlimDX.Direct3D9
return bool

ReleaseIfDefaultPool() public method

public ReleaseIfDefaultPool ( ) : bool
return bool

Unload() public method

public Unload ( ) : void
return void

createInternalResources() protected method

protected createInternalResources ( ) : void
return void

dispose() protected method

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

freeInternalResources() protected method

protected freeInternalResources ( ) : void
return void

load() protected method

protected load ( ) : void
return void