UFO: Alien Invasion
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
rconfig_t Struct Reference

GL config stuff. More...

#include <r_local.h>

Data Fields

const char * rendererString
 
const char * vendorString
 
const char * versionString
 
const char * extensionsString
 
int glVersionMajor
 
int glVersionMinor
 
int glslVersionMajor
 
int glslVersionMinor
 
int maxTextureSize
 
int maxTextureUnits
 
int maxTextureCoords
 
int maxVertexAttribs
 
int maxVertexBufferSize
 
int maxLights
 
int maxDrawBuffers
 
int maxRenderbufferSize
 
int maxColorAttachments
 
int maxVertexTextureImageUnits
 
char lodDir [8]
 
int videoMemory
 
bool hwgamma
 
int32_t maxAnisotropic
 
bool anisotropic
 
bool frameBufferObject
 
bool drawBuffers
 
int gl_solid_format
 
int gl_alpha_format
 
int gl_compressed_solid_format
 
int gl_compressed_alpha_format
 
int gl_filter_min
 
int gl_filter_max
 
bool lod_bias
 
bool nonPowerOfTwo
 
hardwareType_t hardwareType
 

Detailed Description

GL config stuff.

Definition at line 155 of file r_local.h.

Field Documentation

bool rconfig_t::anisotropic

Definition at line 185 of file r_local.h.

Referenced by R_CreateFramebuffer(), R_InitExtensions(), and R_UploadTexture().

bool rconfig_t::drawBuffers

Definition at line 187 of file r_local.h.

Referenced by R_CvarPostProcess(), and R_InitExtensions().

const char* rconfig_t::extensionsString

Definition at line 159 of file r_local.h.

Referenced by R_CheckExtension(), R_Init(), R_InitExtensions(), and R_Strings_f().

int rconfig_t::gl_alpha_format
int rconfig_t::gl_compressed_alpha_format

Definition at line 193 of file r_local.h.

Referenced by R_FontGenerateTexture(), R_InitExtensions(), R_UploadData(), and R_UploadTexture().

int rconfig_t::gl_compressed_solid_format

Definition at line 192 of file r_local.h.

Referenced by R_InitExtensions(), R_UploadData(), R_UploadLightmapPage(), and R_UploadTexture().

int rconfig_t::gl_filter_max

filter to use if the image is larger than the original texture or stretched on the screen

Definition at line 196 of file r_local.h.

Referenced by R_Init(), R_TextureMode(), R_UploadAlpha(), and R_UploadTexture().

int rconfig_t::gl_filter_min

filter to use if the image is smaller than the original texture or stretched on the screen

Definition at line 195 of file r_local.h.

Referenced by R_Init(), R_TextureMode(), and R_UploadTexture().

int rconfig_t::gl_solid_format
int rconfig_t::glslVersionMajor

Definition at line 164 of file r_local.h.

Referenced by R_CvarGLSLVersionCheck(), and R_InitExtensions().

int rconfig_t::glslVersionMinor

Definition at line 165 of file r_local.h.

Referenced by R_CvarGLSLVersionCheck(), and R_InitExtensions().

int rconfig_t::glVersionMajor

Definition at line 161 of file r_local.h.

Referenced by R_InitExtensions().

int rconfig_t::glVersionMinor

Definition at line 162 of file r_local.h.

Referenced by R_InitExtensions().

hardwareType_t rconfig_t::hardwareType

Definition at line 202 of file r_local.h.

Referenced by R_InitializeShader(), and R_VerifyDriver().

bool rconfig_t::hwgamma

Definition at line 182 of file r_local.h.

bool rconfig_t::lod_bias

Definition at line 198 of file r_local.h.

Referenced by R_InitExtensions(), and R_UploadTexture().

char rconfig_t::lodDir[8]

Definition at line 178 of file r_local.h.

Referenced by R_Draw3DGlobe(), and R_InitExtensions().

int32_t rconfig_t::maxAnisotropic
int rconfig_t::maxColorAttachments

Definition at line 175 of file r_local.h.

Referenced by R_InitExtensions().

int rconfig_t::maxDrawBuffers
int rconfig_t::maxLights

Definition at line 172 of file r_local.h.

Referenced by R_CvarCheckDynamicLights(), and R_InitExtensions().

int rconfig_t::maxRenderbufferSize

Definition at line 174 of file r_local.h.

Referenced by R_InitExtensions().

int rconfig_t::maxTextureCoords

Definition at line 169 of file r_local.h.

Referenced by R_InitExtensions(), R_SelectTexture(), and R_SetDefaultState().

int rconfig_t::maxTextureSize
int rconfig_t::maxTextureUnits

Definition at line 168 of file r_local.h.

Referenced by R_InitExtensions().

int rconfig_t::maxVertexAttribs

Definition at line 170 of file r_local.h.

Referenced by R_InitExtensions().

int rconfig_t::maxVertexBufferSize

Definition at line 171 of file r_local.h.

Referenced by R_InitExtensions().

int rconfig_t::maxVertexTextureImageUnits

Definition at line 176 of file r_local.h.

Referenced by R_InitExtensions().

bool rconfig_t::nonPowerOfTwo

support for non power of two textures

Definition at line 200 of file r_local.h.

Referenced by R_InitExtensions().

const char* rconfig_t::rendererString

Definition at line 156 of file r_local.h.

Referenced by R_Init(), R_SearchForVendor(), and R_Strings_f().

const char* rconfig_t::vendorString

Definition at line 157 of file r_local.h.

Referenced by R_Init(), R_SearchForVendor(), and R_Strings_f().

const char* rconfig_t::versionString

Definition at line 158 of file r_local.h.

Referenced by R_EnforceVersion(), R_Init(), R_InitExtensions(), and R_Strings_f().

int rconfig_t::videoMemory

Definition at line 180 of file r_local.h.

Referenced by Rimp_Init().


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