RAMSES Documentation  27.0.130
Information for RAMSES users and developers
StreamTexture.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_STREAMTEXTURE_H
10 #define RAMSES_STREAMTEXTURE_H
11 
13 
14 namespace ramses
15 {
25  {
26  public:
30  class StreamTextureImpl& impl;
31 
41  status_t forceFallbackImage(bool forceFallbackImage);
42 
48  bool getForceFallbackImage() const;
49 
56 
57  protected:
61  friend class SceneImpl;
62 
68  explicit StreamTexture(StreamTextureImpl& impl);
69 
73  virtual ~StreamTexture();
74  };
75 }
76 
77 #endif
#define RAMSES_API
Definition: APIExport.h:35
The SceneObject is a base class for all client API objects owned by a Scene.
Definition: SceneObject.h:20
StreamTexture is a special kind of texture, which holds a reference to a "fallback texture" and a str...
Definition: StreamTexture.h:25
class StreamTextureImpl & impl
Definition: StreamTexture.h:30
virtual ~StreamTexture()
Destructor of the StreamTexture.
StreamTexture(StreamTextureImpl &impl)
Constructor of StreamTexture.
waylandIviSurfaceId_t getStreamSourceId() const
Get the stream source id used for compositing on the stream texture.
bool getForceFallbackImage() const
Get the current value, if fallback image is forced or not.
status_t forceFallbackImage(bool forceFallbackImage)
Force usage of fallback texture even if compositing source is available.
Helper class to create strongly typed values out of various types.
Definition: StronglyTypedValue.h:23
The RAMSES namespace contains all client side objects and functions used to implement RAMSES applicat...
Definition: AnimatedProperty.h:15
uint32_t status_t
Status is a handle to the result of an API call.
Definition: RamsesFrameworkTypes.h:26