Свойство | Тип | Описание | |
---|---|---|---|
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 |
Метод | Описание | |
---|---|---|
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 |
Метод | Описание | |
---|---|---|
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 | |
Результат | 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 | |
Результат | void |
public BlitFromMemory ( |
||
src | PixelBox containing the source pixels and format in memory | |
dstBox | Image.BasicBox describing the destination region in this buffer | |
Результат | void |
public BlitToMemory ( |
||
srcBox | BasicBox describing the source region of this buffer | |
dst | PixelBox describing the destination pixels and format in memory | |
Результат | void |
public ClearSliceRTT ( int zoffset ) : void | ||
zoffset | int | |
Результат | void |
protected CreateRenderTextures ( bool update ) : void | ||
update | bool | are we updating an existing texture |
Результат | void |
public D3DHardwarePixelBuffer ( BufferUsage usage ) : System | ||
usage | BufferUsage | |
Результат | System |
protected static FromD3DLock ( |
||
rval | ||
rectangle | SlimDX | |
Результат | void |
public GetRenderTarget ( int zoffset ) : |
||
zoffset | int | |
Результат |
public GetSurface ( Device d3D9Device ) : Surface | ||
d3D9Device | Device | |
Результат | Surface |
public static LockDeviceAccess ( ) : void | ||
Результат | void |
protected LockImpl ( |
||
lockBox | ||
options | BufferLocking | |
Результат |
public SetMipmapping ( bool doMipmapGen, bool HWMipmaps, SlimDX.Direct3D9 mipTex ) : void | ||
doMipmapGen | bool | |
HWMipmaps | bool | |
mipTex | SlimDX.Direct3D9 | |
Результат | void |
protected static ToD3DBox ( |
||
lockBox | ||
Результат | SlimDX.Direct3D9.Box |
protected static ToD3DBoxExtent ( |
||
lockBox | ||
Результат | SlimDX.Direct3D9.Box |
protected static ToD3DRectangle ( |
||
lockBox | ||
Результат |
protected static ToD3DRectangleExtent ( |
||
lockBox | ||
Результат |
public static UnlockDeviceAccess ( ) : void | ||
Результат | void |
protected dispose ( bool disposeManagedResources ) : void | ||
disposeManagedResources | bool | |
Результат | void |
protected Device,SlimDX.Direct3D9 device | ||
Результат | SlimDX.Direct3D9.Device |
protected Surface,SlimDX.Direct3D9 fsaaSurface | ||
Результат | SlimDX.Direct3D9.Surface |
protected BaseTexture,SlimDX.Direct3D9 mipTex | ||
Результат | SlimDX.Direct3D9.BaseTexture |
protected Surface,SlimDX.Direct3D9 surface | ||
Результат | SlimDX.Direct3D9.Surface |
protected Surface,SlimDX.Direct3D9 tempSurface | ||
Результат | SlimDX.Direct3D9.Surface |
protected Volume,SlimDX.Direct3D9 tempVolume | ||
Результат | SlimDX.Direct3D9.Volume |