Om  1.0.0
A universal framework for multimedia simulation
Public Types | Public Member Functions | List of all members
om::graphics::base::RasterMode Class Reference

A class that specifies the way that geometry is rasterized. More...

#include <omGraphicsRasterMode.h>

Public Types

enum  Enum { POINTS, LINES, TRIANGLES }
 An enum type which represents the type of rasterization to perform. More...
 

Public Member Functions

 RasterMode (Enum newMode)
 Create a new raster mode with the specified raster mode enum value. More...
 
 operator Enum () const
 Convert this raster mode type to an enum value. More...
 
String toString () const
 Return a string representation of the raster mode. More...
 
 operator String () const
 Convert this raster mode into a string representation. More...
 

Detailed Description

A class that specifies the way that geometry is rasterized.

Member Enumeration Documentation

An enum type which represents the type of rasterization to perform.

Enumerator
POINTS 

A rasterization mode where only vertices are drawn.

LINES 

A rasterization mode where lines are used to draw the outlines of rendering primitives.

TRIANGLES 

A rasterization mode where all of the area of rendering primitives is filled.

Constructor & Destructor Documentation

om::graphics::base::RasterMode::RasterMode ( Enum  newMode)
inline

Create a new raster mode with the specified raster mode enum value.

Member Function Documentation

om::graphics::base::RasterMode::operator Enum ( ) const
inline

Convert this raster mode type to an enum value.

String om::graphics::base::RasterMode::toString ( ) const

Return a string representation of the raster mode.

om::graphics::base::RasterMode::operator String ( ) const
inline

Convert this raster mode into a string representation.


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