SDL_render.h
Estructura SDL_RendererInfo
Estructura que contiene información sobre las capacidades de un controlador de renderizado o el contexto de renderizado actual.
typedef struct SDL_RendererInfo { const char *name; /**< The name of the renderer */ Uint32 flags; /**< Supported ::SDL_RendererFlags */ Uint32 num_texture_formats; /**< The number of available texture formats */ Uint32 texture_formats[16]; /**< The available texture formats */ int max_texture_width; /**< The maximum texture width */ int max_texture_height; /**< The maximum texture height */ } SDL_RendererInfo;
Miembros
- name
- El nombre del renderer
- flags
- Una máscara de las banderas soportadas.
- num_texture_formats
- El número de formatos de textura disponibles.
- texture_formats
- Los formatos de textura disponibles.
- max_texture_width
- La anchura máxima de una textura.
- max_texture_height
- La altura máxima de una textura.
Observaciones
flags puede ser 0 o una máscara de cualquiera de los siguientes valores SDL_RendererFlags combinados con OR'.
texture_formats es un array de valores SDL_PixelFormatEnum que representan los formatos de textura disponibles para el renderizador.