interfaces

package
v0.0.5 Latest Latest
Warning

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

Go to latest
Published: May 30, 2024 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ConvertToKtx2ImageDependenciesInterface

type ConvertToKtx2ImageDependenciesInterface interface {
	UUIDGenerator() string
	ContentTypeDetector(data []byte) string
	ImageSizer(data []byte) (int, int, error)
	CommandExecutor(name string, args ...string) error
	ParamsGenerator(mode string, width, height int, inputPath, outputPath string, isSRGB bool, etc1sQuality, uastcQuality, zstdLevel int) []string
	FileReader(filePath string) ([]byte, error)
	FileCreator(filePath string) (File, error)
	FileRemover(filePath string) error
}

type ConvertToKtx2TextureDependenciesInterface

type ConvertToKtx2TextureDependenciesInterface interface {
	ConvertToKtx2Image(deps ConvertToKtx2ImageDependenciesInterface, ktx2Mode string, buf []byte, isSRGB bool, etc1sQuality int, uastcQuality int, zstdLevel int) ([]byte, error)
}

type File

type File interface {
	Write(p []byte) (n int, err error)
	Close() error
}

Jump to

Keyboard shortcuts

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