neoGFX
Cross-platform C++ app/game engine
Loading...
Searching...
No Matches
neogfx::scene_graph::i_buffer Class Referenceabstract

#include <i_scene_graph.hpp>

Public Types

typedef i_buffer abstract_type
 

Public Member Functions

virtual ~i_buffer ()=default
 
virtual neolib::i_optional< neolib::i_string > const & name () const =0
 
virtual std::size_t byte_length () const =0
 
virtual void const * data () const =0
 
virtual void * data ()=0
 
template<typename T >
T const * data () const
 
template<typename T >
T * data ()
 

Detailed Description

Definition at line 133 of file i_scene_graph.hpp.

Member Typedef Documentation

◆ abstract_type

Constructor & Destructor Documentation

◆ ~i_buffer()

virtual neogfx::scene_graph::i_buffer::~i_buffer ( )
virtualdefault

Member Function Documentation

◆ byte_length()

virtual std::size_t neogfx::scene_graph::i_buffer::byte_length ( ) const
pure virtual

◆ data() [1/4]

template<typename T >
T * neogfx::scene_graph::i_buffer::data ( )
inline

Definition at line 152 of file i_scene_graph.hpp.

◆ data() [2/4]

template<typename T >
T const * neogfx::scene_graph::i_buffer::data ( ) const
inline

Definition at line 147 of file i_scene_graph.hpp.

◆ data() [3/4]

virtual void const * neogfx::scene_graph::i_buffer::data ( ) const
pure virtual

◆ data() [4/4]

virtual void * neogfx::scene_graph::i_buffer::data ( )
pure virtual

◆ name()

virtual neolib::i_optional< neolib::i_string > const & neogfx::scene_graph::i_buffer::name ( ) const
pure virtual

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