Zen 0.3.0
Loading...
Searching...
No Matches
Zen::Texture Struct Reference

Public Member Functions

 Texture (const char *textureName, std::weak_ptr< Zen::Image > image)

Public Attributes

uint32_t id
uint32_t width {0}
uint32_t height {0}
const char * textureName
std::weak_ptr< Zen::Imageimage

Detailed Description

Definition at line 7 of file ZEN_Texture.h.

Constructor & Destructor Documentation

◆ Texture()

Zen::Texture::Texture ( const char * textureName,
std::weak_ptr< Zen::Image > image )
inline

Definition at line 15 of file ZEN_Texture.h.

Member Data Documentation

◆ height

uint32_t Zen::Texture::height {0}

Definition at line 10 of file ZEN_Texture.h.

◆ id

uint32_t Zen::Texture::id

Definition at line 8 of file ZEN_Texture.h.

◆ image

std::weak_ptr<Zen::Image> Zen::Texture::image

Definition at line 13 of file ZEN_Texture.h.

◆ textureName

const char* Zen::Texture::textureName

Definition at line 11 of file ZEN_Texture.h.

◆ width

uint32_t Zen::Texture::width {0}

Definition at line 9 of file ZEN_Texture.h.


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