All Classes Functions Variables Typedefs Enumerations Groups
Public Attributes | List of all members
GPU_Renderer Struct Reference

#include <SDL_gpu.h>

Collaboration diagram for GPU_Renderer:
Collaboration graph
[legend]

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_Targetcurrent_context_target
 
GPU_bool coordinate_mode
 
float default_image_anchor_x
 
float default_image_anchor_y
 
struct GPU_RendererImplimpl
 

Detailed Description

Renderer object which specializes the API to a particular backend.

Member Data Documentation

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.


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