geometry

package
v0.7.15 Latest Latest
Warning

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

Go to latest
Published: Feb 21, 2026 License: BSD-3-Clause Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LoadGLTF

func LoadGLTF(ctx *extractor.Context, gpuR io.ReadSeeker, doc *gltf.Document, name stingray.Hash, meshInfos []MeshInfo, bones []stingray.ThinHash, meshLayouts []unit.MeshLayout, unitInfo *unit.Info, meshNodes *[]uint32, materialIndices []MaterialVariantMap, parent uint32, skin *uint32) error

Types

type AccessorInfo

type AccessorInfo struct {
	gltf.AccessorType
	gltf.ComponentType
	Size uint32
}

type MaterialVariantMap added in v0.7.1

type MaterialVariantMap struct {
	Name                string
	MaterialHashToIndex map[stingray.ThinHash]uint32
}

type MeshInfo

type MeshInfo struct {
	Groups          []unit.MeshGroup
	Materials       []stingray.ThinHash
	MeshLayoutIndex uint32
}

Jump to

Keyboard shortcuts

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