#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 35 of file vertex_buffer_builder.h.
using impeller::VertexBufferBuilder< VertexType_, IndexType_ >::IndexType = IndexType_ |
Definition at line 38 of file vertex_buffer_builder.h.
using impeller::VertexBufferBuilder< VertexType_, IndexType_ >::VertexType = VertexType_ |
Definition at line 37 of file vertex_buffer_builder.h.
|
default |
|
default |
|
inline |
Definition at line 81 of file vertex_buffer_builder.h.
Referenced by impeller::testing::RendererDartTest::RenderDartToPlayground(), and impeller::testing::TEST_P().
|
inline |
Definition at line 90 of file vertex_buffer_builder.h.
Referenced by impeller::testing::TEST_P().
|
inline |
Definition at line 76 of file vertex_buffer_builder.h.
|
inline |
Definition at line 104 of file vertex_buffer_builder.h.
References impeller::VertexBufferBuilder< VertexType_, IndexType_ >::GetIndexCount(), impeller::VertexBufferBuilder< VertexType_, IndexType_ >::GetIndexType(), impeller::VertexBuffer::index_buffer, impeller::VertexBuffer::index_type, impeller::VertexBuffer::vertex_buffer, and impeller::VertexBuffer::vertex_count.
|
inline |
Definition at line 95 of file vertex_buffer_builder.h.
References impeller::VertexBufferBuilder< VertexType_, IndexType_ >::GetIndexCount(), impeller::VertexBufferBuilder< VertexType_, IndexType_ >::GetIndexType(), impeller::VertexBuffer::index_buffer, impeller::VertexBuffer::index_type, impeller::VertexBuffer::vertex_buffer, and impeller::VertexBuffer::vertex_count.
Referenced by impeller::testing::RendererDartTest::RenderDartToPlayground(), and impeller::testing::TEST_P().
|
inline |
Definition at line 67 of file vertex_buffer_builder.h.
Referenced by impeller::VertexBufferBuilder< VertexType_, IndexType_ >::CreateVertexBuffer(), and impeller::testing::TEST_P().
|
inlineconstexpr |
Definition at line 44 of file vertex_buffer_builder.h.
References impeller::k16bit, impeller::k32bit, impeller::kNone, and impeller::kUnknown.
Referenced by impeller::VertexBufferBuilder< VertexType_, IndexType_ >::CreateVertexBuffer(), and impeller::testing::TEST_P().
|
inline |
Definition at line 65 of file vertex_buffer_builder.h.
Referenced by impeller::testing::TEST_P().
|
inline |
Definition at line 63 of file vertex_buffer_builder.h.
|
inline |
Definition at line 114 of file vertex_buffer_builder.h.
|
inline |
Definition at line 71 of file vertex_buffer_builder.h.
|
inline |
Definition at line 59 of file vertex_buffer_builder.h.
|
inline |
Definition at line 61 of file vertex_buffer_builder.h.
|
inline |
Definition at line 57 of file vertex_buffer_builder.h.
Referenced by impeller::testing::TEST_P().