The Battle for Wesnoth  1.13.4+dev
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Public Attributes | List of all members
GPU_ShaderBlock Struct Reference

#include <SDL_gpu.h>

Public Attributes

int position_loc
 
int texcoord_loc
 
int color_loc
 
int modelViewProjection_loc
 

Detailed Description

Container for the built-in shader attribute and uniform locations (indices).

See also
GPU_LoadShaderBlock()
GPU_SetShaderBlock()

Definition at line 216 of file SDL_gpu.h.

Member Data Documentation

int GPU_ShaderBlock::color_loc

Definition at line 221 of file SDL_gpu.h.

Referenced by ActivateShaderProgram(), GPU_LoadShaderBlock(), and LoadShaderBlock().

int GPU_ShaderBlock::modelViewProjection_loc

Definition at line 223 of file SDL_gpu.h.

Referenced by ActivateShaderProgram(), GPU_LoadShaderBlock(), and LoadShaderBlock().

int GPU_ShaderBlock::position_loc

Definition at line 219 of file SDL_gpu.h.

Referenced by ActivateShaderProgram(), GPU_LoadShaderBlock(), and LoadShaderBlock().

int GPU_ShaderBlock::texcoord_loc

Definition at line 220 of file SDL_gpu.h.

Referenced by ActivateShaderProgram(), GPU_LoadShaderBlock(), and LoadShaderBlock().


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