YourGameLib
Loading...
Searching...
No Matches
Public Attributes | List of all members
yourgame::gl::TextureConfig Struct Reference

#include <loading.h>

Public Attributes

GLenum unit = gl::textureUnitDiffuse
 
GLint minMagFilter = GL_LINEAR
 
GLint wrapMode = GL_REPEAT
 
bool generateMipmap = false
 
bool premultiplyAlpha = true
 
std::vector< std::pair< GLenum, GLint > > parameteri = {}
 

Member Data Documentation

◆ generateMipmap

bool yourgame::gl::TextureConfig::generateMipmap = false

◆ minMagFilter

GLint yourgame::gl::TextureConfig::minMagFilter = GL_LINEAR

◆ parameteri

std::vector<std::pair<GLenum, GLint> > yourgame::gl::TextureConfig::parameteri = {}

◆ premultiplyAlpha

bool yourgame::gl::TextureConfig::premultiplyAlpha = true

◆ unit

GLenum yourgame::gl::TextureConfig::unit = gl::textureUnitDiffuse

◆ wrapMode

GLint yourgame::gl::TextureConfig::wrapMode = GL_REPEAT

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