Derm.Render.RenderBuffer Class Reference

Framebuffer attachable render buffer. More...

Inheritance diagram for Derm.Render.RenderBuffer:
Derm.Render.RenderObject Derm.Render.IRenderObject Derm.Render.IReferenced

List of all members.

Public Types

enum  Type {
  Color,
  Depth,
  Stencil,
  DepthStencil
}
 

Buffer type.

More...

Public Member Functions

 RenderBuffer (Type type, int glFormat)
 Construct a render buffer.
void Allocate (RenderContext ctx, int w, int h)
 Allocate this RenderBuffer.
override void Create (RenderContext ctx)
 Create this RenderBuffer.
override void Delete (RenderContext ctx)
 Delete this RenderBuffer.

Properties

Type BufferType [get]
 Render buffer type.

Detailed Description

Framebuffer attachable render buffer.


Member Enumeration Documentation

Buffer type.

Enumerator:
Color 

Color buffer.

Depth 

Depth buffer.

Stencil 

Stencil buffer.

DepthStencil 

Packed depth and stencil buffer.


Constructor & Destructor Documentation

Derm.Render.RenderBuffer.RenderBuffer ( Type  type,
int  glFormat 
)

Construct a render buffer.

Parameters:
type A RenderBuffer.Type specifying the type of the buffer. This parameter influence the framebuffer attachment, and the possible formats.
glFormat A System.Int32 specifying the internal OpenGL format for this RenderBuffer. From OpenGL 3.2 specification:

		/// Implementations are required to support the same internal formats for renderbuffers
		/// as the required formats for textures enumerated in section 3.8.1, with the exception
		/// of the color formats labelled “texture-only”. Requesting one of these internal
		/// formats for a renderbuffer will allocate at least the internal component sizes and
		/// exactly the component types shown for that format in tables 3.12- 3.13.
		/// 

Member Function Documentation

void Derm.Render.RenderBuffer.Allocate ( RenderContext  ctx,
int  w,
int  h 
)

Allocate this RenderBuffer.

Parameters:
ctx A RenderContext used for allocation.
w A System.Int32 specifying the width of the renderbuffer.
h A System.Int32 specifying the height of the renderbuffer.
override void Derm.Render.RenderBuffer.Create ( RenderContext  ctx  )  [virtual]

Create this RenderBuffer.

Parameters:
ctx 

Implements Derm.Render.RenderObject.

override void Derm.Render.RenderBuffer.Delete ( RenderContext  ctx  )  [virtual]

Delete this RenderBuffer.

Parameters:
ctx 

Implements Derm.Render.RenderObject.


Property Documentation

Type Derm.Render.RenderBuffer.BufferType [get]

Render buffer type.



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