RAMSES Documentation  27.0.130
Information for RAMSES users and developers
DataMatrix44f.h
Go to the documentation of this file.
1 // -------------------------------------------------------------------------
2 // Copyright (C) 2016 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_DATAMATRIX44F_H
10 #define RAMSES_DATAMATRIX44F_H
11 
13 
14 namespace ramses
15 {
16  class DataObjectImpl;
17 
22  {
23  public:
31  status_t setValue(const float(&matrixElements)[16]);
32 
40  status_t getValue(float(&matrixElements)[16]) const;
41 
42  protected:
46  friend class SceneImpl;
47 
53  explicit DataMatrix44f(DataObjectImpl& pimpl);
54 
58  virtual ~DataMatrix44f();
59  };
60 }
61 
62 #endif
#define RAMSES_API
Definition: APIExport.h:35
The DataMatrix44f data object stores a matrix with 16 float components (4 rows, 4 columns) within a s...
Definition: DataMatrix44f.h:22
DataMatrix44f(DataObjectImpl &pimpl)
Constructor of DataMatrix44f.
status_t getValue(float(&matrixElements)[16]) const
Gets all stored values of the matrix.
virtual ~DataMatrix44f()
Destructor of the UniformDataVector4f.
status_t setValue(const float(&matrixElements)[16])
Sets/updates the stored values of the matrix.
The DataObject is a base class for data container for storing data in a scene.
Definition: DataObject.h:29
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