RAMSES Documentation  27.0.130
Information for RAMSES users and developers
TextureCube.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_TEXTURECUBE_H
10 #define RAMSES_TEXTURECUBE_H
11 
16 #include "TextureSwizzle.h"
17 
18 
19 namespace ramses
20 {
26  {
27  public:
28 
32  class TextureCubeImpl& impl;
33 
39  uint32_t getSize() const;
40 
47 
54 
55  protected:
59  friend class SceneImpl;
60 
66  explicit TextureCube(TextureCubeImpl& pimpl);
67 
71  virtual ~TextureCube();
72  };
73 }
74 
75 #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
TextureCube stores pixel data with 6 equally sized quadratic faces.
Definition: TextureCube.h:26
uint32_t getSize() const
Gets cube texture edge length.
ETextureFormat getTextureFormat() const
Gets texture format.
class TextureCubeImpl & impl
Definition: TextureCube.h:32
const TextureSwizzle & getTextureSwizzle() const
Gets swizzle description.
virtual ~TextureCube()
Destructor of the TextureCube.
TextureCube(TextureCubeImpl &pimpl)
Constructor of TextureCube.
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
Information of how color channels of a texture are reordered or set to fixed value (one,...
Definition: TextureSwizzle.h:23