Flutter Engine
The Flutter Engine
Namespaces | Functions | Variables
importer_gltf.cc File Reference
#include "impeller/scene/importer/importer.h"
#include <array>
#include <cstring>
#include <functional>
#include <iostream>
#include <iterator>
#include <memory>
#include <vector>
#include "flutter/fml/mapping.h"
#include "flutter/third_party/tinygltf/tiny_gltf.h"
#include "impeller/geometry/matrix.h"
#include "impeller/scene/importer/conversions.h"
#include "impeller/scene/importer/scene_flatbuffers.h"
#include "impeller/scene/importer/vertices_builder.h"

Go to the source code of this file.

Namespaces

namespace  impeller
 
namespace  impeller::scene
 
namespace  impeller::scene::importer
 

Functions

static bool impeller::scene::importer::WithinRange (int index, size_t size)
 
static bool impeller::scene::importer::MeshPrimitiveIsSkinned (const tinygltf::Primitive &primitive)
 
static void impeller::scene::importer::ProcessMaterial (const tinygltf::Model &gltf, const tinygltf::Material &in_material, fb::MaterialT &out_material)
 
static bool impeller::scene::importer::ProcessMeshPrimitive (const tinygltf::Model &gltf, const tinygltf::Primitive &primitive, fb::MeshPrimitiveT &mesh_primitive)
 
static void impeller::scene::importer::ProcessNode (const tinygltf::Model &gltf, const tinygltf::Node &in_node, fb::NodeT &out_node)
 
static void impeller::scene::importer::ProcessTexture (const tinygltf::Model &gltf, const tinygltf::Texture &in_texture, fb::TextureT &out_texture)
 
static void impeller::scene::importer::ProcessAnimation (const tinygltf::Model &gltf, const tinygltf::Animation &in_animation, fb::AnimationT &out_animation)
 
bool impeller::scene::importer::ParseGLTF (const fml::Mapping &source_mapping, fb::SceneT &out_scene)
 

Variables

static const std::map< std::string, VerticesBuilder::AttributeType > impeller::scene::importer::kAttributes