Documentation
¶
Index ¶
- type D
- func (d *D) AddShaderStorage(args net.Shifter)
- func (d *D) AddSourceFFT(args net.Shifter)
- func (d *D) AddSourceFFVideo(args net.Shifter)
- func (d *D) AddSourceShader(args net.Shifter)
- func (d *D) CreateProgram(args net.Shifter)
- func (d *D) DrawLoop()
- func (d *D) FlushTasks()
- func (d *D) Pause(args net.Shifter)
- func (d *D) Play(args net.Shifter)
- func (d *D) Schedule(f func())
- func (d *D) SetFFTScale(args net.Shifter)
- func (d *D) SetFFVideoTimescale(args net.Shifter)
- func (d *D) SetGlobalUniform(args net.Shifter)
- func (d *D) SetGlobalUniform3f(args net.Shifter)
- func (d *D) SetGlobalUniformClock(args net.Shifter)
- func (d *D) SetGlobalUniformTimestamp(args net.Shifter)
- func (d *D) SetShaderDimensions(args net.Shifter)
- func (d *D) SetShaderDrawCount(args net.Shifter)
- func (d *D) SetShaderGeometry(args net.Shifter)
- func (d *D) SetShaderInput(args net.Shifter)
- func (d *D) SetShaderProgram(args net.Shifter)
- func (d *D) SetSourceMagFilter(args net.Shifter)
- func (d *D) SetSourceMinFilter(args net.Shifter)
- func (d *D) SetSourceWrapS(args net.Shifter)
- func (d *D) SetSourceWrapT(args net.Shifter)
- func (d *D) SetUniform(args net.Shifter)
- func (d *D) SetUniform3f(args net.Shifter)
- func (d *D) SetUniform4f(args net.Shifter)
- func (d *D) SetUniformClock(args net.Shifter)
- func (d *D) SetUniformTimestamp(args net.Shifter)
- func (d *D) WatchProgram(args net.Shifter)
- func (d *D) WatchProgramS(name, vShaderPath, gShaderPath, fShaderPath string)
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 (*D) AddShaderStorage ¶
func (*D) AddSourceFFT ¶
func (*D) AddSourceFFVideo ¶
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 ¶
AddSourceShader - /source.shader/create
Accepts one argument 1. Name (string) - the name of the shader to create
func (*D) CreateProgram ¶
func (*D) SetFFTScale ¶
func (*D) SetFFVideoTimescale ¶
func (*D) SetGlobalUniform ¶
func (*D) SetGlobalUniform3f ¶
func (*D) SetGlobalUniformClock ¶
func (*D) SetGlobalUniformTimestamp ¶
func (*D) SetShaderDimensions ¶
func (*D) SetShaderDrawCount ¶
func (*D) SetShaderGeometry ¶
func (*D) SetShaderInput ¶
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) SetSourceMagFilter ¶
func (*D) SetSourceMinFilter ¶
func (*D) SetSourceWrapS ¶
func (*D) SetSourceWrapT ¶
func (*D) SetUniform ¶
func (*D) SetUniform3f ¶
func (*D) SetUniform4f ¶
func (*D) SetUniformClock ¶
func (*D) SetUniformTimestamp ¶
func (*D) WatchProgram ¶
func (*D) WatchProgramS ¶
Click to show internal directories.
Click to hide internal directories.