ObjectivelyMVC 0.1.0
Object oriented MVC framework for OpenGL, SDL2 and GNU C
Data Structures | Functions
Renderer.h File Reference

The Renderer is responsible for rasterizing the View hierarchy of a WindowController. More...

#include <SDL_opengl.h>
#include <Objectively/MutableArray.h>
#include <ObjectivelyMVC/Types.h>

Go to the source code of this file.

Data Structures

struct  Renderer
 The Renderer is responsible for rasterizing the View hierarchy of a WindowController. More...
 

Functions

OBJECTIVELYMVC_EXPORT Class * _Renderer (void)
 

Detailed Description

The Renderer is responsible for rasterizing the View hierarchy of a WindowController.

This class provides an OpenGL 1.x implementation of the RendererInterface. Applications may extend this class and provide an implementation that meets their own OpenGL version requirements.

Definition in file Renderer.h.

Function Documentation

◆ _Renderer()

OBJECTIVELYMVC_EXPORT Class * _Renderer ( void  )

Definition at line 312 of file Renderer.c.

312 {
313 static Class *clazz;
314 static Once once;
315
316 do_once(&once, {
317 clazz = _initialize(&(const ClassDef) {
318 .name = "Renderer",
319 .superclass = _Object(),
320 .instanceSize = sizeof(Renderer),
321 .interfaceOffset = offsetof(Renderer, interface),
322 .interfaceSize = sizeof(RendererInterface),
324 });
325 });
326
327 return clazz;
328}
static void initialize(Class *clazz)
Definition: Renderer.c:290
The Renderer is responsible for rasterizing the View hierarchy of a WindowController.
Definition: Renderer.h:50