All Classes Functions Variables Typedefs Enumerations Groups
Classes
Renderer Setup
Collaboration diagram for Renderer Setup:

Classes

struct  GPU_RendererID
 
DECLSPEC GPU_RendererID SDLCALL GPU_MakeRendererID (const char *name, GPU_RendererEnum renderer, int major_version, int minor_version)
 
DECLSPEC GPU_RendererID SDLCALL GPU_GetRendererID (GPU_RendererEnum renderer)
 
DECLSPEC int SDLCALL GPU_GetNumRegisteredRenderers (void)
 
DECLSPEC void SDLCALL GPU_GetRegisteredRendererList (GPU_RendererID *renderers_array)
 
DECLSPEC void SDLCALL GPU_RegisterRenderer (GPU_RendererID id, GPU_Renderer *(SDLCALL *create_renderer)(GPU_RendererID request), void(SDLCALL *free_renderer)(GPU_Renderer *renderer))
 

Detailed Description

Function Documentation

DECLSPEC int SDLCALL GPU_GetNumRegisteredRenderers ( void  )

Gets the number of registered (available) renderers.

DECLSPEC void SDLCALL GPU_GetRegisteredRendererList ( GPU_RendererID renderers_array)

Gets an array of identifiers for the registered (available) renderers.

DECLSPEC GPU_RendererID SDLCALL GPU_GetRendererID ( GPU_RendererEnum  renderer)

Gets the first registered renderer identifier for the given enum value.

DECLSPEC GPU_RendererID SDLCALL GPU_MakeRendererID ( const char *  name,
GPU_RendererEnum  renderer,
int  major_version,
int  minor_version 
)

Returns an initialized GPU_RendererID.

DECLSPEC void SDLCALL GPU_RegisterRenderer ( GPU_RendererID  id,
GPU_Renderer SDLCALL *create_renderer)(GPU_RendererID request,
void(SDLCALL *free_renderer)(GPU_Renderer *renderer)   
)

Prepares a renderer for use by SDL_gpu.