Om
1.0.0
A universal framework for multimedia simulation
|
A class that specifies the configuration of the fixed-function rendering pipeline. More...
#include <omGraphicsRenderMode.h>
Public Member Functions | |
RenderMode () | |
Create a new render mode with the default rendering parameters. More... | |
RenderFlags & | getFlags () |
Return a reference to an object that contains boolean parameters of the render mode. More... | |
const RenderFlags & | getFlags () const |
Return an object that contains boolean parameters of the render mode. More... | |
void | setFlags (const RenderFlags &newFlags) |
Set an object that contains boolean parameters of the render mode. More... | |
Bool | flagIsSet (RenderFlags::Flag flag) const |
Return whether or not the specified boolan render flag is set for this render mode. More... | |
void | setFlag (RenderFlags::Flag flag, Bool newIsSet=true) |
Set whether or not the specified boolan render flag is set for this render mode. More... | |
RasterMode & | getRasterMode () |
Return a reference to an object representing the raster mode for this render mode. More... | |
const RasterMode & | getRasterMode () const |
Return a reference to an object representing the raster mode for this render mode. More... | |
void | setRasterMode (const RasterMode &newRasterMode) |
Set an object representing the raster mode for this render mode. More... | |
BlendMode & | getBlendMode () |
Return a reference to an object representing the blend mode for this render mode. More... | |
const BlendMode & | getBlendMode () const |
Return a reference to an object representing the blend mode for this render mode. More... | |
void | setBlendMode (const BlendMode &newBlendMode) |
Set an object representing the blend mode for this render mode. More... | |
DepthMode & | getDepthMode () |
Return a reference to an object representing the depth mode for this render mode. More... | |
const DepthMode & | getDepthMode () const |
Return a reference to an object representing the depth mode for this render mode. More... | |
void | setDepthMode (const DepthMode &newDepthMode) |
Set an object representing the depth mode for this render mode. More... | |
StencilMode & | getStencilMode () |
Return a reference to an object representing the stencil mode for this render mode. More... | |
const StencilMode & | getStencilMode () const |
Return a reference to an object representing the stencil mode for this render mode. More... | |
void | setStencilMode (const StencilMode &newStencilMode) |
Set an object representing the stencil mode for this render mode. More... | |
Float | getLineWidth () const |
Return the width in pixels to use when rendering lines. More... | |
void | setLineWidth (Float newLineWidth) |
Set the width in pixels to use when rendering lines. More... | |
Float | getPointSize () const |
Return the size in pixels to use when rendering points. More... | |
void | setPointSize (Float newPointSize) |
Set the size in pixels to use when rendering points. More... | |
void | set (const RenderMode &other, const RenderModeMask &mask) |
Set the values in this render mode to the values from another render mode for only the masked attributes. More... | |
Bool | operator== (const RenderMode &other) const |
Return whether or not this render mode is equal to another render mode. More... | |
Bool | operator!= (const RenderMode &other) const |
Return whether or not this render mode is not equal to another render mode. More... | |
A class that specifies the configuration of the fixed-function rendering pipeline.
|
inline |
Create a new render mode with the default rendering parameters.
By default, color writing, depth writing, and the depth test are enabled by the render flags.
|
inline |
Return a reference to an object that contains boolean parameters of the render mode.
|
inline |
Return an object that contains boolean parameters of the render mode.
|
inline |
Set an object that contains boolean parameters of the render mode.
|
inline |
Return whether or not the specified boolan render flag is set for this render mode.
|
inline |
Set whether or not the specified boolan render flag is set for this render mode.
|
inline |
Return a reference to an object representing the raster mode for this render mode.
|
inline |
Return a reference to an object representing the raster mode for this render mode.
|
inline |
Set an object representing the raster mode for this render mode.
|
inline |
Return a reference to an object representing the blend mode for this render mode.
|
inline |
Return a reference to an object representing the blend mode for this render mode.
|
inline |
Set an object representing the blend mode for this render mode.
|
inline |
Return a reference to an object representing the depth mode for this render mode.
|
inline |
Return a reference to an object representing the depth mode for this render mode.
|
inline |
Set an object representing the depth mode for this render mode.
|
inline |
Return a reference to an object representing the stencil mode for this render mode.
|
inline |
Return a reference to an object representing the stencil mode for this render mode.
|
inline |
Set an object representing the stencil mode for this render mode.
|
inline |
Return the width in pixels to use when rendering lines.
|
inline |
Set the width in pixels to use when rendering lines.
|
inline |
Return the size in pixels to use when rendering points.
|
inline |
Set the size in pixels to use when rendering points.
|
inline |
Set the values in this render mode to the values from another render mode for only the masked attributes.
|
inline |
Return whether or not this render mode is equal to another render mode.
|
inline |
Return whether or not this render mode is not equal to another render mode.