rstate_t Struct Reference

#include <r_state.h>

Collaboration diagram for rstate_t:
Collaboration graph
[legend]

Data Fields

qboolean fullscreen
GLfloat vertex_array_3d [MAX_GL_ARRAY_LENGTH *3]
GLshort vertex_array_2d [MAX_GL_ARRAY_LENGTH *2]
GLfloat color_array [MAX_GL_ARRAY_LENGTH *4]
GLfloat normal_array [MAX_GL_ARRAY_LENGTH *3]
GLfloat tangent_array [MAX_GL_ARRAY_LENGTH *4]
GLfloat next_vertex_array_3d [MAX_GL_ARRAY_LENGTH *3]
GLfloat next_normal_array [MAX_GL_ARRAY_LENGTH *3]
GLfloat next_tangent_array [MAX_GL_ARRAY_LENGTH *4]
gltexunit_t texunits [MAX_GL_TEXUNITS]
gltexunit_tactive_texunit
r_light_t dynamicLights [MAX_DYNAMIC_LIGHTS]
int numActiveLights
r_framebuffer_trenderBuffer
r_framebuffer_tbloomBuffer0
r_framebuffer_tbloomBuffer1
r_framebuffer_tbuffers0 [DOWNSAMPLE_PASSES]
r_framebuffer_tbuffers1 [DOWNSAMPLE_PASSES]
r_framebuffer_tbuffers2 [DOWNSAMPLE_PASSES]
qboolean frameBufferObjectsInitialized
const r_framebuffer_tactiveFramebuffer
r_shader_t shaders [MAX_SHADERS]
r_program_t programs [MAX_PROGRAMS]
r_program_tworld_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
qboolean shell_enabled
qboolean blend_enabled
qboolean color_array_enabled
qboolean alpha_test_enabled
qboolean lighting_enabled
qboolean bumpmap_enabled
qboolean warp_enabled
qboolean fog_enabled
qboolean blur_enabled
qboolean glowmap_enabled
qboolean draw_glow_enabled
qboolean dynamic_lighting_enabled
qboolean specularmap_enabled
qboolean roughnessmap_enabled
qboolean animation_enabled
qboolean renderbuffer_enabled

Detailed Description

Definition at line 75 of file r_state.h.


Field Documentation

Definition at line 124 of file r_state.h.

Referenced by R_UseMaterial().

Definition at line 92 of file r_state.h.

Referenced by R_BindDefaultArray(), R_BindTexture_(), R_SelectTexture(), and R_TexEnv().

Definition at line 107 of file r_state.h.

Referenced by R_BindColorAttachments(), R_InitFBObjects(), and R_UseFramebuffer().

Definition at line 130 of file r_state.h.

Referenced by R_EnableAlphaTest().

Definition at line 141 of file r_state.h.

Referenced by R_EnableAnimation().

Definition at line 117 of file r_state.h.

Referenced by R_Draw3DGlobe(), and R_InitPrograms().

Definition at line 122 of file r_state.h.

Referenced by R_BlendFunc().

Definition at line 122 of file r_state.h.

Referenced by R_BlendFunc().

Definition at line 101 of file r_state.h.

Definition at line 102 of file r_state.h.

Definition at line 135 of file r_state.h.

Referenced by R_EnableBlur().

r_framebuffer_t* rstate_t::buffers0[DOWNSAMPLE_PASSES]

Definition at line 103 of file r_state.h.

Referenced by R_DrawBloom(), and R_InitFBObjects().

r_framebuffer_t* rstate_t::buffers1[DOWNSAMPLE_PASSES]

Definition at line 104 of file r_state.h.

Referenced by R_DrawBloom(), and R_InitFBObjects().

r_framebuffer_t* rstate_t::buffers2[DOWNSAMPLE_PASSES]

Definition at line 105 of file r_state.h.

Referenced by R_DrawBloom(), and R_InitFBObjects().

GLfloat rstate_t::color_array[MAX_GL_ARRAY_LENGTH *4]

Definition at line 116 of file r_state.h.

Referenced by R_BlurStack(), R_DrawBloom(), and R_InitPrograms().

Definition at line 115 of file r_state.h.

Referenced by R_Blur(), and R_InitPrograms().

Definition at line 137 of file r_state.h.

Referenced by R_EnableDrawAsGlow(), and R_EnableGlowMap().

r_light_t rstate_t::dynamicLights[MAX_DYNAMIC_LIGHTS]

Definition at line 95 of file r_state.h.

Referenced by R_AddLightsource(), and R_UpdateLightList().

Definition at line 134 of file r_state.h.

Referenced by R_EnableFog().

Definition at line 76 of file r_state.h.

Definition at line 114 of file r_state.h.

Referenced by R_Draw3DGlobe(), and R_InitPrograms().

GLfloat rstate_t::next_normal_array[MAX_GL_ARRAY_LENGTH *3]

Definition at line 85 of file r_state.h.

Referenced by R_BindDefaultArray().

GLfloat rstate_t::next_tangent_array[MAX_GL_ARRAY_LENGTH *4]

Definition at line 86 of file r_state.h.

Referenced by R_BindDefaultArray().

GLfloat rstate_t::next_vertex_array_3d[MAX_GL_ARRAY_LENGTH *3]

Definition at line 84 of file r_state.h.

Referenced by R_BindDefaultArray().

GLfloat rstate_t::normal_array[MAX_GL_ARRAY_LENGTH *3]

Definition at line 82 of file r_state.h.

Referenced by R_BindDefaultArray(), and R_DrawSurfaceStage().

Definition at line 111 of file r_state.h.

Referenced by R_InitPrograms(), R_LoadProgram(), and R_ShutdownPrograms().

Definition at line 100 of file r_state.h.

Referenced by R_InitFBObjects().

renderbuffer vs screen as render target

Definition at line 142 of file r_state.h.

Referenced by R_EnableRenderbuffer(), and R_RenderbufferEnabled().

Definition at line 140 of file r_state.h.

Referenced by R_EnableRoughnessMap().

Definition at line 110 of file r_state.h.

Referenced by R_InitPrograms(), and R_LoadShader().

Definition at line 127 of file r_state.h.

Referenced by R_EnableShell().

Definition at line 118 of file r_state.h.

Referenced by R_EnableGlowMap(), and R_InitPrograms().

Definition at line 139 of file r_state.h.

Referenced by R_EnableSpecularMap().

GLfloat rstate_t::tangent_array[MAX_GL_ARRAY_LENGTH *4]

Definition at line 83 of file r_state.h.

Referenced by R_BindDefaultArray(), and R_DrawSurfaceStage().

gltexunit_t rstate_t::texunits[MAX_GL_TEXUNITS]

Definition at line 89 of file r_state.h.

Referenced by R_SetDefaultState().

GLshort rstate_t::vertex_array_2d[MAX_GL_ARRAY_LENGTH *2]

Definition at line 80 of file r_state.h.

Referenced by R_Draw2DArray(), and R_FontDrawTexture().

GLfloat rstate_t::vertex_array_3d[MAX_GL_ARRAY_LENGTH *3]

Definition at line 133 of file r_state.h.

Referenced by R_EnableWarp().

Definition at line 113 of file r_state.h.

Referenced by R_DrawBlendWarpSurfaces(), R_DrawOpaqueWarpSurfaces(), and R_InitPrograms().


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

Generated by  doxygen 1.6.2