FS2_Open
Open source remastering of the Freespace 2 engine
|
#include <gropenglstate.h>
Public Member Functions | |
opengl_texture_state () | |
~opengl_texture_state () | |
void | init (GLuint n_units) |
GLboolean | TexgenS (GLint state=-1) |
GLboolean | TexgenT (GLint state=-1) |
GLboolean | TexgenR (GLint state=-1) |
GLboolean | TexgenQ (GLint state=-1) |
void | SetTarget (GLenum tex_target) |
void | SetActiveUnit (GLuint id=0) |
void | Enable (GLuint tex_id=0) |
void | Disable () |
void | DisableUnused () |
void | DisableAll () |
void | ResetUsed () |
void | Delete (GLuint tex_id) |
GLfloat | AnisoFilter (GLfloat aniso=0.0f) |
void | SetRGBScale (GLfloat scale) |
void | SetAlphaScale (GLfloat scale) |
void | SetEnvMode (GLenum mode) |
void | SetEnvCombineMode (GLenum cmode, GLenum cfunc) |
void | SetWrapS (GLenum mode) |
void | SetWrapT (GLenum mode) |
void | SetWrapR (GLenum mode) |
void | SetTexgenModeS (GLenum mode) |
void | SetTexgenModeT (GLenum mode) |
void | SetTexgenModeR (GLenum mode) |
void | SetTexgenModeQ (GLenum mode) |
GLenum | GetTarget () |
void | SetShaderMode (GLboolean mode) |
Public Attributes | |
gr_texture_source | Current_texture_source |
Definition at line 48 of file gropenglstate.h.
|
inline |
Definition at line 61 of file gropenglstate.h.
opengl_texture_state::~opengl_texture_state | ( | ) |
Definition at line 22 of file gropenglstate.cpp.
Definition at line 304 of file gropenglstate.cpp.
Definition at line 276 of file gropenglstate.cpp.
void opengl_texture_state::Disable | ( | ) |
Definition at line 229 of file gropenglstate.cpp.
void opengl_texture_state::DisableAll | ( | ) |
Definition at line 262 of file gropenglstate.cpp.
void opengl_texture_state::DisableUnused | ( | ) |
Definition at line 252 of file gropenglstate.cpp.
Definition at line 207 of file gropenglstate.cpp.
|
inline |
Definition at line 163 of file gropenglstate.h.
Definition at line 29 of file gropenglstate.cpp.
void opengl_texture_state::ResetUsed | ( | ) |
Definition at line 245 of file gropenglstate.cpp.
Definition at line 195 of file gropenglstate.cpp.
Definition at line 103 of file gropenglstate.h.
Definition at line 117 of file gropenglstate.h.
Definition at line 109 of file gropenglstate.h.
Definition at line 97 of file gropenglstate.h.
Definition at line 168 of file gropenglstate.h.
Definition at line 179 of file gropenglstate.cpp.
Definition at line 158 of file gropenglstate.h.
Definition at line 153 of file gropenglstate.h.
Definition at line 143 of file gropenglstate.h.
Definition at line 148 of file gropenglstate.h.
Definition at line 138 of file gropenglstate.h.
Definition at line 128 of file gropenglstate.h.
Definition at line 133 of file gropenglstate.h.
Definition at line 161 of file gropenglstate.cpp.
Definition at line 143 of file gropenglstate.cpp.
Definition at line 107 of file gropenglstate.cpp.
Definition at line 125 of file gropenglstate.cpp.
gr_texture_source opengl_texture_state::Current_texture_source |
Definition at line 64 of file gropenglstate.h.