image_s Struct Reference

#include <r_image.h>

Collaboration diagram for image_s:
Collaboration graph
[legend]

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_snormalmap
struct image_sglowmap
struct image_sspecularmap
struct image_sroughnessmap
struct image_shashNext
struct image_shashPrev

Detailed Description

Definition at line 60 of file r_image.h.


Field Documentation

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().

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().

hash map prev pointer for easier removing

Definition at line 73 of file r_image.h.

Referenced by R_DeleteImage(), and R_LoadImageData().

char image_s::name[MAX_QPATH]

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().

roughness texture (for Cook-Torrance shading)

Definition at line 71 of file r_image.h.

Referenced by R_FindImage(), and R_FreeImage().

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

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().


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

Generated by  doxygen 1.6.2