Namespace Apogee.Content¶
Namespaces¶
Classes¶
A file could not be read or holds something the engine does not support; the message says which file and why.
Reads glTF 2.0 (.gltf with its files, or .glb) into a
Decodes PNG, JPEG, BMP, TGA and the other formats stb_image reads into RGBA8 textures with a full mip chain.
Loads KTX 2 files. Basis Universal data (ETC1S and UASTC) is transcoded to the best format the GPU samples: BC7, ASTC 4x4, or RGBA8.
A KHR_lights_punctual light in world space. Intensity is in lux (directional) or candela (point and spot), as glTF defines it.
glTF's metallic-roughness material.
One glTF primitive: triangles with one material.
Mesh clean-up and the vertex attributes glTF lets a file leave out.
A glTF file, flattened: the meshes the default scene uses, where they are, their materials and textures, and its lights.
Combines models into one scene: the way a sample or a level puts several glTF files and generated shapes together.
A minimal PNG writer for 8-bit RGBA images: screenshots and test files. Reading goes through stb_image.
Simple shapes built in code: for sample scenes, tools and tests. Every mesh has normals, UVs and tangents, and counter-clockwise front faces.
A decoded texture ready to upload: the GPU format, the size, and the bytes of every mip level (largest first, each tightly packed).
Structs¶
A mesh placed in the world by the scene's node hierarchy.
How a texture is sampled: glTF's sampler, reduced to what the renderer has.
Which compressed formats the GPU can sample, so Basis textures are transcoded to one it has.
A reference from a material to a texture of the model, with glTF's KHR_texture_transform.
The vertex the renderer pulls from a buffer: 48 bytes, the same layout in Slang.