GLI  0.5.0
Public Types | Public Member Functions | List of all members
texture3D Class Reference

Public Types

typedef storage::dimensions3_type dimensions_type
 
typedef gli::format format_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
 
dimensions_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
 
image operator[] (size_type const &Level) const
 
size_type size () const
 
template<typename genType >
size_type size () const
 
 texture3D ()
 
 texture3D (size_type const &Levels, format_type const &Format, dimensions_type const &Dimensions)
 
 texture3D (format_type const &Format, dimensions_type const &Dimensions)
 
 texture3D (storage const &Storage)
 
 texture3D (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)
 
 texture3D (texture3D const &Texture, size_type const &BaseLevel, size_type const &MaxLevel)
 

Detailed Description

Definition at line 36 of file texture3d.hpp.

Member Typedef Documentation

Definition at line 39 of file texture3d.hpp.

Definition at line 42 of file texture3d.hpp.

Definition at line 41 of file texture3d.hpp.

Definition at line 40 of file texture3d.hpp.

Constructor & Destructor Documentation

texture3D ( )
texture3D ( size_type const &  Levels,
format_type const &  Format,
dimensions_type const &  Dimensions 
)
explicit

Create a texture3D and allocate a new storage.

texture3D ( format_type const &  Format,
dimensions_type const &  Dimensions 
)
explicit

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

texture3D ( storage const &  Storage)
explicit

Create a texture3D view with an existing storage.

texture3D ( 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 texture3D view with an existing storage.

texture3D ( texture3D const &  Texture,
size_type const &  BaseLevel,
size_type const &  MaxLevel 
)
explicit

Create a texture3D view, reference a subset of an existing texture3D 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
dimensions_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
image operator[] ( size_type const &  Level) const
size_type size ( ) const
size_type size ( ) const