3D City v-1.0
Computer Graphics Project
texture Struct Reference

Texture class to hold image data. More...

#include <material.h>

Public Member Functions

 ~texture ()
 

Public Attributes

unsigned char * m_data = nullptr
 
int w = 0
 
int h = 0
 
int m_bpp
 

Detailed Description

Texture class to hold image data.

Definition at line 10 of file material.h.

Constructor & Destructor Documentation

◆ ~texture()

texture::~texture ( )
inline

Definition at line 14 of file material.h.

Member Data Documentation

◆ h

int texture::h = 0

Definition at line 13 of file material.h.

◆ m_bpp

int texture::m_bpp

Definition at line 13 of file material.h.

◆ m_data

unsigned char* texture::m_data = nullptr

Definition at line 11 of file material.h.

◆ w

int texture::w = 0

Definition at line 13 of file material.h.