| 0.6.1

- Main Page
- Modules
- Namespaces
- Classes
- Files

- File List
- File Members

texture3d.hpp
Go to the documentation of this file.
1
29 #pragma once
30
31 #include "image.hpp"
32
33 namespace gli
34 {
35 class texture3D : public texture
36 {
37 public:
38 typedef dim3_t dim_type;
39 typedef vec3 texcoord_type;
40
41 public:
42 texture3D();
43
45 explicit texture3D(
46 size_type const & Levels,
47 format_type const & Format,
48 dim_type const & Dimensions);
49
51 explicit texture3D(
52 format_type const & Format,
53 dim_type const & Dimensions);
54
56 explicit texture3D(
57 storage const & Storage);
58
60 explicit texture3D(
61 storage const & Storage,
62 format_type const & Format,
63 size_type BaseLayer, size_type MaxLayer,
64 size_type BaseFace, size_type MaxFace,
65 size_type BaseLevel, size_type MaxLevel);
66
68 explicit texture3D(
69 texture3D const & Texture,
70 size_type const & BaseLevel, size_type const & MaxLevel);
71
72 operator storage() const;
73 image operator[](size_type const & Level) const;
74
75 dim_type dimensions() const;
76 };
77 }//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::texture3D::texcoord_type
vec3 texcoord_type
Definition: texture3d.hpp:39
gli::format
format
Definition: format.hpp:33
gli::texture3D::dim_type
dim3_t dim_type
Definition: texture3d.hpp:38
gli::texture::BaseFace
size_type const BaseFace
Definition: texture.hpp:94
gli::texture3D::texture3D
texture3D()
gli::storage
Definition: storage.hpp:56
gli::texture::BaseLayer
size_type const BaseLayer
Definition: texture.hpp:92
gli::texture3D::dimensions
dim_type dimensions() const
gli::texture::MaxFace
size_type const MaxFace
Definition: texture.hpp:95
gli::texture3D
Definition: texture3d.hpp:35
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::dim3_t
glm::tvec3< size_t > dim3_t
Definition: type.hpp:49
gli::texture::BaseLevel
size_type const BaseLevel
Definition: texture.hpp:96
gli
Definition: addressing.hpp:33
gli::vec3
glm::vec3 vec3
Definition: type.hpp:53
gli::texture3D::operator[]
image operator[](size_type const &Level) const
gli::texture
Definition: texture.hpp:35