Radium Engine
1.5.20
|
This class defines the introspection interface a container need to implement. More...
#include <Core/Utils/ContainerIntrospectionInterface.hpp>
Public Member Functions | |
virtual | ~ContainerIntrospectionInterface () |
only needed for correct abstract dtor call. | |
virtual size_t | getSize () const =0 |
virtual size_t | getNumberOfComponents () const =0 |
virtual size_t | getBufferSize () const =0 |
virtual int | getStride () const =0 |
virtual const void * | dataPtr () const =0 |
This class defines the introspection interface a container need to implement.
This API allows to parse and copy contained element, or send/map to GPU buffer, given a generic pointer to the container. Typical usage are shown in Ra::Core::Utils::Attrib or Ra::Core::Geometry::IndexedGeometry This "interface" do not contain any data.
Definition at line 13 of file ContainerIntrospectionInterface.hpp.
|
inlinevirtual |
only needed for correct abstract dtor call.
Definition at line 17 of file ContainerIntrospectionInterface.hpp.
|
pure virtual |
Implemented in Ra::Core::Geometry::GeometryIndexLayer< T >, Ra::Core::Geometry::GeometryIndexLayer< Vector1ui >, Ra::Core::Geometry::GeometryIndexLayer< Vector2ui >, Ra::Core::Geometry::GeometryIndexLayer< Vector3ui >, Ra::Core::Geometry::GeometryIndexLayer< Vector4ui >, Ra::Core::Geometry::GeometryIndexLayer< VectorNui >, Ra::Core::Utils::Attrib< T >, Ra::Core::VectorArray< V >, Ra::Core::VectorArray< IndexType >, Ra::Core::VectorArray< Ra::Core::Vector3ui >, Ra::Core::VectorArray< Scalar >, Ra::Core::VectorArray< T >, Ra::Core::VectorArray< Vector >, Ra::Core::VectorArray< Vector2 >, Ra::Core::VectorArray< Vector3 >, and Ra::Core::VectorArray< Vector4 >.
|
pure virtual |
Implemented in Ra::Core::Geometry::GeometryIndexLayer< T >, Ra::Core::Geometry::GeometryIndexLayer< Vector1ui >, Ra::Core::Geometry::GeometryIndexLayer< Vector2ui >, Ra::Core::Geometry::GeometryIndexLayer< Vector3ui >, Ra::Core::Geometry::GeometryIndexLayer< Vector4ui >, Ra::Core::Geometry::GeometryIndexLayer< VectorNui >, Ra::Core::Utils::Attrib< T >, Ra::Core::VectorArray< V >, Ra::Core::VectorArray< IndexType >, Ra::Core::VectorArray< Ra::Core::Vector3ui >, Ra::Core::VectorArray< Scalar >, Ra::Core::VectorArray< T >, Ra::Core::VectorArray< Vector >, Ra::Core::VectorArray< Vector2 >, Ra::Core::VectorArray< Vector3 >, and Ra::Core::VectorArray< Vector4 >.
|
pure virtual |
Return the number of components of one element (i.e. for glVertexAttribPointer size argument )
Implemented in Ra::Core::Geometry::GeometryIndexLayer< T >, Ra::Core::Geometry::GeometryIndexLayer< Vector1ui >, Ra::Core::Geometry::GeometryIndexLayer< Vector2ui >, Ra::Core::Geometry::GeometryIndexLayer< Vector3ui >, Ra::Core::Geometry::GeometryIndexLayer< Vector4ui >, Ra::Core::Geometry::GeometryIndexLayer< VectorNui >, Ra::Core::Utils::Attrib< T >, Ra::Core::VectorArray< V >, Ra::Core::VectorArray< IndexType >, Ra::Core::VectorArray< Ra::Core::Vector3ui >, Ra::Core::VectorArray< Scalar >, Ra::Core::VectorArray< T >, Ra::Core::VectorArray< Vector >, Ra::Core::VectorArray< Vector2 >, Ra::Core::VectorArray< Vector3 >, and Ra::Core::VectorArray< Vector4 >.
|
pure virtual |
Implemented in Ra::Core::Geometry::GeometryIndexLayer< T >, Ra::Core::Geometry::GeometryIndexLayer< Vector1ui >, Ra::Core::Geometry::GeometryIndexLayer< Vector2ui >, Ra::Core::Geometry::GeometryIndexLayer< Vector3ui >, Ra::Core::Geometry::GeometryIndexLayer< Vector4ui >, Ra::Core::Geometry::GeometryIndexLayer< VectorNui >, Ra::Core::Utils::Attrib< T >, Ra::Core::VectorArray< V >, Ra::Core::VectorArray< IndexType >, Ra::Core::VectorArray< Ra::Core::Vector3ui >, Ra::Core::VectorArray< Scalar >, Ra::Core::VectorArray< T >, Ra::Core::VectorArray< Vector >, Ra::Core::VectorArray< Vector2 >, Ra::Core::VectorArray< Vector3 >, and Ra::Core::VectorArray< Vector4 >.
|
pure virtual |
Implemented in Ra::Core::Geometry::GeometryIndexLayer< T >, Ra::Core::Geometry::GeometryIndexLayer< Vector1ui >, Ra::Core::Geometry::GeometryIndexLayer< Vector2ui >, Ra::Core::Geometry::GeometryIndexLayer< Vector3ui >, Ra::Core::Geometry::GeometryIndexLayer< Vector4ui >, Ra::Core::Geometry::GeometryIndexLayer< VectorNui >, Ra::Core::Utils::Attrib< T >, Ra::Core::VectorArray< V >, Ra::Core::VectorArray< IndexType >, Ra::Core::VectorArray< Ra::Core::Vector3ui >, Ra::Core::VectorArray< Scalar >, Ra::Core::VectorArray< T >, Ra::Core::VectorArray< Vector >, Ra::Core::VectorArray< Vector2 >, Ra::Core::VectorArray< Vector3 >, and Ra::Core::VectorArray< Vector4 >.