C# Class Axiom.Graphics.RenderTexture

Custom RenderTarget that allows for rendering a scene to a texture.
Inheritance: RenderTarget
显示文件 Open project: WolfgangSt/axiom Class Usage Examples

Protected Properties

Property Type Description
pixelBuffer Axiom.Graphics.HardwarePixelBuffer
zOffset int

Public Methods

Method Description
CopyContentsToMemory ( PixelBox dst, RenderTarget buffer ) : void
RenderTexture ( Axiom.Graphics.HardwarePixelBuffer buffer, int zOffset ) : System
RenderTexture ( string name, Axiom.Graphics.HardwarePixelBuffer buffer, int zOffset ) : System
SuggestPixelFormat ( ) : PixelFormat

Protected Methods

Method Description
dispose ( bool disposeManagedResources ) : void

Ensures texture is destroyed.

Method Details

CopyContentsToMemory() public method

public CopyContentsToMemory ( PixelBox dst, RenderTarget buffer ) : void
dst Axiom.Media.PixelBox
buffer RenderTarget
return void

RenderTexture() public method

public RenderTexture ( Axiom.Graphics.HardwarePixelBuffer buffer, int zOffset ) : System
buffer Axiom.Graphics.HardwarePixelBuffer
zOffset int
return System

RenderTexture() public method

public RenderTexture ( string name, Axiom.Graphics.HardwarePixelBuffer buffer, int zOffset ) : System
name string
buffer Axiom.Graphics.HardwarePixelBuffer
zOffset int
return System

SuggestPixelFormat() public method

public SuggestPixelFormat ( ) : PixelFormat
return PixelFormat

dispose() protected method

Ensures texture is destroyed.
protected dispose ( bool disposeManagedResources ) : void
disposeManagedResources bool
return void

Property Details

pixelBuffer protected_oe property

protected HardwarePixelBuffer,Axiom.Graphics pixelBuffer
return Axiom.Graphics.HardwarePixelBuffer

zOffset protected_oe property

protected int zOffset
return int