0.6.1
Public Types | Public Member Functions | List of all members
texture2DArray Class Reference
Inheritance diagram for texture2DArray:
texture

Public Types

typedef dim2_t dim_type
 
typedef vec3 texcoord_type
 
- Public Types inherited from texture
typedef format format_type
 
typedef size_t size_type
 

Public Member Functions

dim_type dimensions () const
 
 operator storage () const
 
texture2D operator[] (size_type const &Layer) const
 
 texture2DArray ()
 
 texture2DArray (size_type const &Layers, size_type const &Levels, format_type const &Format, dim_type const &Dimensions)
 
 texture2DArray (size_type const &Layers, format_type const &Format, dim_type const &Dimensions)
 
 texture2DArray (storage const &Storage)
 
 texture2DArray (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)
 
 texture2DArray (texture2DArray const &Texture, size_type const &BaseLayer, size_type const &MaxLayer, size_type const &BaseLevel, size_type const &MaxLevel)
 
 texture2DArray (texture2D const &Texture, size_type const &BaseLevel, size_type const &MaxLevel)
 
- Public Member Functions inherited from texture
size_type baseFace () const
 
size_type baseLayer () const
 
size_type baseLevel () const
 
void clear ()
 
template<typename genType >
void clear (genType const &Texel)
 
void * data ()
 
template<typename genType >
genType * data ()
 
void const * data () const
 
template<typename genType >
genType const * data () 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
 
size_type size () const
 
template<typename genType >
size_type size () const
 
 texture ()
 
 texture (size_type const &Layers, size_type const &Faces, size_type const &Levels, format_type const &Format, storage::dim_type const &Dimensions)
 
 texture (storage const &Storage)
 
 texture (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)
 

Additional Inherited Members

- Protected Attributes inherited from texture
size_type const BaseFace
 
size_type const BaseLayer
 
size_type const BaseLevel
 
void *const Data
 
format_type const Format
 
size_type const MaxFace
 
size_type const MaxLayer
 
size_type const MaxLevel
 
size_type const Size
 
storage Storage
 

Detailed Description

Definition at line 35 of file texture2d_array.hpp.

Member Typedef Documentation

typedef dim2_t dim_type

Definition at line 38 of file texture2d_array.hpp.

Definition at line 39 of file texture2d_array.hpp.

Constructor & Destructor Documentation

texture2DArray ( size_type const &  Layers,
size_type const &  Levels,
format_type const &  Format,
dim_type const &  Dimensions 
)
explicit

Create a texture2DArray and allocate a new storage.

texture2DArray ( size_type const &  Layers,
format_type const &  Format,
dim_type const &  Dimensions 
)
explicit

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

texture2DArray ( storage const &  Storage)
explicit

Create a texture2DArray view with an existing storage.

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

texture2DArray ( texture2DArray const &  Texture,
size_type const &  BaseLayer,
size_type const &  MaxLayer,
size_type const &  BaseLevel,
size_type const &  MaxLevel 
)
explicit

Create a texture view, reference a subset of an exiting texture2DArray instance.

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

Create a texture view, reference a subset of an exiting texture2D instance.

Member Function Documentation

dim_type dimensions ( ) const
operator storage ( ) const
texture2D operator[] ( size_type const &  Layer) const