UFO: Alien Invasion
Loading...
Searching...
No Matches
rstate_t Struct Reference

#include <r_state.h>

Collaboration diagram for rstate_t:
Collaboration graph

Data Fields

bool fullscreen
GLfloat * vertex_array_3d
GLshort * vertex_array_2d
GLfloat * color_array
GLintindex_array
GLfloat * normal_array
GLfloat * tangent_array
GLfloat * next_vertex_array_3d
GLfloat * next_normal_array
GLfloat * next_tangent_array
int array_size
gltexunit_t texunits [MAX_GL_TEXUNITS]
gltexunit_tactive_texunit
r_framebuffer_trenderBuffer
r_framebuffer_tbloomBuffer0
r_framebuffer_tbloomBuffer1
r_framebuffer_tbuffers0 [DOWNSAMPLE_PASSES]
r_framebuffer_tbuffers1 [DOWNSAMPLE_PASSES]
r_framebuffer_tbuffers2 [DOWNSAMPLE_PASSES]
bool frameBufferObjectsInitialized
const r_framebuffer_tactiveFramebuffer
r_shader_t shaders [MAX_SHADERS]
r_program_t programs [MAX_PROGRAMS]
r_program_tworld_program
r_program_tmodel_program
r_program_twarp_program
r_program_tgeoscape_program
r_program_tconvolve_program
r_program_tcombine2_program
r_program_tatmosphere_program
r_program_tsimple_glow_program
r_program_tactive_program
GLenum blend_src
GLenum blend_dest
const material_tactive_material
bool shell_enabled
bool blend_enabled
bool multisample_enabled
bool color_array_enabled
bool alpha_test_enabled
bool stencil_test_enabled
bool lighting_enabled
bool warp_enabled
bool fog_enabled
bool blur_enabled
bool glowmap_enabled
bool draw_glow_enabled
bool dynamic_lighting_enabled
bool specularmap_enabled
bool roughnessmap_enabled
bool animation_enabled
bool renderbuffer_enabled
const struct image_s * active_normalmap

Detailed Description

Definition at line 96 of file r_state.h.

Field Documentation

◆ active_material

const material_t* rstate_t::active_material

Definition at line 145 of file r_state.h.

◆ active_normalmap

const struct image_s* rstate_t::active_normalmap

Definition at line 166 of file r_state.h.

◆ active_program

r_program_t* rstate_t::active_program

Definition at line 140 of file r_state.h.

◆ active_texunit

gltexunit_t* rstate_t::active_texunit

Definition at line 117 of file r_state.h.

◆ activeFramebuffer

const r_framebuffer_t* rstate_t::activeFramebuffer

Definition at line 127 of file r_state.h.

◆ alpha_test_enabled

bool rstate_t::alpha_test_enabled

Definition at line 152 of file r_state.h.

◆ animation_enabled

bool rstate_t::animation_enabled

Definition at line 163 of file r_state.h.

◆ array_size

int rstate_t::array_size

Definition at line 111 of file r_state.h.

◆ atmosphere_program

r_program_t* rstate_t::atmosphere_program

Definition at line 138 of file r_state.h.

◆ blend_dest

GLenum rstate_t::blend_dest

Definition at line 143 of file r_state.h.

◆ blend_enabled

bool rstate_t::blend_enabled

Definition at line 149 of file r_state.h.

◆ blend_src

GLenum rstate_t::blend_src

Definition at line 143 of file r_state.h.

◆ bloomBuffer0

r_framebuffer_t* rstate_t::bloomBuffer0

Definition at line 121 of file r_state.h.

◆ bloomBuffer1

r_framebuffer_t* rstate_t::bloomBuffer1

Definition at line 122 of file r_state.h.

◆ blur_enabled

bool rstate_t::blur_enabled

Definition at line 157 of file r_state.h.

◆ buffers0

r_framebuffer_t* rstate_t::buffers0[DOWNSAMPLE_PASSES]

Definition at line 123 of file r_state.h.

◆ buffers1

r_framebuffer_t* rstate_t::buffers1[DOWNSAMPLE_PASSES]

Definition at line 124 of file r_state.h.

◆ buffers2

r_framebuffer_t* rstate_t::buffers2[DOWNSAMPLE_PASSES]

Definition at line 125 of file r_state.h.

◆ color_array

GLfloat* rstate_t::color_array

Definition at line 102 of file r_state.h.

◆ color_array_enabled

bool rstate_t::color_array_enabled

Definition at line 151 of file r_state.h.

◆ combine2_program

r_program_t* rstate_t::combine2_program

Definition at line 137 of file r_state.h.

◆ convolve_program

r_program_t* rstate_t::convolve_program

Definition at line 136 of file r_state.h.

◆ draw_glow_enabled

bool rstate_t::draw_glow_enabled

Definition at line 159 of file r_state.h.

◆ dynamic_lighting_enabled

bool rstate_t::dynamic_lighting_enabled

Definition at line 160 of file r_state.h.

◆ fog_enabled

bool rstate_t::fog_enabled

Definition at line 156 of file r_state.h.

◆ frameBufferObjectsInitialized

bool rstate_t::frameBufferObjectsInitialized

Definition at line 126 of file r_state.h.

◆ fullscreen

bool rstate_t::fullscreen

Definition at line 97 of file r_state.h.

◆ geoscape_program

r_program_t* rstate_t::geoscape_program

Definition at line 135 of file r_state.h.

◆ glowmap_enabled

bool rstate_t::glowmap_enabled

Definition at line 158 of file r_state.h.

◆ index_array

GLint* rstate_t::index_array

Definition at line 103 of file r_state.h.

◆ lighting_enabled

bool rstate_t::lighting_enabled

Definition at line 154 of file r_state.h.

◆ model_program

r_program_t* rstate_t::model_program

Definition at line 133 of file r_state.h.

◆ multisample_enabled

bool rstate_t::multisample_enabled

Definition at line 150 of file r_state.h.

◆ next_normal_array

GLfloat* rstate_t::next_normal_array

Definition at line 107 of file r_state.h.

◆ next_tangent_array

GLfloat* rstate_t::next_tangent_array

Definition at line 108 of file r_state.h.

◆ next_vertex_array_3d

GLfloat* rstate_t::next_vertex_array_3d

Definition at line 106 of file r_state.h.

◆ normal_array

GLfloat* rstate_t::normal_array

Definition at line 104 of file r_state.h.

◆ programs

r_program_t rstate_t::programs[MAX_PROGRAMS]

Definition at line 131 of file r_state.h.

◆ renderBuffer

r_framebuffer_t* rstate_t::renderBuffer

Definition at line 120 of file r_state.h.

◆ renderbuffer_enabled

bool rstate_t::renderbuffer_enabled

renderbuffer vs screen as render target

Definition at line 164 of file r_state.h.

◆ roughnessmap_enabled

bool rstate_t::roughnessmap_enabled

Definition at line 162 of file r_state.h.

◆ shaders

r_shader_t rstate_t::shaders[MAX_SHADERS]

Definition at line 130 of file r_state.h.

◆ shell_enabled

bool rstate_t::shell_enabled

Definition at line 148 of file r_state.h.

◆ simple_glow_program

r_program_t* rstate_t::simple_glow_program

Definition at line 139 of file r_state.h.

◆ specularmap_enabled

bool rstate_t::specularmap_enabled

Definition at line 161 of file r_state.h.

◆ stencil_test_enabled

bool rstate_t::stencil_test_enabled

Definition at line 153 of file r_state.h.

◆ tangent_array

GLfloat* rstate_t::tangent_array

Definition at line 105 of file r_state.h.

◆ texunits

gltexunit_t rstate_t::texunits[MAX_GL_TEXUNITS]

Definition at line 114 of file r_state.h.

◆ vertex_array_2d

GLshort* rstate_t::vertex_array_2d

Definition at line 101 of file r_state.h.

◆ vertex_array_3d

GLfloat* rstate_t::vertex_array_3d

Definition at line 100 of file r_state.h.

◆ warp_enabled

bool rstate_t::warp_enabled

Definition at line 155 of file r_state.h.

◆ warp_program

r_program_t* rstate_t::warp_program

Definition at line 134 of file r_state.h.

◆ world_program

r_program_t* rstate_t::world_program

Definition at line 132 of file r_state.h.


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