SDL_gpu  0.11.0
A hardware-accelerated, cross-platform 2D graphics API
Data Fields
GPU_ShaderBlock Struct Reference

#include <SDL_gpu.h>

Data Fields

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 316 of file SDL_gpu.h.

Field Documentation

◆ color_loc

int GPU_ShaderBlock::color_loc

Definition at line 321 of file SDL_gpu.h.

◆ modelViewProjection_loc

int GPU_ShaderBlock::modelViewProjection_loc

Definition at line 323 of file SDL_gpu.h.

◆ position_loc

int GPU_ShaderBlock::position_loc

Definition at line 319 of file SDL_gpu.h.

◆ texcoord_loc

int GPU_ShaderBlock::texcoord_loc

Definition at line 320 of file SDL_gpu.h.


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