Property | Type | Description | |
---|---|---|---|
HWMipmaps | bool | ||
device | SlimDX.Direct3D9.Device | ||
doMipmapGen | bool | ||
fsaaSurface | SlimDX.Direct3D9.Surface | ||
mipTex | SlimDX.Direct3D9.BaseTexture | ||
sliceTRT | List |
||
surface | SlimDX.Direct3D9.Surface | ||
tempSurface | SlimDX.Direct3D9.Surface | ||
tempVolume | SlimDX.Direct3D9.Volume | ||
volume | SlimDX.Direct3D9.Volume |
Method | Description | |
---|---|---|
Bind ( SlimDX.Direct3D9 device, SlimDX.Direct3D9 surface, bool update ) : void |
Call this to associate a D3D surface with this pixel buffer
|
|
Blit ( Axiom.Graphics.HardwarePixelBuffer src, |
Copies a box from another PixelBuffer to a region of the this PixelBuffer. The source and destination regions dimensions don't have to match, in which case scaling is done. This scaling is generally done using a bilinear filter in hardware, but it is faster to pass the source image in the right dimensions. Only call this function when both buffers are unlocked. |
|
BlitFromMemory ( |
Copies a region from normal memory to a region of this pixelbuffer. The source image can be in any pixel format supported by Axiom, and in any size. The source and destination regions dimensions don't have to match, in which case scaling is done. This scaling is generally done using a bilinear filter in hardware, but it is faster to pass the source image in the right dimensions. Only call this function when both buffers are unlocked. |
|
BlitToMemory ( |
Copies a region of this pixelbuffer to normal memory. The source and destination regions don't have to match, in which case scaling is done. Only call this function when the buffer is unlocked. |
|
ClearSliceRTT ( int zoffset ) : void |
Notify TextureBuffer of destruction of render target
|
|
D3DHardwarePixelBuffer ( BufferUsage usage ) : System | ||
GenMipmaps ( ) : void |
Internal function to update mipmaps on update of level 0
|
|
GetRenderTarget ( int zoffset ) : |
Get rendertarget for z slice
|
|
GetSurface ( Device d3D9Device ) : Surface | ||
LockDeviceAccess ( ) : void | ||
SetMipmapping ( bool doMipmapGen, bool HWMipmaps, SlimDX.Direct3D9 mipTex ) : void |
Function to set mipmap generation
|
|
UnlockDeviceAccess ( ) : void |
Method | Description | |
---|---|---|
CreateRenderTextures ( bool update ) : void |
Create (or update) render textures for slices
|
|
DestroyRenderTextures ( ) : void |
Destroy render textures for slices
|
|
FromD3DLock ( |
Util functions to convert a D3D locked rectangle to a pixel box
|
|
LockImpl ( |
Lock a box
|
|
ToD3DBox ( |
Convert Axiom Box to D3D box
|
|
ToD3DBoxExtent ( |
Convert Axiom PixelBox extent to D3D box
|
|
ToD3DRectangle ( |
Convert Axiom integer Box to D3D rectangle
|
|
ToD3DRectangleExtent ( |
Convert Axiom PixelBox extent to D3D rectangle
|
|
UnlockImpl ( ) : void |
Unlock a box
|
|
dispose ( bool disposeManagedResources ) : void |
public Bind ( SlimDX.Direct3D9 device, SlimDX.Direct3D9 surface, bool update ) : void | ||
device | SlimDX.Direct3D9 | |
surface | SlimDX.Direct3D9 | |
update | bool | |
return | void |
public Blit ( Axiom.Graphics.HardwarePixelBuffer src, |
||
src | Axiom.Graphics.HardwarePixelBuffer | Source/dest pixel buffer |
srcBox | Image.BasicBox describing the source region in this buffer | |
dstBox | Image.BasicBox describing the destination region in this buffer | |
return | void |
public BlitFromMemory ( |
||
src | PixelBox containing the source pixels and format in memory | |
dstBox | Image.BasicBox describing the destination region in this buffer | |
return | void |
public BlitToMemory ( |
||
srcBox | BasicBox describing the source region of this buffer | |
dst | PixelBox describing the destination pixels and format in memory | |
return | void |
protected CreateRenderTextures ( bool update ) : void | ||
update | bool | are we updating an existing texture |
return | void |
public D3DHardwarePixelBuffer ( BufferUsage usage ) : System | ||
usage | BufferUsage | |
return | System |
protected static FromD3DLock ( |
||
rval | ||
rectangle | SlimDX | |
return | void |
public GetRenderTarget ( int zoffset ) : |
||
zoffset | int | |
return |
public GetSurface ( Device d3D9Device ) : Surface | ||
d3D9Device | Device | |
return | Surface |
protected LockImpl ( |
||
lockBox | ||
options | BufferLocking | |
return |
public SetMipmapping ( bool doMipmapGen, bool HWMipmaps, SlimDX.Direct3D9 mipTex ) : void | ||
doMipmapGen | bool | |
HWMipmaps | bool | |
mipTex | SlimDX.Direct3D9 | |
return | void |
protected static ToD3DBox ( |
||
lockBox | ||
return | SlimDX.Direct3D9.Box |
protected static ToD3DBoxExtent ( |
||
lockBox | ||
return | SlimDX.Direct3D9.Box |
protected static ToD3DRectangle ( |
||
lockBox | ||
return |
protected static ToD3DRectangleExtent ( |
||
lockBox | ||
return |
protected dispose ( bool disposeManagedResources ) : void | ||
disposeManagedResources | bool | |
return | void |
protected Surface,SlimDX.Direct3D9 fsaaSurface | ||
return | SlimDX.Direct3D9.Surface |
protected BaseTexture,SlimDX.Direct3D9 mipTex | ||
return | SlimDX.Direct3D9.BaseTexture |
protected Surface,SlimDX.Direct3D9 surface | ||
return | SlimDX.Direct3D9.Surface |
protected Surface,SlimDX.Direct3D9 tempSurface | ||
return | SlimDX.Direct3D9.Surface |
protected Volume,SlimDX.Direct3D9 tempVolume | ||
return | SlimDX.Direct3D9.Volume |