webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Public Member Functions | Static Public Member Functions | Public Attributes | Static Public Attributes | Friends | List of all members
gl::ImageIndex Struct Reference

#include <ImageIndex.h>

Public Member Functions

 ImageIndex (const ImageIndex &other)
 
ImageIndexoperator= (const ImageIndex &other)
 
bool hasLayer () const
 
bool is3D () const
 
bool operator< (const ImageIndex &other) const
 
bool operator== (const ImageIndex &other) const
 
bool operator!= (const ImageIndex &other) const
 

Static Public Member Functions

static ImageIndex Make2D (GLint mipIndex)
 
static ImageIndex MakeCube (GLenum target, GLint mipIndex)
 
static ImageIndex Make2DArray (GLint mipIndex, GLint layerIndex)
 
static ImageIndex Make3D (GLint mipIndex, GLint layerIndex=ENTIRE_LEVEL)
 
static ImageIndex MakeGeneric (GLenum target, GLint mipIndex)
 
static ImageIndex MakeInvalid ()
 

Public Attributes

GLenum type
 
GLint mipIndex
 
GLint layerIndex
 

Static Public Attributes

static const GLint ENTIRE_LEVEL = static_cast<GLint>(-1)
 

Friends

class ImageIndexIterator
 

Constructor & Destructor Documentation

◆ ImageIndex()

gl::ImageIndex::ImageIndex ( const ImageIndex other)

Member Function Documentation

◆ hasLayer()

bool gl::ImageIndex::hasLayer ( ) const
inline

◆ is3D()

bool gl::ImageIndex::is3D ( ) const

◆ Make2D()

ImageIndex gl::ImageIndex::Make2D ( GLint  mipIndex)
static

◆ Make2DArray()

ImageIndex gl::ImageIndex::Make2DArray ( GLint  mipIndex,
GLint  layerIndex 
)
static

◆ Make3D()

ImageIndex gl::ImageIndex::Make3D ( GLint  mipIndex,
GLint  layerIndex = ENTIRE_LEVEL 
)
static

◆ MakeCube()

ImageIndex gl::ImageIndex::MakeCube ( GLenum  target,
GLint  mipIndex 
)
static

◆ MakeGeneric()

ImageIndex gl::ImageIndex::MakeGeneric ( GLenum  target,
GLint  mipIndex 
)
static

◆ MakeInvalid()

ImageIndex gl::ImageIndex::MakeInvalid ( )
static

◆ operator!=()

bool gl::ImageIndex::operator!= ( const ImageIndex other) const

◆ operator<()

bool gl::ImageIndex::operator< ( const ImageIndex other) const

◆ operator=()

ImageIndex & gl::ImageIndex::operator= ( const ImageIndex other)

◆ operator==()

bool gl::ImageIndex::operator== ( const ImageIndex other) const

Friends And Related Function Documentation

◆ ImageIndexIterator

friend class ImageIndexIterator
friend

Member Data Documentation

◆ ENTIRE_LEVEL

const GLint gl::ImageIndex::ENTIRE_LEVEL = static_cast<GLint>(-1)
static

◆ layerIndex

GLint gl::ImageIndex::layerIndex

◆ mipIndex

GLint gl::ImageIndex::mipIndex

◆ type

GLenum gl::ImageIndex::type

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