Om
1.0.0
A universal framework for multimedia simulation
|
A class that specifies how a texture should repeat for texture coordinates outside the range (0,1). More...
#include <omGraphicsTextureWrapType.h>
Public Types | |
enum | Enum { CLAMP, REPEAT, MIRRORED_REPEAT, UNDEFINED } |
An enum type which represents the different texture wrap types. More... | |
Public Member Functions | |
TextureWrapType (Enum newType) | |
Create a new texture wrap type with the specified wrap type enum value. More... | |
operator Enum () const | |
Convert this texture wrap type to an enum value. More... | |
String | toString () const |
Return a string representation of the texture wrap type. More... | |
operator String () const | |
Convert this texture wrap type into a string representation. More... | |
A class that specifies how a texture should repeat for texture coordinates outside the range (0,1).
Textures can repeat, be clamped, or repeat in a mirrored fashion. Different wrap types are suitable for tiling textures or for textures that should not tile.
An enum type which represents the different texture wrap types.
|
inline |
Create a new texture wrap type with the specified wrap type enum value.
|
inline |
Convert this texture wrap type to an enum value.
String om::graphics::textures::TextureWrapType::toString | ( | ) | const |
Return a string representation of the texture wrap type.
|
inline |
Convert this texture wrap type into a string representation.