Om
1.0.0
A universal framework for multimedia simulation
|
A class that specifies parameters for how a renderable object should be rendered. More...
#include <omGraphicsRenderRequest.h>
Public Member Functions | |
RenderRequest () | |
Create a new render request with the default rendering parameters. More... | |
RenderRequest (const RenderableFlags &newFlags, const Vector2f &newViewportSize, const ViewVolume *newViewVolume=((void *) 0), const Camera *newCamera=((void *) 0)) | |
Create a new render request with the specified rendering parameters. More... | |
Public Attributes | |
RenderableFlags | requiredFlags |
An object containing the required flags that a renderable must have set to be rendered. More... | |
Vector2f | viewportSize |
The size of the viewport's area on the framebuffer in pixels. More... | |
const ViewVolume * | viewVolume |
A pointer to a view volume that should be culled against. More... | |
const Camera * | camera |
A pointer to a camera that is being rendered. More... | |
Real | lightCutoff |
The cutoff in absolute light intensity below which a light should be considered not affecting an object. More... | |
A class that specifies parameters for how a renderable object should be rendered.
|
inline |
Create a new render request with the default rendering parameters.
|
inline |
Create a new render request with the specified rendering parameters.
RenderableFlags om::graphics::shapes::RenderRequest::requiredFlags |
An object containing the required flags that a renderable must have set to be rendered.
Vector2f om::graphics::shapes::RenderRequest::viewportSize |
The size of the viewport's area on the framebuffer in pixels.
This value is used for level-of-detail determination that is based on the apparent pixel size of an object.
const ViewVolume* om::graphics::shapes::RenderRequest::viewVolume |
A pointer to a view volume that should be culled against.
If the pointer is NULL, no view volume culling is performed.
const Camera* om::graphics::shapes::RenderRequest::camera |
A pointer to a camera that is being rendered.
This value is used for level-of-detail determination that is based on the apparent pixel size of an object for a camera's viewpoint.
Real om::graphics::shapes::RenderRequest::lightCutoff |
The cutoff in absolute light intensity below which a light should be considered not affecting an object.