The Battle for Wesnoth  1.19.8+dev
Public Member Functions | Public Attributes | List of all members
texture::info Struct Reference

Small wrapper that queries metadata about the provided texture. More...

#include <texture.hpp>

Public Member Functions

 info (SDL_Texture *t)
 

Public Attributes

uint32_t format
 
int access
 
point size
 

Detailed Description

Small wrapper that queries metadata about the provided texture.

Definition at line 67 of file texture.hpp.

Constructor & Destructor Documentation

◆ info()

texture::info::info ( SDL_Texture *  t)
explicit

Definition at line 222 of file texture.cpp.

References access, format, size, and t.

Member Data Documentation

◆ access

int texture::info::access

Definition at line 72 of file texture.hpp.

Referenced by texture::get_access(), and info().

◆ format

uint32_t texture::info::format

Definition at line 71 of file texture.hpp.

Referenced by texture::get_format(), and info().

◆ size

point texture::info::size

Definition at line 73 of file texture.hpp.

Referenced by texture::get_raw_size(), and info().


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