Ember
A C++ 20 'game engine' built with SDL3 with wide platform support.
Public Member Functions | Public Attributes | List of all members
Texture Struct Reference

Texture base class. More...

#include <engine_structs.h>

Public Member Functions

 Texture ()=default
 
 ~Texture ()
 

Public Attributes

Uint32 id = 0
 
int width = 0
 
int height = 0
 
std::string path
 
void * mtlTexture = nullptr
 

Detailed Description

Texture base class.

Version
0.0.1

Constructor & Destructor Documentation

◆ Texture()

Texture::Texture ( )
default

◆ ~Texture()

Texture::~Texture ( )
default

Member Data Documentation

◆ height

int Texture::height = 0

◆ id

Uint32 Texture::id = 0

◆ mtlTexture

void* Texture::mtlTexture = nullptr

◆ path

std::string Texture::path

◆ width

int Texture::width = 0

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