#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 (std::string label) |
| void | Reserve (size_t count) |
| void | ReserveIndices (size_t count) |
| bool | HasVertices () const |
| size_t | GetVertexCount () const |
| size_t | GetIndexCount () 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 23 of file vertex_buffer_builder.h.
| using impeller::VertexBufferBuilder< VertexType_, IndexType_ >::IndexType = IndexType_ |
Definition at line 26 of file vertex_buffer_builder.h.
| using impeller::VertexBufferBuilder< VertexType_, IndexType_ >::VertexType = VertexType_ |
Definition at line 25 of file vertex_buffer_builder.h.
|
default |
|
default |
|
inline |
Definition at line 64 of file vertex_buffer_builder.h.
Referenced by impeller::AdvancedBlend(), impeller::scene::CuboidGeometry::GetVertexBuffer(), impeller::PipelineBlend(), impeller::CheckerboardContents::Render(), impeller::ClipContents::Render(), impeller::SolidRRectBlurContents::Render(), impeller::TextureContents::Render(), impeller::ClipRestoreContents::Render(), and impeller::testing::TEST_P().
|
inline |
Definition at line 73 of file vertex_buffer_builder.h.
Referenced by impeller::testing::TEST_P().
|
inline |
Definition at line 59 of file vertex_buffer_builder.h.
Referenced by impeller::ComputeUVGeometryCPU(), impeller::AtlasContents::Render(), impeller::AtlasTextureContents::Render(), impeller::AtlasColorContents::Render(), and impeller::testing::TEST_P().
|
inline |
Definition at line 87 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 78 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::AdvancedBlend(), impeller::scene::CuboidGeometry::GetVertexBuffer(), impeller::PipelineBlend(), impeller::CheckerboardContents::Render(), impeller::SolidRRectBlurContents::Render(), impeller::TextureContents::Render(), impeller::AtlasContents::Render(), impeller::ClipRestoreContents::Render(), impeller::AtlasTextureContents::Render(), impeller::AtlasColorContents::Render(), and impeller::testing::TEST_P().
|
inline |
Definition at line 55 of file vertex_buffer_builder.h.
Referenced by impeller::VertexBufferBuilder< VertexType_, IndexType_ >::CreateVertexBuffer(), and impeller::testing::TEST_P().
|
inlineconstexpr |
Definition at line 32 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 53 of file vertex_buffer_builder.h.
Referenced by impeller::ComputeUVGeometryCPU(), and impeller::testing::TEST_P().
|
inline |
Definition at line 51 of file vertex_buffer_builder.h.
Referenced by impeller::AtlasTextureContents::Render(), and impeller::AtlasColorContents::Render().
|
inline |
Definition at line 97 of file vertex_buffer_builder.h.
Referenced by impeller::ComputeUVGeometryCPU().
|
inline |
Definition at line 47 of file vertex_buffer_builder.h.
Referenced by impeller::ComputeUVGeometryCPU(), impeller::AtlasContents::Render(), impeller::AtlasTextureContents::Render(), and impeller::AtlasColorContents::Render().
|
inline |
Definition at line 49 of file vertex_buffer_builder.h.
|
inline |
Definition at line 45 of file vertex_buffer_builder.h.
Referenced by impeller::testing::TEST_P().