Om
1.0.0
A universal framework for multimedia simulation
|
A class that specifies the boolean flags for transfering data to/from a graphics context. More...
#include <omGraphicsTransferFlags.h>
Public Types | |
enum | Flag { NONE = 0, BUFFERS = (1 << 0), TEXTURES = (1 << 1), PROGRAMS = (1 << 2), FRAMEBUFFERS = (1 << 3), ALL = (-1) } |
An enum that specifies the different transfer flags. More... | |
Public Member Functions | |
TransferFlags () | |
Create a new transfer flags object with no flags set. More... | |
TransferFlags (Flag flag) | |
Create a new transfer flags object with the specified flag value initially set. More... | |
TransferFlags (UInt32 newFlags) | |
Create a new transfer flags object with the specified initial combined flags value. More... | |
operator UInt32 () const | |
Convert this transfer flags object to an integer value. More... | |
Bool | isSet (Flag flag) const |
Return whether or not the specified flag value is set for this flags object. More... | |
void | set (Flag flag, Bool newIsSet) |
Set whether or not the specified flag value is set for this flags object. More... | |
A class that specifies the boolean flags for transfering data to/from a graphics context.
An enum that specifies the different transfer flags.
|
inline |
Create a new transfer flags object with no flags set.
|
inline |
Create a new transfer flags object with the specified flag value initially set.
|
inline |
Create a new transfer flags object with the specified initial combined flags value.
|
inline |
Convert this transfer flags object to an integer value.
This operator is provided so that the object can be used as an integer value for bitwise logical operations.
Return whether or not the specified flag value is set for this flags object.
Set whether or not the specified flag value is set for this flags object.