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 ¶
- Variables
- func NewETC1_RGB_U8_NORM(name string) *image.Format
- func NewETC2_RGBA_U8U8U8U1_NORM(name string) *image.Format
- func NewETC2_RGBA_U8_NORM(name string) *image.Format
- func NewETC2_RGB_U8_NORM(name string) *image.Format
- func NewETC2_RG_S11_NORM(name string) *image.Format
- func NewETC2_RG_U11_NORM(name string) *image.Format
- func NewETC2_R_S11_NORM(name string) *image.Format
- func NewETC2_R_U11_NORM(name string) *image.Format
- func NewETC2_SRGBA_U8U8U8U1_NORM(name string) *image.Format
- func NewETC2_SRGBA_U8_NORM(name string) *image.Format
- func NewETC2_SRGB_U8_NORM(name string) *image.Format
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 NewETC2_RGBA_U8_NORM ¶
func NewETC2_RGB_U8_NORM ¶
func NewETC2_RG_S11_NORM ¶
func NewETC2_RG_U11_NORM ¶
func NewETC2_R_S11_NORM ¶
func NewETC2_R_U11_NORM ¶
func NewETC2_SRGBA_U8_NORM ¶
func NewETC2_SRGB_U8_NORM ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.