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

#include <i_vertex_buffer.hpp>

Inheritance diagram for neogfx::i_vertex_buffer:
neogfx::vertex_buffer

Classes

struct  shader_not_attached
 

Public Member Functions

virtual ~i_vertex_buffer ()=default
 
virtual i_vertex_providervertex_provider () const =0
 
virtual vertex_buffer_type buffer_type () const =0
 
virtual i_shader_programattached_shader () const =0
 
virtual void attach_shader (i_rendering_context &aContext, i_shader_program &aShaderProgram)=0
 
virtual void detach_shader ()=0
 
virtual void reclaim (std::size_t aStartIndex, std::size_t aEndIndex)=0
 

Detailed Description

Definition at line 112 of file i_vertex_buffer.hpp.

Constructor & Destructor Documentation

◆ ~i_vertex_buffer()

virtual neogfx::i_vertex_buffer::~i_vertex_buffer ( )
virtualdefault

Member Function Documentation

◆ attach_shader()

virtual void neogfx::i_vertex_buffer::attach_shader ( i_rendering_context aContext,
i_shader_program aShaderProgram 
)
pure virtual

Implemented in neogfx::vertex_buffer.

◆ attached_shader()

virtual i_shader_program & neogfx::i_vertex_buffer::attached_shader ( ) const
pure virtual

Implemented in neogfx::vertex_buffer.

◆ buffer_type()

virtual vertex_buffer_type neogfx::i_vertex_buffer::buffer_type ( ) const
pure virtual

Implemented in neogfx::vertex_buffer.

◆ detach_shader()

virtual void neogfx::i_vertex_buffer::detach_shader ( )
pure virtual

Implemented in neogfx::vertex_buffer.

◆ reclaim()

virtual void neogfx::i_vertex_buffer::reclaim ( std::size_t  aStartIndex,
std::size_t  aEndIndex 
)
pure virtual

◆ vertex_provider()

virtual i_vertex_provider & neogfx::i_vertex_buffer::vertex_provider ( ) const
pure virtual

Implemented in neogfx::vertex_buffer.


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