C# Class Axiom.RenderSystems.DirectX9.D3DMultiRenderTarget

Inheritance: Axiom.Graphics.MultiRenderTarget
Mostra file Open project: WolfgangSt/axiom Class Usage Examples

Protected Properties

Property Type Description
_targets Axiom.RenderSystems.DirectX9.D3DHardwarePixelBuffer[]

Private Properties

Property Type Description
CheckAndUpdate void
Update void

Public Methods

Method Description
BindSurface ( int attachment, RenderTexture target ) : void

Bind a surface to a certain attachment point.

It does not bind the surface and fails with an exception (ERR_INVALIDPARAMS) if: - Not all bound surfaces have the same size - Not all bound surfaces have the same internal format

D3DMultiRenderTarget ( string name ) : System
UnbindSurface ( int attachment ) : void

Unbind Attachment

this ( string attribute ) : object

Private Methods

Method Description
CheckAndUpdate ( ) : void
Update ( bool swapBuffers ) : void

Method Details

BindSurface() public method

Bind a surface to a certain attachment point.
It does not bind the surface and fails with an exception (ERR_INVALIDPARAMS) if: - Not all bound surfaces have the same size - Not all bound surfaces have the same internal format
public BindSurface ( int attachment, RenderTexture target ) : void
attachment int 0 .. capabilities.MultiRenderTargetCount-1
target Axiom.Graphics.RenderTexture RenderTexture to bind.
return void

D3DMultiRenderTarget() public method

public D3DMultiRenderTarget ( string name ) : System
name string
return System

UnbindSurface() public method

Unbind Attachment
public UnbindSurface ( int attachment ) : void
attachment int
return void

this() public method

public this ( string attribute ) : object
attribute string
return object

Property Details

_targets protected_oe property

protected D3DHardwarePixelBuffer[],Axiom.RenderSystems.DirectX9 _targets
return Axiom.RenderSystems.DirectX9.D3DHardwarePixelBuffer[]