extensions

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Jan 6, 2022 License: BSD-3-Clause Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	UNMASKED_VENDOR_WEBGL   types.GLEnum = 0x9245
	UNMASKED_RENDERER_WEBGL types.GLEnum = 0x9246
)
View Source
const (
	MAX_TEXTURE_MAX_ANISOTROPY_EXT types.GLEnum = 0x84FF
	TEXTURE_MAX_ANISOTROPY_EXT     types.GLEnum = 0x84FE
)
View Source
const (
	VERTEX_ATTRIB_ARRAY_DIVISOR_ANGLE types.GLEnum = 0x88FE
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Extension

type Extension struct {
	// contains filtered or unexported fields
}

func LoadGenericExtension

func LoadGenericExtension(glContext js.Value, name string) *Extension

func (*Extension) GetJs

func (ext *Extension) GetJs() js.Value

type IExtension

type IExtension interface {
	GetJs() js.Value
}

type LoseContext

type LoseContext struct {
	Extension
}

func LoadLoseContextExtension

func LoadLoseContextExtension(glContext js.Value) *LoseContext

func (*LoseContext) LoseContext

func (lc *LoseContext) LoseContext()

type Name

type Name string
const LoseContextExtensionName Name = "WEBGL_lose_context"

Jump to

Keyboard shortcuts

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