HPC_Voxel_Engine 0.2.0
High-Performance C++ Voxel Engine
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
Renderer::Texture Class Reference

#include <src/renderer/Texture.h>

Collaboration diagram for Renderer::Texture:
Collaboration graph

Public Member Functions

 Texture (const char *cPath)
 
 ~Texture ()
 
void Bind (unsigned int iSlot) const
 

Public Attributes

unsigned int ID
 
int width
 
int height
 
int nrChannels
 

Constructor & Destructor Documentation

◆ Texture()

Renderer::Texture::Texture ( const char *  cPath)
inline

◆ ~Texture()

Renderer::Texture::~Texture ( )
inline

Member Function Documentation

◆ Bind()

void Renderer::Texture::Bind ( unsigned int  iSlot) const
inline
Here is the caller graph for this function:

Member Data Documentation

◆ height

int Renderer::Texture::height

◆ ID

unsigned int Renderer::Texture::ID

◆ nrChannels

int Renderer::Texture::nrChannels

◆ width

int Renderer::Texture::width

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