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

#include <SDL_gpu_OpenGL_4.h>

Data Fields

SDL_Color last_color
 
GPU_bool last_use_texturing
 
unsigned int last_shape
 
GPU_bool last_use_blending
 
GPU_BlendMode last_blend_mode
 
GPU_Rect last_viewport
 
GPU_Camera last_camera
 
GPU_bool last_camera_inverted
 
GPU_Imagelast_image
 
GPU_Targetlast_target
 
float * blit_buffer
 
unsigned short blit_buffer_num_vertices
 
unsigned short blit_buffer_max_num_vertices
 
unsigned short * index_buffer
 
unsigned int index_buffer_num_vertices
 
unsigned int index_buffer_max_num_vertices
 
unsigned int blit_VAO
 
unsigned int blit_VBO [2]
 
unsigned int blit_IBO
 
GPU_bool blit_VBO_flop
 
GPU_AttributeSource shader_attributes [16]
 
unsigned int attribute_VBO [16]
 

Detailed Description

Definition at line 96 of file SDL_gpu_OpenGL_4.h.

Field Documentation

◆ attribute_VBO

unsigned int ContextData_OpenGL_4::attribute_VBO[16]

Definition at line 123 of file SDL_gpu_OpenGL_4.h.

◆ blit_buffer

float* ContextData_OpenGL_4::blit_buffer

Definition at line 109 of file SDL_gpu_OpenGL_4.h.

◆ blit_buffer_max_num_vertices

unsigned short ContextData_OpenGL_4::blit_buffer_max_num_vertices

Definition at line 111 of file SDL_gpu_OpenGL_4.h.

◆ blit_buffer_num_vertices

unsigned short ContextData_OpenGL_4::blit_buffer_num_vertices

Definition at line 110 of file SDL_gpu_OpenGL_4.h.

◆ blit_IBO

unsigned int ContextData_OpenGL_4::blit_IBO

Definition at line 119 of file SDL_gpu_OpenGL_4.h.

◆ blit_VAO

unsigned int ContextData_OpenGL_4::blit_VAO

Definition at line 117 of file SDL_gpu_OpenGL_4.h.

◆ blit_VBO

unsigned int ContextData_OpenGL_4::blit_VBO[2]

Definition at line 118 of file SDL_gpu_OpenGL_4.h.

◆ blit_VBO_flop

GPU_bool ContextData_OpenGL_4::blit_VBO_flop

Definition at line 120 of file SDL_gpu_OpenGL_4.h.

◆ index_buffer

unsigned short* ContextData_OpenGL_4::index_buffer

Definition at line 112 of file SDL_gpu_OpenGL_4.h.

◆ index_buffer_max_num_vertices

unsigned int ContextData_OpenGL_4::index_buffer_max_num_vertices

Definition at line 114 of file SDL_gpu_OpenGL_4.h.

◆ index_buffer_num_vertices

unsigned int ContextData_OpenGL_4::index_buffer_num_vertices

Definition at line 113 of file SDL_gpu_OpenGL_4.h.

◆ last_blend_mode

GPU_BlendMode ContextData_OpenGL_4::last_blend_mode

Definition at line 102 of file SDL_gpu_OpenGL_4.h.

◆ last_camera

GPU_Camera ContextData_OpenGL_4::last_camera

Definition at line 104 of file SDL_gpu_OpenGL_4.h.

◆ last_camera_inverted

GPU_bool ContextData_OpenGL_4::last_camera_inverted

Definition at line 105 of file SDL_gpu_OpenGL_4.h.

◆ last_color

SDL_Color ContextData_OpenGL_4::last_color

Definition at line 98 of file SDL_gpu_OpenGL_4.h.

◆ last_image

GPU_Image* ContextData_OpenGL_4::last_image

Definition at line 107 of file SDL_gpu_OpenGL_4.h.

◆ last_shape

unsigned int ContextData_OpenGL_4::last_shape

Definition at line 100 of file SDL_gpu_OpenGL_4.h.

◆ last_target

GPU_Target* ContextData_OpenGL_4::last_target

Definition at line 108 of file SDL_gpu_OpenGL_4.h.

◆ last_use_blending

GPU_bool ContextData_OpenGL_4::last_use_blending

Definition at line 101 of file SDL_gpu_OpenGL_4.h.

◆ last_use_texturing

GPU_bool ContextData_OpenGL_4::last_use_texturing

Definition at line 99 of file SDL_gpu_OpenGL_4.h.

◆ last_viewport

GPU_Rect ContextData_OpenGL_4::last_viewport

Definition at line 103 of file SDL_gpu_OpenGL_4.h.

◆ shader_attributes

GPU_AttributeSource ContextData_OpenGL_4::shader_attributes[16]

Definition at line 122 of file SDL_gpu_OpenGL_4.h.


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