GLI  0.6.0
Public Types | Public Member Functions | List of all members
textureCube Class Reference

Public Types

typedef storage::dim2_type dim_type
 
typedef storage::size_type face_type
 
typedef storage::format_type format_type
 
typedef storage::size_type layer_type
 
typedef storage::size_type level_type
 
typedef storage::size_type size_type
 
typedef storage::texcoord3_type texcoord_type
 

Public Member Functions

size_type baseFace () const
 
size_type baseLayer () const
 
size_type baseLevel () const
 
void clear ()
 
template<typename genType >
void clear (genType const &Texel)
 
void * data ()
 
void const * data () const
 
template<typename genType >
genType * data ()
 
template<typename genType >
genType const * data () const
 
dim_type dimensions () const
 
bool empty () const
 
size_type faces () const
 
format_type format () const
 
size_type layers () const
 
size_type levels () const
 
size_type maxFace () const
 
size_type maxLayer () const
 
size_type maxLevel () const
 
 operator storage () const
 
texture2D operator[] (size_type const &Face) const
 
size_type size () const
 
template<typename genType >
size_type size () const
 
 textureCube ()
 
 textureCube (size_type const &Faces, size_type const &Levels, format_type const &Format, dim_type const &Dimensions)
 
 textureCube (size_type const &Faces, format_type const &Format, dim_type const &Dimensions)
 
 textureCube (storage const &Storage)
 
 textureCube (storage const &Storage, format_type const &Format, size_type BaseLayer, size_type MaxLayer, size_type BaseFace, size_type MaxFace, size_type BaseLevel, size_type MaxLevel)
 
 textureCube (textureCube const &Texture, size_type const &BaseFace, size_type const &MaxFace, size_type const &BaseLevel, size_type const &MaxLevel)
 
 textureCube (textureCubeArray const &Texture, size_type const &BaseLayer, size_type const &BaseFace, size_type const &MaxFace, size_type const &BaseLevel, size_type const &MaxLevel)
 
 textureCube (texture2D const &Texture, size_type const &BaseLevel, size_type const &MaxLevel)
 

Detailed Description

Definition at line 38 of file texture_cube.hpp.

Member Typedef Documentation

Definition at line 41 of file texture_cube.hpp.

Definition at line 47 of file texture_cube.hpp.

Definition at line 44 of file texture_cube.hpp.

Definition at line 45 of file texture_cube.hpp.

Definition at line 46 of file texture_cube.hpp.

Definition at line 43 of file texture_cube.hpp.

Definition at line 42 of file texture_cube.hpp.

Constructor & Destructor Documentation

textureCube ( size_type const &  Faces,
size_type const &  Levels,
format_type const &  Format,
dim_type const &  Dimensions 
)
explicit

Create a textureCube and allocate a new storage.

textureCube ( size_type const &  Faces,
format_type const &  Format,
dim_type const &  Dimensions 
)
explicit

Create a textureCube and allocate a new storage with a complete mipmap chain.

textureCube ( storage const &  Storage)
explicit

Create a texture2D view with an existing storage.

textureCube ( storage const &  Storage,
format_type const &  Format,
size_type  BaseLayer,
size_type  MaxLayer,
size_type  BaseFace,
size_type  MaxFace,
size_type  BaseLevel,
size_type  MaxLevel 
)
explicit

Create a texture2D view with an existing storage.

textureCube ( textureCube const &  Texture,
size_type const &  BaseFace,
size_type const &  MaxFace,
size_type const &  BaseLevel,
size_type const &  MaxLevel 
)
explicit

Create a textureCube view, reference a subset of an existing textureCube instance.

textureCube ( textureCubeArray const &  Texture,
size_type const &  BaseLayer,
size_type const &  BaseFace,
size_type const &  MaxFace,
size_type const &  BaseLevel,
size_type const &  MaxLevel 
)
explicit

Create a textureCube view, reference a subset of an existing textureCubeArray instance.

textureCube ( texture2D const &  Texture,
size_type const &  BaseLevel,
size_type const &  MaxLevel 
)
explicit

Create a textureCube view, reference a subset of an existing texture2D instance.

Member Function Documentation

size_type baseFace ( ) const
size_type baseLayer ( ) const
size_type baseLevel ( ) const
void clear ( )
void clear ( genType const &  Texel)
void* data ( )
void const* data ( ) const
genType* data ( )
genType const* data ( ) const
dim_type dimensions ( ) const
bool empty ( ) const
size_type faces ( ) const
format_type format ( ) const
size_type layers ( ) const
size_type levels ( ) const
size_type maxFace ( ) const
size_type maxLayer ( ) const
size_type maxLevel ( ) const
operator storage ( ) const
texture2D operator[] ( size_type const &  Face) const
size_type size ( ) const
size_type size ( ) const