#include <r_image.h>
Data Fields | |
char | name [MAX_QPATH] |
imagetype_t | type |
int | width |
int | height |
int | upload_width |
int | upload_height |
unsigned int | texnum |
qboolean | has_alpha |
material_t | material |
struct image_s * | normalmap |
struct image_s * | glowmap |
struct image_s * | specularmap |
struct image_s * | roughnessmap |
struct image_s * | hashNext |
struct image_s * | hashPrev |
Definition at line 60 of file r_image.h.
struct image_s* image_s::glowmap |
glowmap texture
Definition at line 69 of file r_image.h.
Referenced by R_FindImage(), R_FreeImage(), R_LoadAnimImages(), R_LoadMaterials(), R_SetSurfaceState(), and R_StageGlow().
Definition at line 66 of file r_image.h.
Referenced by R_DrawEntities(), R_LoadImageData(), and R_UploadTexture().
struct image_s* image_s::hashNext |
hash map next pointer in case of collision
Definition at line 72 of file r_image.h.
Referenced by R_DeleteImage(), R_GetImage(), and R_LoadImageData().
struct image_s* image_s::hashPrev |
hash map prev pointer for easier removing
Definition at line 73 of file r_image.h.
Referenced by R_DeleteImage(), and R_LoadImageData().
int image_s::height |
source image dimensions
Definition at line 63 of file r_image.h.
Referenced by HUD_UpdateCursor(), MAP_DrawMapMarkers(), MAP_DrawMapOneBase(), MAP_DrawMapOneInstallation(), MAP_DrawMapOneMission(), MAP_DrawMapOnePhalanxAircraft(), R_DrawImage(), R_LoadBspVertexArrays(), R_LoadImageData(), R_StageTextureMatrix(), R_UploadAlpha(), R_UploadData(), SCR_DrawCursor(), SCR_DrawLoading(), SCR_DrawPrecacheScreen(), UI_AutoGenerateIcon(), UI_DrawNormImage(), UI_EKGNodeDraw(), UI_ImageNodeDraw(), UI_ImageNodeLoaded(), and UI_InitRadar().
Definition at line 67 of file r_image.h.
Referenced by R_CreateSurfaceFlare(), R_DrawMaterialSurfaces(), R_ImageClearMaterials(), R_LoadMaterials(), R_LoadSurfacesArrays_(), R_SetSurfaceBumpMappingParameters(), UI_MaterialEditorChangeValue_f(), UI_MaterialEditorNewStage_f(), UI_MaterialEditorRemoveStage_f(), UI_MaterialEditorSelectStage_f(), and UI_MaterialEditorUpdate().
char image_s::name[MAX_QPATH] |
game path, including extension, must be first
Definition at line 61 of file r_image.h.
Referenced by main(), R_DeleteImage(), R_FindImage(), R_GetImage(), R_ImageList_f(), R_LoadAnimImages(), R_LoadImageData(), R_LoadMaterials(), R_LoadObjSkin(), R_ModLoadAliasDPMModel(), R_ModLoadAliasMD2MeshIndexed(), R_ModLoadAliasMD2MeshUnindexed(), R_ModLoadAliasMD3Model(), R_ParseStage(), SCR_SetLoadingBackground(), UI_MaterialEditorNodeDraw(), UI_MaterialEditorNodeGetImageAtPosition(), UI_MaterialEditorNodeGetImageCount(), and UI_MaterialEditorUpdate().
struct image_s* image_s::normalmap |
normalmap texture
Definition at line 68 of file r_image.h.
Referenced by R_FindImage(), R_FreeImage(), R_LoadMaterials(), R_SetSurfaceState(), R_StageLighting(), and UI_MaterialEditorUpdate().
struct image_s* image_s::roughnessmap |
roughness texture (for Cook-Torrance shading)
Definition at line 71 of file r_image.h.
Referenced by R_FindImage(), and R_FreeImage().
struct image_s* image_s::specularmap |
specularity texture (for reflection color)
Definition at line 70 of file r_image.h.
Referenced by R_FindImage(), and R_FreeImage().
unsigned int image_s::texnum |
gl texture binding
Definition at line 65 of file r_image.h.
Referenced by R_AliasModelState(), R_DeleteImage(), R_Draw3DGlobe(), R_DrawChars(), R_DrawEntities(), R_DrawEntityEffects(), R_DrawFlareSurfaces(), R_DrawFlatGeoscape(), R_DrawImage(), R_DrawImageArray(), R_DrawModelDirect(), R_DrawModelParticle(), R_DrawSprite(), R_DrawStretchImage(), R_EnableBumpmap(), R_EnableGlowMap(), R_EnableRoughnessMap(), R_EnableSpecularMap(), R_EnableWarp(), R_FreeImage(), R_ImageList_f(), R_LoadImageData(), R_ModModellist_f(), R_SetSurfaceStageState(), R_SetSurfaceState(), R_ShutdownImages(), R_SortSurfacesArrays(), R_SortSurfacesArrays_(), R_SphereShade(), R_SphereShadeGLSL(), R_TextureMode(), R_UploadAlpha(), and R_UploadData().
Definition at line 62 of file r_image.h.
Referenced by R_FindImage(), R_FreeWorldImages(), R_ImageList_f(), R_LoadImageData(), R_ModModellist_f(), R_SwitchModelMemPoolTag(), R_TextureMode(), R_UploadAlpha(), R_UploadTexture(), UI_MaterialEditorNodeDraw(), UI_MaterialEditorNodeGetImageAtPosition(), and UI_MaterialEditorNodeGetImageCount().
dimensions after power of two and picmip
Definition at line 64 of file r_image.h.
Referenced by R_ImageList_f(), R_UploadData(), and R_UploadTexture().
Definition at line 64 of file r_image.h.
Referenced by R_ImageList_f(), R_UploadData(), and R_UploadTexture().
int image_s::width |
Definition at line 63 of file r_image.h.
Referenced by HUD_UpdateCursor(), MAP_DrawMapMarkers(), MAP_DrawMapOneBase(), MAP_DrawMapOneInstallation(), MAP_DrawMapOneMission(), MAP_DrawMapOnePhalanxAircraft(), R_DrawImage(), R_LoadBspVertexArrays(), R_LoadImageData(), R_StageTextureMatrix(), R_UploadAlpha(), R_UploadData(), SCR_DrawCursor(), SCR_DrawLoading(), SCR_DrawPrecacheScreen(), UI_AutoGenerateIcon(), UI_DrawNormImage(), UI_EKGNodeDraw(), UI_ImageNodeDraw(), UI_ImageNodeLoaded(), and UI_InitRadar().