libtcod
Loading...
Searching...
No Matches
TCOD_TilesetAtlasSDL2 Struct Reference

An SDL tileset atlas. More...

#include <renderer_sdl2.h>

Public Attributes

struct SDL_Renderer * renderer
 The renderer used to create this atlas.
struct SDL_Texture * texture
 The atlas texture.
struct TCOD_Tilesettileset
 The tileset used to create this atlas.
struct TCOD_TilesetObserverobserver
 Internal use only.
int texture_columns
 Internal use only.

Detailed Description

An SDL tileset atlas.

This prepares a tileset for use with SDL.

This works for SDL3 despite the name.

embed:rst:leading-asterisk 
.. versionadded:: 1.16

Member Data Documentation

◆ renderer

struct SDL_Renderer* TCOD_TilesetAtlasSDL2::renderer

The renderer used to create this atlas.

Non-owning.

◆ tileset

struct TCOD_Tileset* TCOD_TilesetAtlasSDL2::tileset

The tileset used to create this atlas.

Internal use only.


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