Om
1.0.0
A universal framework for multimedia simulation
|
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... | |
A class that describes the attributes of a framebuffer pixel format when creating a GraphicsContext.
|
inline |
Create a pixel format object with the specified attributes.
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.