Cinder  0.9.1
Public Member Functions | Public Attributes | List of all members
cinder::gl::TextureData::Level Struct Reference

#include <Texture.h>

Public Member Functions

size_t getNumFaces () const
 
const FacegetFace (size_t index) const
 
const std::vector< Face > & getFaces () const
 
std::vector< Face > & getFaces ()
 
Faceback ()
 
void push_back (const Face &face)
 

Public Attributes

GLsizei width
 
GLsizei height
 
GLsizei depth
 
std::vector< FacemFaces
 

Detailed Description

Represents a single mip-level, composed of 1 or more Faces.

Member Function Documentation

size_t cinder::gl::TextureData::Level::getNumFaces ( ) const
const Face& cinder::gl::TextureData::Level::getFace ( size_t  index) const
const std::vector<Face>& cinder::gl::TextureData::Level::getFaces ( ) const
std::vector<Face>& cinder::gl::TextureData::Level::getFaces ( )
Face& cinder::gl::TextureData::Level::back ( )
void cinder::gl::TextureData::Level::push_back ( const Face face)

Member Data Documentation

GLsizei cinder::gl::TextureData::Level::width
GLsizei cinder::gl::TextureData::Level::height
GLsizei cinder::gl::TextureData::Level::depth
std::vector<Face> cinder::gl::TextureData::Level::mFaces

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