Flutter Engine
The Flutter Engine
|
#include <vertices_builder.h>
Classes | |
struct | Vertex |
Public Member Functions | |
UnskinnedVerticesBuilder () | |
virtual | ~UnskinnedVerticesBuilder () override |
void | WriteFBVertices (fb::MeshPrimitiveT &primitive) const override |
void | SetAttributeFromBuffer (AttributeType attribute, ComponentType component_type, const void *buffer_start, size_t attribute_stride_bytes, size_t attribute_count) override |
Public Member Functions inherited from impeller::scene::importer::VerticesBuilder | |
VerticesBuilder () | |
virtual | ~VerticesBuilder () |
virtual void | WriteFBVertices (fb::MeshPrimitiveT &primitive) const =0 |
virtual void | SetAttributeFromBuffer (AttributeType attribute, ComponentType component_type, const void *buffer_start, size_t attribute_stride_bytes, size_t attribute_count)=0 |
Additional Inherited Members | |
Public Types inherited from impeller::scene::importer::VerticesBuilder | |
enum class | ComponentType { kSignedByte = 5120 , kUnsignedByte , kSignedShort , kUnsignedShort , kSignedInt , kUnsignedInt , kFloat } |
enum class | AttributeType { kPosition , kNormal , kTangent , kTextureCoords , kColor , kJoints , kWeights } |
using | ComponentConverter = std::function< Scalar(const void *source, size_t byte_offset, bool normalized)> |
using | AttributeWriter = std::function< void(Scalar *destination, const void *source, const ComponentProperties &component_props, const AttributeProperties &attribute_props)> |
Static Public Member Functions inherited from impeller::scene::importer::VerticesBuilder | |
static std::unique_ptr< VerticesBuilder > | MakeUnskinned () |
static std::unique_ptr< VerticesBuilder > | MakeSkinned () |
Static Protected Member Functions inherited from impeller::scene::importer::VerticesBuilder | |
static void | WriteAttribute (void *destination, size_t destination_stride_bytes, AttributeType attribute, ComponentType component_type, const void *source, size_t attribute_stride_bytes, size_t attribute_count) |
Definition at line 103 of file vertices_builder.h.
|
default |
|
overridevirtualdefault |
|
overridevirtual |
Implements impeller::scene::importer::VerticesBuilder.
Definition at line 180 of file vertices_builder.cc.
|
overridevirtual |
Implements impeller::scene::importer::VerticesBuilder.
Definition at line 168 of file vertices_builder.cc.