| 0.6.1

- Main Page
- Modules
- Namespaces
- Classes
- Files

- File List
- File Members

texture1d.hpp
Go to the documentation of this file.
1
29 #pragma once
30
31 #include "image.hpp"
32
33 namespace gli
34 {
35 class texture1DArray;
36
37 class texture1D : public texture
38 {
39 public:
40 typedef dim1_t dim_type;
41 typedef vec1 texcoord_type;
42
43 public:
44 texture1D();
45
47 explicit texture1D(
48 size_type const & Levels,
49 format_type const & Format,
50 dim_type const & Dimensions);
51
53 explicit texture1D(
54 format_type const & Format,
55 dim_type const & Dimensions);
56
58 explicit texture1D(
59 storage const & Storage);
60
62 explicit texture1D(
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 texture1D(
71 texture1D const & Texture,
72 size_type const & BaseLevel, size_type const & MaxLevel);
73
75 explicit texture1D(
76 texture1DArray const & Texture,
77 size_type const & BaseLayer,
78 size_type const & BaseLevel, size_type const & MaxLevel);
79
80 operator storage() const;
81 image operator[] (size_type const & Level) const;
82
83 dim_type dimensions() const;
84 };
85 }//namespace gli
gli::texture::size_type
size_t size_type
Definition: texture.hpp:38
gli::texture::MaxLayer
size_type const MaxLayer
Definition: texture.hpp:93
image.hpp
OpenGL Image (gli.g-truc.net)
gli::texture1D::operator[]
image operator[](size_type const &Level) const
gli::format
format
Definition: format.hpp:33
gli::texture1D::texture1D
texture1D()
gli::texture::BaseFace
size_type const BaseFace
Definition: texture.hpp:94
gli::texture1D::dimensions
dim_type dimensions() const
gli::storage
Definition: storage.hpp:56
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::texture1D::dim_type
dim1_t dim_type
Definition: texture1d.hpp:40
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::image
Image.
Definition: image.hpp:41
gli::texture1D::texcoord_type
vec1 texcoord_type
Definition: texture1d.hpp:41
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
gli::texture
Definition: texture.hpp:35