jubilant-funicular
Public Member Functions | Public Attributes | List of all members
nta::RawTexture Struct Reference

#include <GLTexture.h>

Collaboration diagram for nta::RawTexture:
Collaboration graph
[legend]

Public Member Functions

bool operator== (const RawTexture &rhs) const
 

Public Attributes

GLuint width
 
GLuint height
 
GLenum format
 
GLubyte * data = nullptr
 Data stored on the heap.
 

Detailed Description

A loaded image (not tied to any specific GL context)

During program execution, no two RawTexture objects should represent the same image unless they have the same data pointer.

Definition at line 13 of file GLTexture.h.


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