texture

package
v0.2.2 Latest Latest
Warning

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

Go to latest
Published: Apr 3, 2024 License: BSD-3-Clause Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Header struct {
	Unk00    [12]byte
	Sections [15]StreamableSection
}

type StreamableSection

type StreamableSection struct {
	Offset uint32
	Size   uint32
	Width  uint16
	Height uint16
}

type Texture

type Texture struct {
	HeaderOffset uint32
	Sections     []StreamableSection
}

func Load

func Load(r io.Reader) (*Texture, error)

Jump to

Keyboard shortcuts

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