| 0.6.1

- Main Page
- Modules
- Namespaces
- Classes
- Files

- File List
- File Members

texture2d_array.hpp
Go to the documentation of this file.
1
29 #pragma once
30
31 #include "texture2d.hpp"
32
33 namespace gli
34 {
35 class texture2DArray : public texture
36 {
37 public:
38 typedef dim2_t dim_type;
39 typedef vec3 texcoord_type;
40
41 public:
42 texture2DArray();
43
45 explicit texture2DArray(
46 size_type const & Layers,
47 size_type const & Levels,
48 format_type const & Format,
49 dim_type const & Dimensions);
50
52 explicit texture2DArray(
53 size_type const & Layers,
54 format_type const & Format,
55 dim_type const & Dimensions);
56
58 explicit texture2DArray(
59 storage const & Storage);
60
62 explicit texture2DArray(
63 storage const & Storage,
64 format_type const & Format,
65 size_type BaseLayer, size_type MaxLayer,
66 size_type BaseFace, size_type MaxFace,
67 size_type BaseLevel, size_type MaxLevel);
68
70 explicit texture2DArray(
71 texture2DArray const & Texture,
72 size_type const & BaseLayer, size_type const & MaxLayer,
73 size_type const & BaseLevel, size_type const & MaxLevel);
74
76 explicit texture2DArray(
77 texture2D const & Texture,
78 size_type const & BaseLevel, size_type const & MaxLevel);
79
80 operator storage() const;
81
82 texture2D operator[](size_type const & Layer) const;
83
84 dim_type dimensions() const;
85 };
86 }//namespace gli
gli::texture::size_type
size_t size_type
Definition: texture.hpp:38
gli::texture2DArray::texture2DArray
texture2DArray()
gli::texture2DArray::dimensions
dim_type dimensions() const
gli::texture2D
texture2D
Definition: texture2d.hpp:40
gli::texture::MaxLayer
size_type const MaxLayer
Definition: texture.hpp:93
gli::format
format
Definition: format.hpp:33
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
texture2d.hpp
OpenGL Image (gli.g-truc.net)
gli::texture::MaxFace
size_type const MaxFace
Definition: texture.hpp:95
gli::texture2DArray::operator[]
texture2D operator[](size_type const &Layer) const
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::texture2DArray::texcoord_type
vec3 texcoord_type
Definition: texture2d_array.hpp:39
gli::texture::BaseLevel
size_type const BaseLevel
Definition: texture.hpp:96
gli::texture2DArray
Definition: texture2d_array.hpp:35
gli
Definition: addressing.hpp:33
gli::texture2DArray::dim_type
dim2_t dim_type
Definition: texture2d_array.hpp:38
gli::vec3
glm::vec3 vec3
Definition: type.hpp:53
gli::texture
Definition: texture.hpp:35