Radium Engine  1.5.20
Loading...
Searching...
No Matches
ContainerIntrospectionInterface.hpp
1#pragma once
2#include <Core/RaCore.hpp>
3
4namespace Ra {
5namespace Core {
6namespace Utils {
7
14{
15 public:
19 virtual size_t getSize() const = 0;
20
24 virtual size_t getNumberOfComponents() const = 0;
25
27 virtual size_t getBufferSize() const = 0;
28
32 virtual int getStride() const = 0;
33
35 virtual const void* dataPtr() const = 0;
36};
37
38} // namespace Utils
39} // namespace Core
40} // namespace Ra
This class defines the introspection interface a container need to implement.
virtual const void * dataPtr() const =0
virtual ~ContainerIntrospectionInterface()
only needed for correct abstract dtor call.
hepler function to manage enum as underlying types in VariableSet
Definition Cage.cpp:3