Operation Null Mind 0.4.1
A 2D roguelike top down shooter game made with SDL2
 
Loading...
Searching...
No Matches
AppResources Struct Reference

A struct containing the app's resources like the window, renderer, and fonts. More...

#include <app.h>

Public Attributes

SDL_Window * window
 The SDL window.
 
SDL_Renderer * renderer
 The SDL renderer.
 
SDL_Texture * screenTexture
 The screen texture.
 
SDL_Texture * cursorTexture
 The cursor texture.
 
TTF_Font * textFont
 The font for text.
 
TTF_Font * title1Font
 The font for title 1.
 
TTF_Font * title2Font
 The font for title 2.
 

Detailed Description

A struct containing the app's resources like the window, renderer, and fonts.

Member Data Documentation

◆ cursorTexture

SDL_Texture* AppResources::cursorTexture

The cursor texture.

◆ renderer

SDL_Renderer* AppResources::renderer

The SDL renderer.

◆ screenTexture

SDL_Texture* AppResources::screenTexture

The screen texture.

◆ textFont

TTF_Font* AppResources::textFont

The font for text.

◆ title1Font

TTF_Font* AppResources::title1Font

The font for title 1.

◆ title2Font

TTF_Font* AppResources::title2Font

The font for title 2.

◆ window

SDL_Window* AppResources::window

The SDL window.


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