| 0.6.1

- Main Page
- Modules
- Namespaces
- Classes
- Files

- File List
- File Members

texture1d_array.hpp
Go to the documentation of this file.
1
29 #pragma once
30
31 #include "texture1d.hpp"
32
33 namespace gli
34 {
35 class texture1D;
36
37 class texture1DArray : public texture
38 {
39 public:
40 typedef dim1_t dim_type;
41 typedef vec1 texcoord_type;
42
43 public:
44 texture1DArray();
45
47 explicit texture1DArray(
48 size_type const & Layers,
49 size_type const & Levels,
50 format_type const & Format,
51 dim_type const & Dimensions);
52
54 explicit texture1DArray(
55 size_type const & Layers,
56 format_type const & Format,
57 dim_type const & Dimensions);
58
60 explicit texture1DArray(
61 storage const & Storage);
62
64 explicit texture1DArray(
65 storage const & Storage,
66 format_type const & Format,
67 size_type BaseLayer, size_type MaxLayer,
68 size_type BaseFace, size_type MaxFace,
69 size_type BaseLevel, size_type MaxLevel);
70
72 explicit texture1DArray(
73 texture1DArray const & Texture,
74 size_type const & BaseLayer, size_type const & MaxLayer,
75 size_type const & BaseLevel, size_type const & MaxLevel);
76
78 explicit texture1DArray(
79 texture1D const & Texture,
80 size_type const & BaseLevel, size_type const & MaxLevel);
81
82 operator storage() const;
83 texture1D operator[](size_type const & Layer) const;
84
85 dim_type dimensions() const;
86 };
87 }//namespace gli
88
89
gli::texture::size_type
size_t size_type
Definition: texture.hpp:38
gli::texture::MaxLayer
size_type const MaxLayer
Definition: texture.hpp:93
gli::texture1DArray::dimensions
dim_type dimensions() const
gli::format
format
Definition: format.hpp:33
gli::texture1DArray::dim_type
dim1_t dim_type
Definition: texture1d_array.hpp:40
gli::texture::BaseFace
size_type const BaseFace
Definition: texture.hpp:94
gli::storage
Definition: storage.hpp:56
gli::texture1DArray::texcoord_type
vec1 texcoord_type
Definition: texture1d_array.hpp:41
gli::texture::BaseLayer
size_type const BaseLayer
Definition: texture.hpp:92
gli::texture1DArray
Definition: texture1d_array.hpp:37
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::texture1DArray::texture1DArray
texture1DArray()
gli::texture::Format
format_type const Format
Definition: texture.hpp:91
gli::texture1DArray::operator[]
texture1D operator[](size_type const &Layer) const
gli::vec1
glm::vec1 vec1
Definition: type.hpp:51
gli::texture::BaseLevel
size_type const BaseLevel
Definition: texture.hpp:96
gli
Definition: addressing.hpp:33
gli::texture1D
Definition: texture1d.hpp:37
gli::dim1_t
glm::tvec1< size_t > dim1_t
Definition: type.hpp:47
texture1d.hpp
OpenGL Image (gli.g-truc.net)
gli::texture
Definition: texture.hpp:35