The Battle for Wesnoth  1.19.6+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
 
int w
 
int h
 

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 251 of file texture.cpp.

References access, format, h, t, and w.

Member Data Documentation

◆ access

int texture::info::access

Definition at line 72 of file texture.hpp.

Referenced by info().

◆ format

uint32_t texture::info::format

Definition at line 71 of file texture.hpp.

Referenced by info().

◆ h

int texture::info::h

Definition at line 74 of file texture.hpp.

Referenced by info().

◆ w

int texture::info::w

Definition at line 73 of file texture.hpp.

Referenced by info().


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