#include <ShTextureNode.hpp>
Inheritance diagram for SH::ShTextureTraits:
Public Types | |
enum | Filtering { SH_FILTER_NONE, SH_FILTER_MIPMAP } |
enum | Wrapping { SH_WRAP_CLAMP, SH_WRAP_CLAMP_TO_EDGE, SH_WRAP_REPEAT } |
enum | Clamping { SH_CLAMPED, SH_UNCLAMPED } |
Public Member Functions | |
ShTextureTraits (unsigned int interpolation, Filtering filtering, Wrapping wrapping, Clamping clamping) | |
bool | operator== (const ShTextureTraits &other) const |
bool | operator!= (const ShTextureTraits &other) const |
unsigned int | interpolation () const |
ShTextureTraits & | interpolation (unsigned int interp) |
Filtering | filtering () const |
ShTextureTraits & | filtering (Filtering filtering) |
Wrapping | wrapping () const |
ShTextureTraits & | wrapping (Wrapping wrapping) |
Clamping | clamping () const |
ShTextureTraits & | clamping (Clamping clamping) |
An enumeration of the various wrapping an clamping modes supported by textures.
Definition at line 65 of file ShTextureNode.hpp.