#include <SDL_gpu.h>
Public Attributes | |
GPU_RendererID | id |
GPU_RendererID | requested_id |
GPU_WindowFlagEnum | SDL_init_flags |
GPU_InitFlagEnum | GPU_init_flags |
GPU_ShaderLanguageEnum | shader_language |
int | min_shader_version |
int | max_shader_version |
GPU_FeatureEnum | enabled_features |
GPU_Target * | current_context_target |
GPU_bool | coordinate_mode |
float | default_image_anchor_x |
float | default_image_anchor_y |
struct GPU_RendererImpl * | impl |
Renderer object which specializes the API to a particular backend.
GPU_bool GPU_Renderer::coordinate_mode |
0 for inverted, 1 for mathematical
GPU_Target* GPU_Renderer::current_context_target |
Current display target
float GPU_Renderer::default_image_anchor_x |
Default is (0.5, 0.5) - images draw centered.
GPU_RendererID GPU_Renderer::id |
Struct identifier of the renderer.