Om  1.0.0
A universal framework for multimedia simulation
Public Member Functions | Public Attributes | List of all members
om::graphics::devices::RenderedPixelFormat Class Reference

A class that describes the attributes of a framebuffer pixel format when creating a GraphicsContext. More...

#include <omGraphicsPixelFormat.h>

Public Member Functions

 RenderedPixelFormat (Size newNumBitsPerChannel=8, Size newNumDepthBits=24, Size newNumStencilBits=0, Size newNumBitsPerAccumulationChannel=0, Size newNumAASamples=0)
 Create a pixel format object with the specified attributes. More...
 

Public Attributes

Size numBitsPerChannel
 The number of bits to use for each channel of the pixel format. More...
 
Size numDepthBits
 The number of bits to use for each pixel of the depth buffer. More...
 
Size numStencilBits
 The number of bits to use for each pixel of the stencil buffer. More...
 
Size numBitsPerAccumulationChannel
 The number of bits to use for each channel of the accumulation buffer. More...
 
Size numAASamples
 The number of anti-aliasing samples to use. More...
 

Detailed Description

A class that describes the attributes of a framebuffer pixel format when creating a GraphicsContext.

Constructor & Destructor Documentation

om::graphics::devices::RenderedPixelFormat::RenderedPixelFormat ( Size  newNumBitsPerChannel = 8,
Size  newNumDepthBits = 24,
Size  newNumStencilBits = 0,
Size  newNumBitsPerAccumulationChannel = 0,
Size  newNumAASamples = 0 
)
inline

Create a pixel format object with the specified attributes.

Member Data Documentation

Size om::graphics::devices::RenderedPixelFormat::numBitsPerChannel

The number of bits to use for each channel of the pixel format.

Size om::graphics::devices::RenderedPixelFormat::numDepthBits

The number of bits to use for each pixel of the depth buffer.

Size om::graphics::devices::RenderedPixelFormat::numStencilBits

The number of bits to use for each pixel of the stencil buffer.

Size om::graphics::devices::RenderedPixelFormat::numBitsPerAccumulationChannel

The number of bits to use for each channel of the accumulation buffer.

Size om::graphics::devices::RenderedPixelFormat::numAASamples

The number of anti-aliasing samples to use.


The documentation for this class was generated from the following file: