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 21 of file vertex_buffer_builder.h.
using impeller::VertexBufferBuilder< VertexType_, IndexType_ >::IndexType = IndexType_ |
Definition at line 24 of file vertex_buffer_builder.h.
using impeller::VertexBufferBuilder< VertexType_, IndexType_ >::VertexType = VertexType_ |
Definition at line 23 of file vertex_buffer_builder.h.
|
default |
|
default |
|
inline |
Definition at line 67 of file vertex_buffer_builder.h.
|
inline |
Definition at line 76 of file vertex_buffer_builder.h.
|
inline |
Definition at line 62 of file vertex_buffer_builder.h.
|
inline |
Definition at line 90 of file vertex_buffer_builder.h.
|
inline |
Definition at line 81 of file vertex_buffer_builder.h.
|
inline |
Definition at line 53 of file vertex_buffer_builder.h.
|
inlineconstexpr |
Definition at line 30 of file vertex_buffer_builder.h.
|
inline |
Definition at line 51 of file vertex_buffer_builder.h.
|
inline |
Definition at line 49 of file vertex_buffer_builder.h.
|
inline |
Definition at line 100 of file vertex_buffer_builder.h.
|
inline |
Definition at line 57 of file vertex_buffer_builder.h.
|
inline |
Definition at line 45 of file vertex_buffer_builder.h.
|
inline |
Definition at line 47 of file vertex_buffer_builder.h.
|
inline |
Definition at line 43 of file vertex_buffer_builder.h.