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

#include <SDL_gpu.h>

Data Fields

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.

Definition at line 653 of file SDL_gpu.h.

Field Documentation

◆ coordinate_mode

GPU_bool GPU_Renderer::coordinate_mode

0 for inverted, 1 for mathematical

Definition at line 670 of file SDL_gpu.h.

◆ current_context_target

GPU_Target* GPU_Renderer::current_context_target

Current display target

Definition at line 667 of file SDL_gpu.h.

◆ default_image_anchor_x

float GPU_Renderer::default_image_anchor_x

Default is (0.5, 0.5) - images draw centered.

Definition at line 673 of file SDL_gpu.h.

◆ default_image_anchor_y

float GPU_Renderer::default_image_anchor_y

Definition at line 674 of file SDL_gpu.h.

◆ enabled_features

GPU_FeatureEnum GPU_Renderer::enabled_features

Definition at line 664 of file SDL_gpu.h.

◆ GPU_init_flags

GPU_InitFlagEnum GPU_Renderer::GPU_init_flags

Definition at line 659 of file SDL_gpu.h.

◆ id

GPU_RendererID GPU_Renderer::id

Struct identifier of the renderer.

Definition at line 656 of file SDL_gpu.h.

◆ impl

struct GPU_RendererImpl* GPU_Renderer::impl

Definition at line 676 of file SDL_gpu.h.

◆ max_shader_version

int GPU_Renderer::max_shader_version

Definition at line 663 of file SDL_gpu.h.

◆ min_shader_version

int GPU_Renderer::min_shader_version

Definition at line 662 of file SDL_gpu.h.

◆ requested_id

GPU_RendererID GPU_Renderer::requested_id

Definition at line 657 of file SDL_gpu.h.

◆ SDL_init_flags

GPU_WindowFlagEnum GPU_Renderer::SDL_init_flags

Definition at line 658 of file SDL_gpu.h.

◆ shader_language

GPU_ShaderLanguageEnum GPU_Renderer::shader_language

Definition at line 661 of file SDL_gpu.h.


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