Radium Engine  1.5.20
Loading...
Searching...
No Matches
Ra::Core::Utils::ContainerIntrospectionInterface Class Referenceabstract

This class defines the introspection interface a container need to implement. More...

#include <Core/Utils/ContainerIntrospectionInterface.hpp>

+ Inheritance diagram for Ra::Core::Utils::ContainerIntrospectionInterface:
+ Collaboration diagram for Ra::Core::Utils::ContainerIntrospectionInterface:

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
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ ~ContainerIntrospectionInterface()

virtual Ra::Core::Utils::ContainerIntrospectionInterface::~ContainerIntrospectionInterface ( )
inlinevirtual

only needed for correct abstract dtor call.

Definition at line 17 of file ContainerIntrospectionInterface.hpp.

Member Function Documentation

◆ dataPtr()

◆ getBufferSize()

◆ getNumberOfComponents()

◆ getSize()

◆ getStride()


The documentation for this class was generated from the following file: