Flutter Engine
The Flutter Engine
|
#include <vertex_buffer_builder.h>
Public Types | |
using | VertexType = VertexType_ |
using | IndexType = IndexType_ |
Public Member Functions | |
VertexBufferBuilder ()=default | |
~VertexBufferBuilder ()=default | |
constexpr impeller::IndexType | GetIndexType () const |
void | SetLabel (const std::string &label) |
void | Reserve (size_t count) |
void | ReserveIndices (size_t count) |
bool | HasVertices () const |
size_t | GetVertexCount () const |
size_t | GetIndexCount () const |
const VertexType & | Last () const |
VertexBufferBuilder & | AppendVertex (VertexType_ vertex) |
VertexBufferBuilder & | AddVertices (std::initializer_list< VertexType_ > vertices) |
VertexBufferBuilder & | AppendIndex (IndexType_ index) |
VertexBuffer | CreateVertexBuffer (HostBuffer &host_buffer) const |
VertexBuffer | CreateVertexBuffer (Allocator &device_allocator) const |
void | IterateVertices (const std::function< void(VertexType &)> &iterator) |
Definition at line 24 of file vertex_buffer_builder.h.
using impeller::VertexBufferBuilder< VertexType_, IndexType_ >::IndexType = IndexType_ |
Definition at line 27 of file vertex_buffer_builder.h.
using impeller::VertexBufferBuilder< VertexType_, IndexType_ >::VertexType = VertexType_ |
Definition at line 26 of file vertex_buffer_builder.h.
|
default |
|
default |
|
inline |
Definition at line 70 of file vertex_buffer_builder.h.
|
inline |
Definition at line 79 of file vertex_buffer_builder.h.
|
inline |
Definition at line 65 of file vertex_buffer_builder.h.
|
inline |
Definition at line 93 of file vertex_buffer_builder.h.
|
inline |
Definition at line 84 of file vertex_buffer_builder.h.
|
inline |
Definition at line 56 of file vertex_buffer_builder.h.
|
inlineconstexpr |
Definition at line 33 of file vertex_buffer_builder.h.
|
inline |
Definition at line 54 of file vertex_buffer_builder.h.
|
inline |
Definition at line 52 of file vertex_buffer_builder.h.
|
inline |
Definition at line 103 of file vertex_buffer_builder.h.
|
inline |
Definition at line 60 of file vertex_buffer_builder.h.
|
inline |
Definition at line 48 of file vertex_buffer_builder.h.
|
inline |
Definition at line 50 of file vertex_buffer_builder.h.
|
inline |
Definition at line 46 of file vertex_buffer_builder.h.