Derm.Render.RenderFramebuffer Class Reference

Rendering framebuffer. More...

Inheritance diagram for Derm.Render.RenderFramebuffer:
Derm.Render.RenderSurface

List of all members.

Public Member Functions

 RenderFramebuffer (int w, int h)
 Constructor.
void Attach (Texture2d texture)
void Attach (RenderBuffer buffer)
override IntPtr GetDeviceContext ()
 Get the device context associated to this RenderWindow.
override void SwapSurface ()
 Swap render surface.

Protected Member Functions

override bool ValidPixelFormat (RenderContext.PixelFormat pFormat)
 Derived implementation status for passing surface pixel format.

Properties

override bool Swappable [get]
 Determine whether this surface has to be swapped.

Detailed Description

Rendering framebuffer.


Constructor & Destructor Documentation

Derm.Render.RenderFramebuffer.RenderFramebuffer ( int  w,
int  h 
)

Constructor.

Parameters:
w A System.Int32 specifing surface width (in pixels).
h A System.Int32 specifing surface height (in pixels).

Member Function Documentation

void Derm.Render.RenderFramebuffer.Attach ( Texture2d  texture  ) 
void Derm.Render.RenderFramebuffer.Attach ( RenderBuffer  buffer  ) 
override IntPtr Derm.Render.RenderFramebuffer.GetDeviceContext (  )  [virtual]

Get the device context associated to this RenderWindow.

Returns:
A IntPtr representing the device context related to this RenderWindow.

Implements Derm.Render.RenderSurface.

override void Derm.Render.RenderFramebuffer.SwapSurface (  )  [virtual]

Swap render surface.

Implements Derm.Render.RenderSurface.

override bool Derm.Render.RenderFramebuffer.ValidPixelFormat ( RenderContext.PixelFormat  pFormat  )  [protected, virtual]

Derived implementation status for passing surface pixel format.

Parameters:
pFormat A RenderContext.PixelFormat to be validated by derived implementation.
Returns:
It returns true in the case the pixel format is valid for usage in the derived implementation, otherwise it returns false.

Implements Derm.Render.RenderSurface.


Property Documentation

override bool Derm.Render.RenderFramebuffer.Swappable [get]

Determine whether this surface has to be swapped.

Reimplemented from Derm.Render.RenderSurface.



Services powered by Get Deus Ex Render Machina at SourceForge.net. Fast, secure and Free Open Source software downloads