RAMSES Documentation  27.0.130
Information for RAMSES users and developers
Texture3D.h
Go to the documentation of this file.
1 // -------------------------------------------------------------------------
2 // Copyright (C) 2015 BMW Car IT GmbH
3 // -------------------------------------------------------------------------
4 // This Source Code Form is subject to the terms of the Mozilla Public
5 // License, v. 2.0. If a copy of the MPL was not distributed with this
6 // file, You can obtain one at https://mozilla.org/MPL/2.0/.
7 // -------------------------------------------------------------------------
8 
9 #ifndef RAMSES_TEXTURE3D_H
10 #define RAMSES_TEXTURE3D_H
11 
14 #include "TextureEnums.h"
15 
16 namespace ramses
17 {
21  class RAMSES_API Texture3D : public Resource
22  {
23  public:
27  class Texture3DImpl& impl;
28 
34  uint32_t getWidth() const;
35 
41  uint32_t getHeight() const;
42 
48  uint32_t getDepth() const;
49 
56 
57  protected:
61  friend class SceneImpl;
62 
68  explicit Texture3D(Texture3DImpl& pimpl);
69 
73  virtual ~Texture3D();
74 
75  private:
81  Texture3D(const Texture3D& other);
82 
89  Texture3D& operator=(const Texture3D& other);
90  };
91 }
92 
93 #endif
#define RAMSES_API
Definition: APIExport.h:35
The Resource is the base class of all resources, such as arrays and textures.
Definition: Resource.h:20
Texture represents a texture resource.
Definition: Texture3D.h:22
virtual ~Texture3D()
Destructor of the Texture.
Texture3D(Texture3DImpl &pimpl)
Constructor of Texture.
uint32_t getWidth() const
Gets texture width.
uint32_t getHeight() const
Gets texture height.
ETextureFormat getTextureFormat() const
Gets texture format.
uint32_t getDepth() const
Gets texture depth.
class Texture3DImpl & impl
Definition: Texture3D.h:27
The RAMSES namespace contains all client side objects and functions used to implement RAMSES applicat...
Definition: AnimatedProperty.h:15
ETextureFormat
Texture data format.
Definition: TextureEnums.h:40