0.6.1
texture_cube_array.hpp
Go to the documentation of this file.
1 
29 #pragma once
30 
31 #include "image.hpp"
32 
33 namespace gli
34 {
35  class textureCube;
36  class texture2D;
37 
38  class textureCubeArray : public texture
39  {
40  public:
41  typedef dim2_t dim_type;
43 
44  public:
46 
48  explicit textureCubeArray(
49  size_type const & Layers,
50  size_type const & Faces,
51  size_type const & Levels,
52  format_type const & Format,
53  dim_type const & Dimensions);
54 
56  explicit textureCubeArray(
57  size_type const & Layers,
58  size_type const & Faces,
59  format_type const & Format,
60  dim_type const & Dimensions);
61 
63  explicit textureCubeArray(
64  storage const & Storage);
65 
67  explicit textureCubeArray(
68  storage const & Storage,
69  format_type const & Format,
76 
78  explicit textureCubeArray(
79  textureCubeArray const & Texture,
80  size_type const & BaseLayer,
81  size_type const & MaxLayer,
82  size_type const & BaseFace,
83  size_type const & MaxFace,
84  size_type const & BaseLevel,
85  size_type const & MaxLevel);
86 
88  explicit textureCubeArray(
89  textureCube const & Texture,
90  size_type const & BaseFace,
91  size_type const & MaxFace,
92  size_type const & BaseLevel,
93  size_type const & MaxLevel);
94 
96  explicit textureCubeArray(
97  texture2D const & Texture,
98  size_type const & BaseLevel,
99  size_type const & MaxLevel);
100 
101  operator storage() const;
102  textureCube operator[] (size_type const & Layer) const;
103 
104  dim_type dimensions() const;
105  };
106 }//namespace gli
size_t size_type
Definition: texture.hpp:38
texture2D
Definition: texture2d.hpp:40
size_type const MaxLayer
Definition: texture.hpp:93
OpenGL Image (gli.g-truc.net)
textureCube operator[](size_type const &Layer) const
format
Definition: format.hpp:33
dim_type dimensions() const
glm::vec4 vec4
Definition: type.hpp:54
size_type const BaseFace
Definition: texture.hpp:94
glm::tvec2< size_t > dim2_t
Definition: type.hpp:48
size_type const BaseLayer
Definition: texture.hpp:92
size_type const MaxFace
Definition: texture.hpp:95
storage Storage
Definition: texture.hpp:90
size_type const MaxLevel
Definition: texture.hpp:97
format_type const Format
Definition: texture.hpp:91
size_type const BaseLevel
Definition: texture.hpp:96