UFO: Alien Invasion
Loading...
Searching...
No Matches
image_t Struct Reference

#include <r_image.h>

Collaboration diagram for image_t:
Collaboration graph

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

Detailed Description

Definition at line 61 of file r_image.h.

Field Documentation

◆ glowmap

struct image_s* image_t::glowmap

glowmap texture

Definition at line 70 of file r_image.h.

Referenced by R_DrawAliasModel(), R_FindImage(), R_FreeImage(), R_LoadMaterials(), R_ReloadImages(), and R_SetSurfaceState().

◆ has_alpha

bool image_t::has_alpha

Definition at line 67 of file r_image.h.

Referenced by R_GetEntityLists(), R_LoadImageData(), and R_UploadTexture().

◆ hash_next

struct image_s* image_t::hash_next

hash map next pointer in case of collision

Definition at line 73 of file r_image.h.

Referenced by R_GetImage().

◆ height

◆ material

◆ name

◆ normalmap

struct image_s* image_t::normalmap

◆ roughnessmap

struct image_s* image_t::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().

◆ specularmap

struct image_s* image_t::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(), and R_SetSurfaceState().

◆ texnum

◆ type

◆ upload_height

int image_t::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().

◆ upload_width

int image_t::upload_width

Definition at line 65 of file r_image.h.

Referenced by R_ImageList_f(), R_UploadData(), and R_UploadTexture().

◆ width


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