utils

package
v1.0.9 Latest Latest
Warning

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

Go to latest
Published: Jun 30, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Add

func Add(name string, value int)

func Dump

func Dump()

func Get

func Get() string

func Inc

func Inc(name string)

func ObjectTypes

func ObjectTypes() []string

func Reg

func Reg(name string)

func RegAdd

func RegAdd(name string, value int)

func Write

func Write(name string, value int)

Types

type Obj

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

func (*Obj) InitObj

func (c *Obj) InitObj(objType string, objId string)

func (*Obj) SetStatistics

func (c *Obj) SetStatistics(statistics string)

func (*Obj) UninitObj

func (c *Obj) UninitObj()

type ObjInfo

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

func AllObjects

func AllObjects() []*ObjInfo

func ObjectsOfTypes

func ObjectsOfTypes(objType string) []*ObjInfo

func (*ObjInfo) ObjId

func (c *ObjInfo) ObjId() string

func (*ObjInfo) Statistics

func (c *ObjInfo) Statistics() string

type ObjectsWatcher

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

type Statistics

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

Directories

Path Synopsis
opengl
gl11/gl
Package gl implements Go bindings to OpenGL.
Package gl implements Go bindings to OpenGL.

Jump to

Keyboard shortcuts

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