vkmEngine 1.0.0
A C++ game engine · vkmengine.com
Loading...
Searching...
No Matches
Vkm::Engine::AssetSourceKind Namespace Reference

The kind field of an asset's source descriptor. More...

Variables

constexpr const char * COOKED = "cooked"
 What an asset read from its cooked file carries instead of its recipe.
constexpr const char * DECIMATE = "decimate"
 A mesh derived from another by simplification (an LOD).
constexpr const char * FILE = "file"
 One file on disk, decoded as-is.
constexpr const char * GENERATOR = "generator"
constexpr const char * INLINE = "inline"
 A material whose values live in the descriptor itself.
constexpr const char * MODEL = "model"
constexpr const char * MODEL_IMAGE = "model-image"
 A texture embedded in, or referenced beside, a model file.
constexpr const char * SOLID = "solid"
 A single-colour texture.

Detailed Description

The kind field of an asset's source descriptor.

The kind picks the import that rebuilds an asset from its recipe. The strings are the file format: changing one changes what existing assets say.

Variable Documentation

◆ GENERATOR

const char* Vkm::Engine::AssetSourceKind::GENERATOR = "generator"
inlineconstexpr

A primitive built by the mesh generators.

◆ MODEL

const char* Vkm::Engine::AssetSourceKind::MODEL = "model"
inlineconstexpr

One index into a glTF, FBX or OBJ file.