Ion
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
ion::gfx::ResourceManager::TextureResourceInfo Struct Reference

#include "resourcemanager.h"

Inheritance diagram for ion::gfx::ResourceManager::TextureResourceInfo:
Collaboration diagram for ion::gfx::ResourceManager::TextureResourceInfo:

Public Attributes

GLenum unit
 The texture unit the texture is bound to. More...
 
GLuint sampler
 The sampler that is currently bound to the same unit as the texture. More...
 
GLuint width
 The dimensions of the texture. More...
 
GLuint height
 
Image::Format format
 The format of the texture. More...
 
GLuint id
 OpenGL object id. More...
 
std::string label
 The label of the ResourceHolder that owns the Resource. More...
 

Detailed Description

Definition at line 112 of file resourcemanager.h.

Member Data Documentation

Image::Format ion::gfx::ResourceManager::TextureResourceInfo::format

The format of the texture.

Definition at line 121 of file resourcemanager.h.

GLuint ion::gfx::ResourceManager::TextureResourceInfo::height

Definition at line 119 of file resourcemanager.h.

GLuint ion::gfx::ResourceManager::ResourceInfo::id
inherited

OpenGL object id.

Definition at line 86 of file resourcemanager.h.

std::string ion::gfx::ResourceManager::ResourceInfo::label
inherited

The label of the ResourceHolder that owns the Resource.

Definition at line 88 of file resourcemanager.h.

GLuint ion::gfx::ResourceManager::TextureResourceInfo::sampler

The sampler that is currently bound to the same unit as the texture.

Definition at line 116 of file resourcemanager.h.

GLenum ion::gfx::ResourceManager::TextureResourceInfo::unit

The texture unit the texture is bound to.

Definition at line 114 of file resourcemanager.h.

GLuint ion::gfx::ResourceManager::TextureResourceInfo::width

The dimensions of the texture.

Definition at line 118 of file resourcemanager.h.


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