SDL Wiki

SDL_RendererInfo

A structure that contains information on the capabilities of a render driver or the current render context.

Data Fields

const char*

name

the name of the renderer

Uint32

flags

a mask of supported renderer flags; see Remarks for details

Uint32

num_texture_formats

the number of available texture formats

Uint32[16]

texture_formats

the available texture formats; see Remarks for details

int

max_texture_width

the maximum texture width

int

max_texture_height

the maximum texture height

Remarks

flags may be 0 or a mask of any of the following SDL_RendererFlags values OR'd together: <<Include(SDL_RendererFlags, , , from="== Values ==", to="== Code Examples ==")>>

texture_formats is an array of SDL_PixelFormatEnum values representing the available texture formats for the renderer <<Include(SDL_PixelFormatEnum, , , from="== Values ==", to="== Code Examples ==")>>

SDL_BlendMode
SDL_PixelFormatEnum
SDL_RendererFlags
SDL_TextureModulate
SDL_GetRenderDriverInfo
SDL_GetRendererInfo
SDL_RenderCopy

CategoryStruct, CategoryRender


[ edit | delete | history | feedback | raw ]

[ front page | index | search | recent changes | git repo | offline html ]

All wiki content is licensed under Creative Commons Attribution 4.0 International (CC BY 4.0).
Wiki powered by ghwikipp.