etc

package
v0.0.0-...-7a622f3 Latest Latest
Warning

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

Go to latest
Published: Dec 22, 2023 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

Package etc implements etc texture compression and decompression.

etc is in a separate package from image as it contains cgo code that can slow builds.

Index

Constants

This section is empty.

Variables

View Source
var (
	// ETC2
	ETC2_RGB_U8_NORM         = NewETC2_RGB_U8_NORM("ETC2_RGB_U8_NORM")
	ETC2_RGBA_U8_NORM        = NewETC2_RGBA_U8_NORM("ETC2_RGBA_U8_NORM")
	ETC2_RGBA_U8U8U8U1_NORM  = NewETC2_RGBA_U8U8U8U1_NORM("ETC2_RGBA_U8U8U8U1_NORM")
	ETC2_SRGB_U8_NORM        = NewETC2_SRGB_U8_NORM("ETC2_SRGB_U8_NORM")
	ETC2_SRGBA_U8_NORM       = NewETC2_SRGBA_U8_NORM("ETC2_SRGBA_U8_NORM")
	ETC2_SRGBA_U8U8U8U1_NORM = NewETC2_SRGBA_U8U8U8U1_NORM("ETC2_SRGBA_U8U8U8U1_NORM")

	// EAC
	ETC2_R_U11_NORM  = NewETC2_R_U11_NORM("ETC2_R_U11_NORM")
	ETC2_RG_U11_NORM = NewETC2_RG_U11_NORM("ETC2_RG_U11_NORM")
	ETC2_R_S11_NORM  = NewETC2_R_S11_NORM("ETC2_R_S11_NORM")
	ETC2_RG_S11_NORM = NewETC2_RG_S11_NORM("ETC2_RG_S11_NORM")

	// ETC 1
	ETC1_RGB_U8_NORM = NewETC1_RGB_U8_NORM("ETC1_RGB_U8_NORM")
)

Functions

func NewETC1_RGB_U8_NORM

func NewETC1_RGB_U8_NORM(name string) *image.Format

func NewETC2_RGBA_U8U8U8U1_NORM

func NewETC2_RGBA_U8U8U8U1_NORM(name string) *image.Format

func NewETC2_RGBA_U8_NORM

func NewETC2_RGBA_U8_NORM(name string) *image.Format

func NewETC2_RGB_U8_NORM

func NewETC2_RGB_U8_NORM(name string) *image.Format

func NewETC2_RG_S11_NORM

func NewETC2_RG_S11_NORM(name string) *image.Format

func NewETC2_RG_U11_NORM

func NewETC2_RG_U11_NORM(name string) *image.Format

func NewETC2_R_S11_NORM

func NewETC2_R_S11_NORM(name string) *image.Format

func NewETC2_R_U11_NORM

func NewETC2_R_U11_NORM(name string) *image.Format

func NewETC2_SRGBA_U8U8U8U1_NORM

func NewETC2_SRGBA_U8U8U8U1_NORM(name string) *image.Format

func NewETC2_SRGBA_U8_NORM

func NewETC2_SRGBA_U8_NORM(name string) *image.Format

func NewETC2_SRGB_U8_NORM

func NewETC2_SRGB_U8_NORM(name string) *image.Format

Types

This section is empty.

Jump to

Keyboard shortcuts

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