SDL  2.0
SDL_RendererInfo Struct Reference

Information on the capabilities of a render driver or context. More...

#include <SDL_render.h>

Data Fields

const char * name
 
Uint32 flags
 
Uint32 num_texture_formats
 
Uint32 texture_formats [16]
 
int max_texture_width
 
int max_texture_height
 

Detailed Description

Information on the capabilities of a render driver or context.

Definition at line 78 of file SDL_render.h.

Field Documentation

◆ flags

Uint32 SDL_RendererInfo::flags

◆ max_texture_height

int SDL_RendererInfo::max_texture_height

The maximum texture height

Definition at line 85 of file SDL_render.h.

Referenced by SDL_CreateTexture(), and SDLTest_PrintRenderer().

◆ max_texture_width

int SDL_RendererInfo::max_texture_width

The maximum texture width

Definition at line 84 of file SDL_render.h.

Referenced by SDL_CreateTexture(), and SDLTest_PrintRenderer().

◆ name

const char* SDL_RendererInfo::name

◆ num_texture_formats

Uint32 SDL_RendererInfo::num_texture_formats

The number of available texture formats

Definition at line 82 of file SDL_render.h.

Referenced by GetClosestSupportedFormat(), IsSupportedFormat(), SDL_CreateTextureFromSurface(), SDL_CreateWindowTexture(), and SDLTest_PrintRenderer().

◆ texture_formats

Uint32 SDL_RendererInfo::texture_formats[16]

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