material

package
v0.3.4 Latest Latest
Warning

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

Go to latest
Published: Nov 6, 2024 License: BSD-3-Clause Imports: 3 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]uint8
	SectionMainSize uint32   // == size of ins[DataMain] - 0x18
	SectionGPUSize  uint32   // == size of ins[DataGPU]
	Unk01           [4]uint8 // seems to always == 0x18
	BaseMaterial    stingray.Hash
	Unk02           [32]uint8
	NumTextures     uint32
	Unk03           [68]uint8
}

type Material

type Material struct {
	BaseMaterial stingray.Hash
	Textures     map[stingray.ThinHash]stingray.Hash
}

func Load

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

Jump to

Keyboard shortcuts

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