0.6.1
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;
42 
43  public:
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,
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 
size_t size_type
Definition: texture.hpp:38
size_type const MaxLayer
Definition: texture.hpp:93
dim_type dimensions() const
format
Definition: format.hpp:33
size_type const BaseFace
Definition: texture.hpp:94
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
texture1D operator[](size_type const &Layer) const
glm::vec1 vec1
Definition: type.hpp:51
size_type const BaseLevel
Definition: texture.hpp:96
glm::tvec1< size_t > dim1_t
Definition: type.hpp:47
OpenGL Image (gli.g-truc.net)