Skip to content

Namespace Apogee.Content

Namespaces

Apogee.Content.Assets

Apogee.Content.FileSystem

Apogee.Content.Import

Apogee.Content.Packages

Apogee.Content.Packs

Apogee.Content.Xml

Classes

ContentException

A file could not be read or holds something the engine does not support; the message says which file and why.

ContentOptions

GltfLoader

Reads glTF 2.0 (.gltf with its files, or .glb) into a : the default scene's meshes placed in the world, metallic-roughness materials with their textures decoded, and punctual lights. Supported extensions: KHR_texture_transform, KHR_texture_basisu, KHR_materials_emissive_strength, KHR_materials_unlit, KHR_lights_punctual. Draco and meshopt compression are refused with a clear error.

ImageDecoder

Decodes PNG, JPEG, BMP, TGA and the other formats stb_image reads into RGBA8 textures with a full mip chain.

Ktx2Loader

Loads KTX 2 files. Basis Universal data (ETC1S and UASTC) is transcoded to the best format the GPU samples: BC7, ASTC 4x4, or RGBA8.

LightData

A KHR_lights_punctual light in world space. Intensity is in lux (directional) or candela (point and spot), as glTF defines it.

MaterialData

glTF's metallic-roughness material.

MeshData

One glTF primitive: triangles with one material.

MeshProcessing

Mesh clean-up and the vertex attributes glTF lets a file leave out.

ModelData

A glTF file, flattened: the meshes the default scene uses, where they are, their materials and textures, and its lights.

ModelMerge

Combines models into one scene: the way a sample or a level puts several glTF files and generated shapes together.

Png

A minimal PNG writer for 8-bit RGBA images: screenshots and test files. Reading goes through stb_image.

ProceduralMeshes

Simple shapes built in code: for sample scenes, tools and tests. Every mesh has normals, UVs and tangents, and counter-clockwise front faces.

TextureData

A decoded texture ready to upload: the GPU format, the size, and the bytes of every mip level (largest first, each tightly packed).

Structs

MeshInstance

A mesh placed in the world by the scene's node hierarchy.

SamplerData

How a texture is sampled: glTF's sampler, reduced to what the renderer has.

TextureCaps

Which compressed formats the GPU can sample, so Basis textures are transcoded to one it has.

TextureRef

A reference from a material to a texture of the model, with glTF's KHR_texture_transform.

Vertex

The vertex the renderer pulls from a buffer: 48 bytes, the same layout in Slang.

Enums

AlphaMode

LightKind

TextureFilter

TextureWrap