Skip to content

Class ContentOptions

Namespace: Apogee.Content
Assembly: Apogee.Content.dll

public sealed class ContentOptions

Inheritance

object ← ContentOptions

Inherited Members

object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.ReferenceEquals(object?, object?), object.ToString()

Properties

GenerateMips

Builds a mip chain for PNG and JPEG textures.

public bool GenerateMips { get; set; }

Property Value

bool

OptimizeMeshes

Removes duplicate vertices and reorders for the GPU's vertex cache (meshoptimizer).

public bool OptimizeMeshes { get; set; }

Property Value

bool

ReadFile

Reads a file the model refers to (a texture or a .bin next to a .gltf), by the path of the model plus the reference: vfs.ReadAllBytes for a model in the virtual file system. Defaults to the real file system.

public Func<string, byte[]>? ReadFile { get; set; }

Property Value

Func<string, byte[]>?

TextureCaps

The compressed texture formats the GPU samples; Basis textures are transcoded to one of them.

public TextureCaps TextureCaps { get; set; }

Property Value

TextureCaps