UFO: Alien Invasion
|
#include <r_image.h>
Data Fields | |
char | name [MAX_QPATH] |
imagetype_t | type |
int | width |
int | height |
int | upload_width |
int | upload_height |
GLuint | texnum |
bool | has_alpha |
material_t | material |
struct image_s * | normalmap |
struct image_s * | glowmap |
struct image_s * | specularmap |
struct image_s * | roughnessmap |
struct image_s * | hash_next |
struct image_s* image_s::glowmap |
glowmap texture
Definition at line 70 of file r_image.h.
Referenced by R_DrawAliasModel(), R_FindImage(), R_FreeImage(), R_LoadMaterials(), R_ReloadImages(), R_SetSurfaceState(), and R_StageGlow().
bool image_s::has_alpha |
Definition at line 67 of file r_image.h.
Referenced by R_GetEntityLists(), R_LoadImageData(), and R_UploadTexture().
struct image_s* image_s::hash_next |
hash map next pointer in case of collision
Definition at line 73 of file r_image.h.
Referenced by R_DeleteImage(), and R_GetImage().
int image_s::height |
source image dimensions
Definition at line 64 of file r_image.h.
Referenced by uiTextureNode::draw(), uiImageNode::draw(), HUD_UpdateCursor(), uiImageNode::onLoaded(), R_DrawImage(), R_DrawImageCentered(), R_LoadBspVertexArrays(), R_LoadImageData(), R_ReloadImageData(), R_RenderToTexture(), R_StageTextureMatrix(), R_UploadAlpha(), R_UploadData(), SCR_DrawCursor(), SCR_DrawLoadingScreen(), UI_AutoGenerateSprite(), UI_DrawNormImage(), and UI_InitRadar().
material_t image_s::material |
Definition at line 68 of file r_image.h.
Referenced by R_CreateSurfaceFlare(), R_DrawMaterialSurfaces(), R_ImageClearMaterials(), R_LoadImageData(), 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 62 of file r_image.h.
Referenced by uiMaterialEditorNode::draw(), main(), R_DeleteImage(), R_FindImage(), R_GetImage(), R_ImageList_f(), R_LoadActorSkinsFromModel(), R_LoadAnimImages(), R_LoadImageData(), R_LoadMaterials(), R_LoadObjSkin(), R_ModLoadAliasMD2MeshIndexed(), R_ModLoadAliasMD2MeshUnindexed(), R_ModLoadAliasMD3Model(), R_ParseStage(), R_ReloadImageData(), UI_MaterialEditorNodeGetImageAtPosition(), UI_MaterialEditorNodeGetImageCount(), and UI_MaterialEditorUpdate().
struct image_s* image_s::normalmap |
normalmap texture
Definition at line 69 of file r_image.h.
Referenced by R_DrawAliasModel(), R_FindImage(), R_FreeImage(), R_LoadMaterials(), R_ReloadImages(), R_SetSurfaceState(), R_StageLighting(), and UI_MaterialEditorUpdate().
struct image_s* image_s::roughnessmap |
roughness texture (for Cook-Torrance shading)
Definition at line 72 of file r_image.h.
Referenced by R_DrawAliasModel(), R_FindImage(), R_FreeImage(), and R_ReloadImages().
struct image_s* image_s::specularmap |
specularity texture (for reflection color)
Definition at line 71 of file r_image.h.
Referenced by R_DrawAliasModel(), R_FindImage(), R_FreeImage(), R_ReloadImages(), R_SetSurfaceState(), and R_StageLighting().
GLuint image_s::texnum |
gl texture binding
Definition at line 66 of file r_image.h.
Referenced by R_AliasModelState(), R_ChangeImageType(), R_DeleteImage(), R_Draw3DGlobe(), R_DrawAliasModel(), R_DrawChars(), R_DrawEntityEffects(), R_DrawFlareSurfaces(), R_DrawFlatGeoscape(), R_DrawFloor(), 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_GetEntityLists(), R_ImageList_f(), R_LoadImageData(), R_ModModellist_f(), R_ReloadImageData(), R_RenderToTexture(), R_SetSurfaceStageState(), R_SetSurfaceState(), R_ShutdownImages(), R_SphereShade(), R_SphereShadeGLSL(), R_TexOverride(), R_TextureMode(), R_UploadAlpha(), and R_UploadData().
imagetype_t image_s::type |
Definition at line 63 of file r_image.h.
Referenced by uiMaterialEditorNode::draw(), R_ChangeImageType(), R_FindImage(), R_FreeWorldImages(), R_ImageList_f(), R_LoadImageData(), R_ModModellist_f(), R_SwitchModelMemPoolTag(), R_TextureMode(), R_UploadAlpha(), R_UploadTexture(), UI_MaterialEditorNodeGetImageAtPosition(), and UI_MaterialEditorNodeGetImageCount().
int image_s::upload_height |
dimensions after power of two and picmip
Definition at line 65 of file r_image.h.
Referenced by R_ImageList_f(), R_UploadData(), and R_UploadTexture().
int image_s::upload_width |
Definition at line 65 of file r_image.h.
Referenced by R_ImageList_f(), R_UploadData(), and R_UploadTexture().
int image_s::width |
Definition at line 64 of file r_image.h.
Referenced by uiTextureNode::draw(), uiImageNode::draw(), HUD_UpdateCursor(), uiImageNode::onLoaded(), R_DrawImage(), R_DrawImageCentered(), R_LoadBspVertexArrays(), R_LoadImageData(), R_ReloadImageData(), R_RenderToTexture(), R_StageTextureMatrix(), R_UploadAlpha(), R_UploadData(), SCR_DrawCursor(), SCR_DrawLoadingScreen(), UI_AutoGenerateSprite(), UI_DrawNormImage(), and UI_InitRadar().