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

#include <vertex_buffer.hpp>

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

Public Member Functions

 vertex_buffer (i_vertex_provider &aProvider, vertex_buffer_type aType)
 
i_vertex_providervertex_provider () const override
 
vertex_buffer_type buffer_type () const override
 
i_shader_programattached_shader () const override
 
void attach_shader (i_rendering_context &aContext, i_shader_program &aShaderProgram) override
 
void detach_shader () override
 
- Public Member Functions inherited from neogfx::i_vertex_buffer
virtual ~i_vertex_buffer ()=default
 
virtual void reclaim (std::size_t aStartIndex, std::size_t aEndIndex)=0
 

Detailed Description

Definition at line 29 of file vertex_buffer.hpp.

Constructor & Destructor Documentation

◆ vertex_buffer()

neogfx::vertex_buffer::vertex_buffer ( i_vertex_provider aProvider,
vertex_buffer_type  aType 
)
inline

Definition at line 32 of file vertex_buffer.hpp.

Member Function Documentation

◆ attach_shader()

void neogfx::vertex_buffer::attach_shader ( i_rendering_context aContext,
i_shader_program aShaderProgram 
)
inlineoverridevirtual

Implements neogfx::i_vertex_buffer.

Definition at line 52 of file vertex_buffer.hpp.

◆ attached_shader()

i_shader_program & neogfx::vertex_buffer::attached_shader ( ) const
inlineoverridevirtual

Implements neogfx::i_vertex_buffer.

Definition at line 46 of file vertex_buffer.hpp.

◆ buffer_type()

vertex_buffer_type neogfx::vertex_buffer::buffer_type ( ) const
inlineoverridevirtual

Implements neogfx::i_vertex_buffer.

Definition at line 41 of file vertex_buffer.hpp.

◆ detach_shader()

void neogfx::vertex_buffer::detach_shader ( )
inlineoverridevirtual

Implements neogfx::i_vertex_buffer.

Definition at line 57 of file vertex_buffer.hpp.

◆ vertex_provider()

i_vertex_provider & neogfx::vertex_buffer::vertex_provider ( ) const
inlineoverridevirtual

Implements neogfx::i_vertex_buffer.

Definition at line 37 of file vertex_buffer.hpp.


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