Structs

A bound vtf file ready for manipulation. Only one vtf file can be bound at a time. A bound vtf file can be either manually unbound, or automatically when it is dropped.

A builder for a new empty image.

VTF image header flags

Information about an image format.

Settings for normal map generation.

A builder for an image from existing RGBA8888 data.

A VTF file. Must be bound before it can be worked on.

Enforces that only one VtfFile is bound at a time. Only one of these can exist at any given time. This struct is !Send + !Sync since the library is not thread-safe.

Represents initialized library. Only one of these can exist at any given time. This struct is !Send + !Sync since the library is not thread-safe.

Enums

VTF image cubemap face indices

Floating point library configuration options.

Normal map height conversion methods

VTFLib’s supported image formats.

Integer library configuration options.

Normal map creation kernel sizes

Mipmap reduction filters

Normal map alpha channel handling

Image resize methods

Resource type identifiers

Mipmap sharpen filters

Type Definitions