C# Class Axiom.Graphics.RenderTarget

A 'canvas' which can receive the results of a rendering operation.
This abstract class defines a common root to all targets of rendering operations. A render target could be a window on a screen, or another offscreen surface like a render texture.
Inheritance: IDisposable
Show file Open project: WolfgangSt/axiom Class Usage Examples

Protected Properties

Property Type Description
fsaa int
fsaaHint string
hwGamma bool

Private Properties

Property Type Description
AddViewport Axiom.Core.Viewport
AddViewport Axiom.Core.Viewport
AttachDepthBuffer bool
BeginUpdate void
CopyContentsToMemory void
CopyContentsToMemory void
DetachDepthBuffer void
EndUpdate void
FirePostUpdate void
FirePreUpdate void
FireViewportAdded void
FireViewportPostUpdate void
FireViewportPreUpdate void
FireViewportRemoved void
GetCustomAttribute object
GetMetrics void
GetStatistics void
GetViewport Axiom.Core.Viewport
GetViewportByZOrder Axiom.Core.Viewport
NotifyCameraRemoved void
RemoveAllViewports void
RemoveViewport void
RenderTarget System
RenderTarget System
ResetStatistics void
SuggestPixelFormat PixelFormat
SwapBuffers void
Update void
Update void
UpdateAutoUpdatedViewports void
UpdateImpl void
UpdateStatistics void
UpdateViewport void
UpdateViewport void
WriteContentsToFile void
WriteContentsToTimestampedFile String
_DetachDepthBuffer void
this object

Public Methods

Method Description
HasViewportWithZOrder ( int zOrder ) : bool

Checks if a viewport exists at the given ZOrder.

Protected Methods

Method Description
dispose ( bool disposeManagedResources ) : void

Class level dispose method

Private Methods

Method Description
AddViewport ( Camera camera ) : Axiom.Core.Viewport
AddViewport ( Camera camera, float left, float top, float nwidth, float nheight, int zOrder ) : Axiom.Core.Viewport
AttachDepthBuffer ( DepthBuffer ndepthBuffer ) : bool
BeginUpdate ( ) : void
CopyContentsToMemory ( PixelBox pb ) : void
CopyContentsToMemory ( PixelBox pb, FrameBuffer buffer ) : void
DetachDepthBuffer ( ) : void
EndUpdate ( ) : void
FirePostUpdate ( ) : void
FirePreUpdate ( ) : void
FireViewportAdded ( Axiom.Core.Viewport viewport ) : void
FireViewportPostUpdate ( Axiom.Core.Viewport viewport ) : void
FireViewportPreUpdate ( Axiom.Core.Viewport viewport ) : void
FireViewportRemoved ( Axiom.Core.Viewport viewport ) : void
GetCustomAttribute ( string attribute ) : object
GetMetrics ( int &nwidth, int &nheight, int &ncolorDepth ) : void
GetStatistics ( float &lastFPS, float &avgFPS, float &bestFPS, float &worstFPS ) : void
GetViewport ( int index ) : Axiom.Core.Viewport
GetViewportByZOrder ( int zOrder ) : Axiom.Core.Viewport
NotifyCameraRemoved ( Camera camera ) : void
RemoveAllViewports ( ) : void
RemoveViewport ( int zOrder ) : void
RenderTarget ( ) : System
RenderTarget ( string name ) : System
ResetStatistics ( ) : void
SuggestPixelFormat ( ) : PixelFormat
SwapBuffers ( bool waitForVSync = true ) : void
Update ( ) : void
Update ( bool swapBuffers ) : void
UpdateAutoUpdatedViewports ( bool updateStatistics = true ) : void
UpdateImpl ( ) : void
UpdateStatistics ( ) : void
UpdateViewport ( Axiom.Core.Viewport viewport, bool updateStatistics ) : void
UpdateViewport ( int zorder, bool updateStatistics ) : void
WriteContentsToFile ( string fileName ) : void
WriteContentsToTimestampedFile ( String filenamePrefix, String filenameSuffix ) : String
_DetachDepthBuffer ( ) : void
this ( string attribute ) : object

Method Details

HasViewportWithZOrder() public method

Checks if a viewport exists at the given ZOrder.
public HasViewportWithZOrder ( int zOrder ) : bool
zOrder int
return bool

dispose() protected method

Class level dispose method
protected dispose ( bool disposeManagedResources ) : void
disposeManagedResources bool True if Unmanaged resources should be released.
return void

Property Details

fsaa protected property

Flag that states whether this target is FSAA.
protected int fsaa
return int

fsaaHint protected property

protected string fsaaHint
return string

hwGamma protected property

protected bool hwGamma
return bool