draco

package
v0.14.1 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	// ExtensionName defines the KHR_draco_mesh_compression unique key.
	ExtensionName = "KHR_draco_mesh_compression"
)

Variables

This section is empty.

Functions

func Unmarshal

func Unmarshal(data []byte) (interface{}, error)

Unmarshal decodes the json data into the correct type.

Types

type Primitive

type Primitive struct {
	Extensions gltf.Extensions `json:"extensions,omitempty"`
	Extras     interface{}     `json:"extras,omitempty"`
	BufferView uint32          `json:"bufferView"`
	Attributes gltf.Attribute  `json:"attributes"`
}

Primitive extension points to the bufferView that contains the compressed data.

Jump to

Keyboard shortcuts

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