The asset baker is structured around “Resource ovens” that take care of baking a specific resource type. When given a specific resource, the asset-baker will choose the appropriate oven based on the resource extension. For example, *.pkfx files will be handled by the “Particle” oven.
The .pkcf bake config files contain resource oven definitions that control how the assets are baked.
The following topics detail resource ovens and their configuration options:
- COvenBakeConfig_Base
Common bake properties all ovens inherit from - COvenBakeConfig_Particle
Used when baking effect files (.pkfx) - COvenBakeConfig_Texture
Used when baking image files (.dds, .png, .jpg, .tga, .tiff, .pkm, .pvr, .exr) - COvenBakeConfig_TextureAtlas
Used when baking texture atlas resources (.pkat), can optionally generate trimming information. - COvenBakeConfig_Mesh
Used when baking mesh files (.fbx) - COvenBakeConfig_VectorField
Used when baking vector-field files (.fga) - COvenBakeConfig_Font
Used when baking fonts (.ttf, .otf) into a .pkfm font-metrics file, used by the text sampler to get glyph width and kerning information. - COvenBakeConfig_Audio
Used when baking audio files (.mp3, .wav), maps to the StraightCopy oven - COvenBakeConfig_StraightCopy
Performs a raw copy of the source file.