메소드 | 설명 | |
---|---|---|
CopyToTexture ( Axiom target ) : void | ||
GetBuffer ( int face, int mipmap ) : Axiom.Graphics.HardwarePixelBuffer |
Return hardware pixel buffer for a surface. This buffer can then be used to copy data from and to a particular level of the texture. The buffer is invalidated when the resource is unloaded or destroyed. Do not use it after the lifetime of the containing texture. |
|
Unload ( ) : void | ||
XnaTexture ( ResourceManager parent, string name, System.UInt64 handle, string group, bool isManual, IManualResourceLoader loader, Microsoft.Xna.Framework.Graphics device ) : System |
|
메소드 | 설명 | |
---|---|---|
createInternalResources ( ) : void | ||
dispose ( bool disposeManagedResources ) : void |
Implementation of IDisposable to determine how resources are disposed of.
|
|
freeInternalResources ( ) : void | ||
load ( ) : void |
메소드 | 설명 | |
---|---|---|
ChooseXnaFormat ( ) : Microsoft.Xna.Framework.Graphics.SurfaceFormat | ||
ClearSurfaceList ( ) : void | ||
ConstructCubeFaceNames ( string name ) : void | ||
CreateCubeTexture ( ) : void |
|
|
CreateDepthStencil ( ) : void |
Depth Stencil buffers are actually created whenever a RenderTarget is created. This method is used as a layover from xna 3.1
|
|
CreateNormalTexture ( ) : void | ||
CreateSurfaceList ( ) : void | ||
GetSurfaceAtLevel ( int face, int mip ) : |
||
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 |
|
public GetBuffer ( int face, int mipmap ) : Axiom.Graphics.HardwarePixelBuffer | ||
face | int | /// Face number, in case of a cubemap texture. Must be 0 /// for other types of textures. /// For cubemaps, this is one of /// +X (0), -X (1), +Y (2), -Y (3), +Z (4), -Z (5) /// |
mipmap | int | /// Mipmap level. This goes from 0 for the first, largest /// mipmap level to getNumMipmaps()-1 for the smallest. /// |
리턴 | Axiom.Graphics.HardwarePixelBuffer |
public XnaTexture ( ResourceManager parent, string name, System.UInt64 handle, string group, bool isManual, IManualResourceLoader loader, Microsoft.Xna.Framework.Graphics device ) : System | ||
parent | ResourceManager | |
name | string | |
handle | System.UInt64 | |
group | string | |
isManual | bool | |
loader | IManualResourceLoader | |
device | Microsoft.Xna.Framework.Graphics | |
리턴 | System |
protected dispose ( bool disposeManagedResources ) : void | ||
disposeManagedResources | bool | |
리턴 | void |