daemon

package
v0.0.0-...-eb6d681 Latest Latest
Warning

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

Go to latest
Published: Apr 5, 2020 License: GPL-3.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type D

type D struct {
	Mtx    sync.Mutex
	Scene  *opengl.Scene
	Paused bool
	// contains filtered or unexported fields
}

func New

func New() *D

func (*D) AddShaderStorage

func (d *D) AddShaderStorage(args net.Shifter)

func (*D) AddSourceFFT

func (d *D) AddSourceFFT(args net.Shifter)

func (*D) AddSourceFFVideo

func (d *D) AddSourceFFVideo(args net.Shifter)

AddSourceFFVideo - /source.ffvideo/create

Accepts two arguments 1. Name (string) - the name of the source to create 2. Path (string) - the path of the video

func (*D) AddSourceShader

func (d *D) AddSourceShader(args net.Shifter)

AddSourceShader - /source.shader/create

Accepts one argument 1. Name (string) - the name of the shader to create

func (*D) CreateProgram

func (d *D) CreateProgram(args net.Shifter)

func (*D) DrawLoop

func (d *D) DrawLoop()

DrawLoop is for internal use

func (*D) FlushTasks

func (d *D) FlushTasks()

FlushTasks is for internal use

func (*D) Pause

func (d *D) Pause(args net.Shifter)

func (*D) Play

func (d *D) Play(args net.Shifter)

func (*D) Schedule

func (d *D) Schedule(f func())

Schedule is for internal use

func (*D) SetFFTScale

func (d *D) SetFFTScale(args net.Shifter)

func (*D) SetFFVideoTimescale

func (d *D) SetFFVideoTimescale(args net.Shifter)

func (*D) SetGlobalUniform

func (d *D) SetGlobalUniform(args net.Shifter)

func (*D) SetGlobalUniform3f

func (d *D) SetGlobalUniform3f(args net.Shifter)

func (*D) SetGlobalUniformClock

func (d *D) SetGlobalUniformClock(args net.Shifter)

func (*D) SetGlobalUniformTimestamp

func (d *D) SetGlobalUniformTimestamp(args net.Shifter)

func (*D) SetShaderDimensions

func (d *D) SetShaderDimensions(args net.Shifter)

func (*D) SetShaderDrawCount

func (d *D) SetShaderDrawCount(args net.Shifter)

func (*D) SetShaderGeometry

func (d *D) SetShaderGeometry(args net.Shifter)

func (*D) SetShaderInput

func (d *D) SetShaderInput(args net.Shifter)

SetShaderInput - /source.shader/set/input

Accepts three arguments 1. Name (string) - the name of the shader 2. Index (int32) - the index the source should be bound to 3. Source (string) - the name of the source to be bound to the shader

func (*D) SetShaderProgram

func (d *D) SetShaderProgram(args net.Shifter)

func (*D) SetSourceMagFilter

func (d *D) SetSourceMagFilter(args net.Shifter)

func (*D) SetSourceMinFilter

func (d *D) SetSourceMinFilter(args net.Shifter)

func (*D) SetSourceWrapS

func (d *D) SetSourceWrapS(args net.Shifter)

func (*D) SetSourceWrapT

func (d *D) SetSourceWrapT(args net.Shifter)

func (*D) SetUniform

func (d *D) SetUniform(args net.Shifter)

func (*D) SetUniform3f

func (d *D) SetUniform3f(args net.Shifter)

func (*D) SetUniform4f

func (d *D) SetUniform4f(args net.Shifter)

func (*D) SetUniformClock

func (d *D) SetUniformClock(args net.Shifter)

func (*D) SetUniformTimestamp

func (d *D) SetUniformTimestamp(args net.Shifter)

func (*D) WatchProgram

func (d *D) WatchProgram(args net.Shifter)

func (*D) WatchProgramS

func (d *D) WatchProgramS(name, vShaderPath, gShaderPath, fShaderPath string)

Jump to

Keyboard shortcuts

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