types

package
v0.0.0-...-3cc81fb Latest Latest
Warning

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

Go to latest
Published: Oct 1, 2019 License: BSD-3-Clause Imports: 1 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ActiveInfo

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

func NewActiveInfo

func NewActiveInfo(name string, size int, infoType GLEnum) *ActiveInfo

func (*ActiveInfo) GetName

func (ai *ActiveInfo) GetName() string

func (*ActiveInfo) GetSize

func (ai *ActiveInfo) GetSize() int

func (*ActiveInfo) GetType

func (ai *ActiveInfo) GetType() GLEnum

type Attributes

type Attributes struct {
	Alpha                        bool
	Antialias                    bool
	Depth                        bool
	FailIfMajorPerformanceCaveat bool
	PowerPreference              PowerPreference
	PremultipliedAlpha           bool
	PreserveDrawingBuffer        bool
	Stencil                      bool
	Storage                      string // Only Chromium
	WillReadFrequently           bool   // Only Firefox
}

type Buffer

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

func NewBuffer

func NewBuffer(pointer js.Value) *Buffer

func (*Buffer) GetJs

func (buffer *Buffer) GetJs() js.Value

type FrameBuffer

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

func NewFrameBuffer

func NewFrameBuffer(pointer js.Value) *FrameBuffer

func (*FrameBuffer) GetJs

func (buffer *FrameBuffer) GetJs() js.Value

type GLEnum

type GLEnum uint32

type PowerPreference

type PowerPreference string

type Program

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

func NewProgram

func NewProgram(pointer js.Value) *Program

func (*Program) GetJs

func (program *Program) GetJs() js.Value

type RenderBuffer

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

func NewRenderBuffer

func NewRenderBuffer(pointer js.Value) *RenderBuffer

func (*RenderBuffer) GetJs

func (buffer *RenderBuffer) GetJs() js.Value

type Shader

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

func NewShader

func NewShader(pointer js.Value) *Shader

func (*Shader) GetJs

func (shader *Shader) GetJs() js.Value

type ShaderPrecisionFormat

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

func NewShaderPrecisionFormat

func NewShaderPrecisionFormat(rangeMin int, rangeMax int, precision int) *ShaderPrecisionFormat

func (*ShaderPrecisionFormat) GetPrecision

func (spf *ShaderPrecisionFormat) GetPrecision() int

func (*ShaderPrecisionFormat) GetRangeMax

func (spf *ShaderPrecisionFormat) GetRangeMax() int

func (*ShaderPrecisionFormat) GetRangeMin

func (spf *ShaderPrecisionFormat) GetRangeMin() int

type Texture

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

func NewTexture

func NewTexture(pointer js.Value) *Texture

func (*Texture) GetJs

func (tex *Texture) GetJs() js.Value

type UniformLocation

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

func NewUniformLocation

func NewUniformLocation(pointer js.Value) *UniformLocation

func (*UniformLocation) GetJs

func (ul *UniformLocation) GetJs() js.Value

Jump to

Keyboard shortcuts

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