DarkPlaces
Game engine based on the Quake 1 engine by id Software, developed by LadyHavoc
viddef_t Struct Reference

#include <vid.h>

Collaboration diagram for viddef_t:

Data Fields

qbool allowalphatocoverage
 indicates the GL_AlphaToCoverage function works on this renderpath and framebuffer
int forcetextype
 always use GL_BGRA for D3D, always use GL_RGBA for GLES, etc
unsigned int max_anisotropy
unsigned int maxdrawbuffers
unsigned int maxtexturesize_2d
unsigned int maxtexturesize_3d
unsigned int maxtexturesize_cubemap
viddef_mode_t mode
 currently active video mode
renderpath_t renderpath
qbool sRGB2D
 whether 2D rendering is sRGB corrected (based on sRGBcapable2D)
qbool sRGB3D
 whether 3D rendering is sRGB corrected (based on sRGBcapable3D)
qbool sRGBcapable2D
 whether 2D rendering can be sRGB corrected (renderpath)
qbool sRGBcapable3D
 whether 3D rendering can be sRGB corrected (renderpath)
qbool stencil
viddef_support_t support
int xPos
int yPos
 current virtual position of the top left corner of the SDL window

Detailed Description

Definition at line 69 of file vid.h.

Field Documentation

◆ allowalphatocoverage

qbool viddef_t::allowalphatocoverage

indicates the GL_AlphaToCoverage function works on this renderpath and framebuffer

Definition at line 81 of file vid.h.

◆ forcetextype

int viddef_t::forcetextype

always use GL_BGRA for D3D, always use GL_RGBA for GLES, etc

Definition at line 91 of file vid.h.

◆ max_anisotropy

unsigned int viddef_t::max_anisotropy

Definition at line 86 of file vid.h.

◆ maxdrawbuffers

unsigned int viddef_t::maxdrawbuffers

Definition at line 87 of file vid.h.

◆ maxtexturesize_2d

unsigned int viddef_t::maxtexturesize_2d

Definition at line 83 of file vid.h.

◆ maxtexturesize_3d

unsigned int viddef_t::maxtexturesize_3d

Definition at line 84 of file vid.h.

◆ maxtexturesize_cubemap

unsigned int viddef_t::maxtexturesize_cubemap

Definition at line 85 of file vid.h.

◆ mode

viddef_mode_t viddef_t::mode

currently active video mode

Definition at line 73 of file vid.h.

◆ renderpath

renderpath_t viddef_t::renderpath

Definition at line 80 of file vid.h.

◆ sRGB2D

qbool viddef_t::sRGB2D

whether 2D rendering is sRGB corrected (based on sRGBcapable2D)

Definition at line 75 of file vid.h.

◆ sRGB3D

qbool viddef_t::sRGB3D

whether 3D rendering is sRGB corrected (based on sRGBcapable3D)

Definition at line 76 of file vid.h.

◆ sRGBcapable2D

qbool viddef_t::sRGBcapable2D

whether 2D rendering can be sRGB corrected (renderpath)

Definition at line 77 of file vid.h.

◆ sRGBcapable3D

qbool viddef_t::sRGBcapable3D

whether 3D rendering can be sRGB corrected (renderpath)

Definition at line 78 of file vid.h.

◆ stencil

qbool viddef_t::stencil

Definition at line 74 of file vid.h.

◆ support

viddef_support_t viddef_t::support

Definition at line 89 of file vid.h.

◆ xPos

int viddef_t::xPos

Definition at line 93 of file vid.h.

◆ yPos

int viddef_t::yPos

current virtual position of the top left corner of the SDL window

Definition at line 93 of file vid.h.


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