GL Studio C++ Runtime API
GlsRenderEffect::TextureSettings Class Reference

#include <gls_render_effect.h>

Public Member Functions

 TextureSettings (unsigned char textureRepeat=1, unsigned char textureMap=TEXTURE_MAP_REPLACE, unsigned char textureMagFilter=TEXTURE_FILTER_LINEAR, unsigned char textureMinFilter=TEXTURE_FILTER_LINEAR)
 

Public Attributes

unsigned char _textureRepeat
 
unsigned char _textureMap
 
unsigned char _textureMagFilter
 
unsigned char _textureMinFilter
 

Detailed Description

The TextureSettings class is used to provide the object-level texturing settings to the effect

Constructor & Destructor Documentation

◆ TextureSettings()

TextureSettings ( unsigned char  textureRepeat = 1,
unsigned char  textureMap = TEXTURE_MAP_REPLACE,
unsigned char  textureMagFilter = TEXTURE_FILTER_LINEAR,
unsigned char  textureMinFilter = TEXTURE_FILTER_LINEAR 
)
inline

Initialize the TextureSettings object with the given values

Parameters
textureRepeatGL_TEXTURE_WRAP_* setting (0 or 1)
textureMapThe texturing map mode setting /sa TextureMap_e
textureMagFilterThe texturing magnification filter setting /sa TextureFilter_e
textureMinFilterThe texturing minification filter setting /sa TextureFilter_e

Member Data Documentation

◆ _textureMagFilter

unsigned char _textureMagFilter

The texturing magnification filter setting /sa TextureFilter_e

◆ _textureMap

unsigned char _textureMap

The texturing map mode setting /sa TextureMap_e

◆ _textureMinFilter

unsigned char _textureMinFilter

The texturing minification filter setting /sa TextureFilter_e

◆ _textureRepeat

unsigned char _textureRepeat

GL_TEXTURE_WRAP_* setting (0 or 1)


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