#include "impeller/scene/importer/vertices_builder.h"
#include <cstdint>
#include <cstring>
#include <limits>
#include <memory>
#include <type_traits>
#include "flutter/fml/logging.h"
#include "impeller/scene/importer/conversions.h"
#include "impeller/scene/importer/scene_flatbuffers.h"
Go to the source code of this file.
|
template<typename SourceType > |
static Scalar | impeller::scene::importer::ToScalar (const void *source, size_t index, bool normalized) |
| Reads a numeric component from source and returns a 32bit float. If normalized is true , signed SourceTypes convert to a range of -1 to 1, and unsigned SourceTypes convert to a range of 0 to 1. More...
|
|
static void | impeller::scene::importer::PassthroughAttributeWriter (Scalar *destination, const void *source, const VerticesBuilder::ComponentProperties &component, const VerticesBuilder::AttributeProperties &attribute) |
| A ComponentWriter which simply converts all of an attribute's components to normalized scalar form. More...
|
|
static void | impeller::scene::importer::JointsAttributeWriter (Scalar *destination, const void *source, const VerticesBuilder::ComponentProperties &component, const VerticesBuilder::AttributeProperties &attribute) |
| A ComponentWriter which converts four vertex indices to scalars. More...
|
|