Unofficial OpenGL Software Development Kit  0.5.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
List of all members | Public Member Functions | Public Attributes
glimg::Dimensions Struct Reference

#include <ImageSet.h>

Describes the dimensionality of an image.

Public Member Functions

int NumLines () const
 Computes the number of rows of pixel data in the image.
 

Public Attributes

int numDimensions
 The number of dimensions of an image. Can be 1, 2, or 3.
 
int width
 The width of the image. Always valid.
 
int height
 The height of the image. Only valid if numDimensions is 2 or 3.
 
int depth
 The depth of the image. Only valid if numDimensions is 3.
 

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