emilib
Public Member Functions | Static Public Member Functions | Public Attributes | Friends | List of all members
gl::TexParams Struct Reference

Public Member Functions

 TexParams (TexFilter f, WrapMode w)
 
 TexParams (TexFilter f, WrapMode u, WrapMode v)
 

Static Public Member Functions

static TexParams clamped (TexFilter f=TexFilter::DontCare)
 
static TexParams repeated (TexFilter f=TexFilter::DontCare)
 
static TexParams clamped_nearest ()
 
static TexParams clamped_linear ()
 
static TexParams clamped_mipmapped ()
 
static TexParams repeated_linear ()
 
static TexParams repeated_mipmapped ()
 
static TexParams mipmapped (WrapMode u, WrapMode v)
 

Public Attributes

TexFilter filter = TexFilter::Mipmapped
 
std::pair< WrapMode, WrapMode > wrap = std::make_pair(WrapMode::Clamp, WrapMode::Clamp)
 

Friends

bool operator< (const TexParams &a, const TexParams &b)
 
bool operator== (const TexParams &a, const TexParams &b)
 

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