Versions in this module Expand all Collapse all v0 v0.0.2 Jan 6, 2022 v0.0.1 Jan 5, 2022 Changes in this version + type ActiveInfo struct + func NewActiveInfo(name string, size int, infoType GLEnum) *ActiveInfo + func (ai *ActiveInfo) GetName() string + func (ai *ActiveInfo) GetSize() int + func (ai *ActiveInfo) GetType() GLEnum + type Attributes struct + Alpha bool + Antialias bool + Depth bool + FailIfMajorPerformanceCaveat bool + PowerPreference PowerPreference + PremultipliedAlpha bool + PreserveDrawingBuffer bool + Stencil bool + Storage string + WillReadFrequently bool + type Buffer struct + func NewBuffer(pointer js.Value) *Buffer + func (buffer *Buffer) GetJs() js.Value + type FrameBuffer struct + func NewFrameBuffer(pointer js.Value) *FrameBuffer + func (buffer *FrameBuffer) GetJs() js.Value + type GLEnum uint32 + type PowerPreference string + type Program struct + func NewProgram(pointer js.Value) *Program + func (program *Program) GetJs() js.Value + type RenderBuffer struct + func NewRenderBuffer(pointer js.Value) *RenderBuffer + func (buffer *RenderBuffer) GetJs() js.Value + type Shader struct + func NewShader(pointer js.Value) *Shader + func (shader *Shader) GetJs() js.Value + type ShaderPrecisionFormat struct + func NewShaderPrecisionFormat(rangeMin int, rangeMax int, precision int) *ShaderPrecisionFormat + func (spf *ShaderPrecisionFormat) GetPrecision() int + func (spf *ShaderPrecisionFormat) GetRangeMax() int + func (spf *ShaderPrecisionFormat) GetRangeMin() int + type Texture struct + func NewTexture(pointer js.Value) *Texture + func (tex *Texture) GetJs() js.Value + type UniformLocation struct + func NewUniformLocation(pointer js.Value) *UniformLocation + func (ul *UniformLocation) GetJs() js.Value