astc

package
v0.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 28, 2026 License: GPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EncodeASTC

func EncodeASTC(rgba []byte, width, height int, blockSize, quality string) ([]byte, error)

EncodeASTC encodes RGBA8 pixels to ASTC format using the astcenc binary. blockSize: "4x4", "6x6", "8x8", "10x10", "12x12" quality: "fastest", "fast", "medium", "thorough", "exhaustive" The astcenc binary is found via PATH or auto-downloaded.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL