Flutter Engine
The Flutter Engine
|
#include <geometry.h>
Public Member Functions | |
CuboidGeometry () | |
~CuboidGeometry () override | |
void | SetSize (Vector3 size) |
GeometryType | GetGeometryType () const override |
VertexBuffer | GetVertexBuffer (Allocator &allocator) const override |
void | BindToCommand (const SceneContext &scene_context, HostBuffer &buffer, const Matrix &transform, RenderPass &pass) const override |
Public Member Functions inherited from impeller::scene::Geometry | |
virtual | ~Geometry () |
virtual GeometryType | GetGeometryType () const =0 |
virtual VertexBuffer | GetVertexBuffer (Allocator &allocator) const =0 |
virtual void | BindToCommand (const SceneContext &scene_context, HostBuffer &buffer, const Matrix &transform, RenderPass &pass) const =0 |
virtual void | SetJointsTexture (const std::shared_ptr< Texture > &texture) |
Additional Inherited Members | |
Static Public Member Functions inherited from impeller::scene::Geometry | |
static std::shared_ptr< CuboidGeometry > | MakeCuboid (Vector3 size) |
static std::shared_ptr< Geometry > | MakeVertexBuffer (VertexBuffer vertex_buffer, bool is_skinned) |
static std::shared_ptr< Geometry > | MakeFromFlatbuffer (const fb::MeshPrimitive &mesh, Allocator &allocator) |
Definition at line 51 of file geometry.h.
|
default |
|
overridedefault |
|
overridevirtual |
Implements impeller::scene::Geometry.
Definition at line 163 of file geometry.cc.
|
overridevirtual |
Implements impeller::scene::Geometry.
Definition at line 136 of file geometry.cc.
|
overridevirtual |
Implements impeller::scene::Geometry.
Definition at line 141 of file geometry.cc.
void impeller::scene::CuboidGeometry::SetSize | ( | Vector3 | size | ) |
Definition at line 131 of file geometry.cc.