MHardwareRenderer Class Reference
#include <MHardwareRenderer.h>
Static hardware renderer interface class.
MHardwareRenderer is an interface class which wraps the hardware renderer.
|
| enum | DrawProcedureStatusCode {
kSuccess = 0,
kFailure,
kItemExists,
kItemNotFound,
kLocationNotFound
} |
| | Draw Procedure status codes. More...
|
| |
| enum | BufferPixelFormat { kRGBA_Fix8,
kRGBA_Float16,
kDepth_Float32
} |
| | Specify the pixel format of the current buffer. More...
|
| |
| enum | CallLocation { kPreRendering = 0,
kPreExposure = 1,
kPostExposure = 2,
kPostRendering = 3
} |
| | Draw Procedure call locations. More...
|
| |
| enum | GeometricShape { kDefaultSphere = 0,
kDefaultPlane,
kDefaultCube
} |
| | Default geometry shapes. More...
|
| |
Draw Procedure status codes.
| Enumerator |
|---|
| kSuccess |
Success.
|
| kFailure |
Failure.
|
| kItemExists |
Item already exists.
|
| kItemNotFound |
Item is not found.
|
| kLocationNotFound |
Location not found.
|
Specify the pixel format of the current buffer.
| Enumerator |
|---|
| kRGBA_Fix8 |
8 bit Red, Green, Blue, and Alpha channel
|
| kRGBA_Float16 |
16 bit Red, Green, Blue, and Alpha channel
|
| kDepth_Float32 |
32 bit floating point depth buffer
|
Draw Procedure call locations.
| Enumerator |
|---|
| kPreRendering |
Before rendering one frame. No model or view matrices.
|
| kPreExposure |
Before rendering one "exposure".
If multiple exposures are are required to render one frame. After the frame buffer is cleared and model and view matrices are set up for the current exposure.
|
| kPostExposure |
After rendering one "exposure".
|
| kPostRendering |
After rendering one frame. Before a possible fame buffer swap.
|
Default geometry shapes.
| Enumerator |
|---|
| kDefaultSphere |
Sphere with radius 1, centered at 0,0,0.
|
| kDefaultPlane |
Plane with width and height of 1, centered at 0,0,0.
Assuming "Y-Up" orientation: width = x-axis, and height = y-axis.
|
| kDefaultCube |
Cube with width, height and depth of 1, centered at 0,0,0.
|
The documentation for this class was generated from the following files:
- MHardwareRenderer.h
- MHardwareRenderer.cpp