| 0.6.1

- Main Page
- Modules
- Namespaces
- Classes
- Files

- File List
- File Members

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;
42 typedef vec4 texcoord_type;
43
44 public:
45 textureCubeArray();
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,
70 size_type BaseLayer,
71 size_type MaxLayer,
72 size_type BaseFace,
73 size_type MaxFace,
74 size_type BaseLevel,
75 size_type MaxLevel);
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
gli::texture::size_type
size_t size_type
Definition: texture.hpp:38
gli::texture2D
texture2D
Definition: texture2d.hpp:40
gli::texture::MaxLayer
size_type const MaxLayer
Definition: texture.hpp:93
gli::textureCubeArray::texcoord_type
vec4 texcoord_type
Definition: texture_cube_array.hpp:42
image.hpp
OpenGL Image (gli.g-truc.net)
gli::textureCubeArray::operator[]
textureCube operator[](size_type const &Layer) const
gli::format
format
Definition: format.hpp:33
gli::textureCubeArray::dimensions
dim_type dimensions() const
gli::vec4
glm::vec4 vec4
Definition: type.hpp:54
gli::texture::BaseFace
size_type const BaseFace
Definition: texture.hpp:94
gli::dim2_t
glm::tvec2< size_t > dim2_t
Definition: type.hpp:48
gli::storage
Definition: storage.hpp:56
gli::texture::BaseLayer
size_type const BaseLayer
Definition: texture.hpp:92
gli::textureCubeArray
Definition: texture_cube_array.hpp:38
gli::texture::MaxFace
size_type const MaxFace
Definition: texture.hpp:95
gli::texture::Storage
storage Storage
Definition: texture.hpp:90
gli::texture::MaxLevel
size_type const MaxLevel
Definition: texture.hpp:97
gli::texture::Format
format_type const Format
Definition: texture.hpp:91
gli::textureCube
Definition: texture_cube.hpp:38
gli::texture::BaseLevel
size_type const BaseLevel
Definition: texture.hpp:96
gli
Definition: addressing.hpp:33
gli::textureCubeArray::dim_type
dim2_t dim_type
Definition: texture_cube_array.hpp:41
gli::textureCubeArray::textureCubeArray
textureCubeArray()
gli::texture
Definition: texture.hpp:35