Documentation
¶
Index ¶
- type FragmentGenerator
- func (this *FragmentGenerator) AddGlobal(global Variable) *FragmentGenerator
- func (this *FragmentGenerator) AddGlobals(globals []Variable) *FragmentGenerator
- func (this *FragmentGenerator) AddInput(input Variable) *FragmentGenerator
- func (this *FragmentGenerator) AddInputs(inputs []Variable) *FragmentGenerator
- func (this *FragmentGenerator) AddMakro(makro Makro) *FragmentGenerator
- func (this *FragmentGenerator) AddMakros(makros []Makro) *FragmentGenerator
- func (this *FragmentGenerator) AddModule(module Module) *FragmentGenerator
- func (this *FragmentGenerator) AddOutput(output Variable) *FragmentGenerator
- func (this *FragmentGenerator) AddOutputs(outputs []Variable) *FragmentGenerator
- func (this *FragmentGenerator) SetVersion(version string) *FragmentGenerator
- func (this *FragmentGenerator) String() (str string)
- type Function
- type Generator
- type Makro
- type Module
- func (this *Module) CallString(index uint8) string
- func (this *Module) FunctionPrototypesString() (str string)
- func (this *Module) FunstionsString() (str string)
- func (this *Module) PrototypeString(index uint8) string
- func (this *Module) String(index uint8) string
- func (this *Module) UniformsString(version uint16) (str string)
- type Struct
- type Variable
- type VertexGenerator
- func (this *VertexGenerator) AddAttribute(attribute Variable) *VertexGenerator
- func (this *VertexGenerator) AddAttributes(attributes []Variable) *VertexGenerator
- func (this *VertexGenerator) AddGlobal(global Variable) *VertexGenerator
- func (this *VertexGenerator) AddGlobals(globals []Variable) *VertexGenerator
- func (this *VertexGenerator) AddMakro(makro Makro) *VertexGenerator
- func (this *VertexGenerator) AddMakros(makros []Makro) *VertexGenerator
- func (this *VertexGenerator) AddModule(module Module) *VertexGenerator
- func (this *VertexGenerator) AddOutput(output Variable) *VertexGenerator
- func (this *VertexGenerator) AddOutputs(outputs []Variable) *VertexGenerator
- func (this *VertexGenerator) SetVersion(version string) *VertexGenerator
- func (this *VertexGenerator) String() (str string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FragmentGenerator ¶
func (*FragmentGenerator) AddGlobal ¶
func (this *FragmentGenerator) AddGlobal(global Variable) *FragmentGenerator
func (*FragmentGenerator) AddGlobals ¶
func (this *FragmentGenerator) AddGlobals(globals []Variable) *FragmentGenerator
func (*FragmentGenerator) AddInput ¶
func (this *FragmentGenerator) AddInput(input Variable) *FragmentGenerator
func (*FragmentGenerator) AddInputs ¶
func (this *FragmentGenerator) AddInputs(inputs []Variable) *FragmentGenerator
func (*FragmentGenerator) AddMakro ¶
func (this *FragmentGenerator) AddMakro(makro Makro) *FragmentGenerator
func (*FragmentGenerator) AddMakros ¶
func (this *FragmentGenerator) AddMakros(makros []Makro) *FragmentGenerator
func (*FragmentGenerator) AddModule ¶
func (this *FragmentGenerator) AddModule(module Module) *FragmentGenerator
func (*FragmentGenerator) AddOutput ¶
func (this *FragmentGenerator) AddOutput(output Variable) *FragmentGenerator
func (*FragmentGenerator) AddOutputs ¶
func (this *FragmentGenerator) AddOutputs(outputs []Variable) *FragmentGenerator
func (*FragmentGenerator) SetVersion ¶
func (this *FragmentGenerator) SetVersion(version string) *FragmentGenerator
func (*FragmentGenerator) String ¶
func (this *FragmentGenerator) String() (str string)
type Function ¶
func (*Function) PrototypeString ¶
type Generator ¶
type Module ¶
type Module struct {
Structs []Struct
Uniforms []Variable
Functions []Function
Name string
Body string
}
func (*Module) CallString ¶
func (*Module) FunctionPrototypesString ¶
func (*Module) FunstionsString ¶
func (*Module) PrototypeString ¶
func (*Module) UniformsString ¶
type Variable ¶
func (*Variable) AttributeString ¶
func (*Variable) InputString ¶
func (*Variable) OutputString ¶
func (*Variable) UniformString ¶
type VertexGenerator ¶
func (*VertexGenerator) AddAttribute ¶
func (this *VertexGenerator) AddAttribute(attribute Variable) *VertexGenerator
func (*VertexGenerator) AddAttributes ¶
func (this *VertexGenerator) AddAttributes(attributes []Variable) *VertexGenerator
func (*VertexGenerator) AddGlobal ¶
func (this *VertexGenerator) AddGlobal(global Variable) *VertexGenerator
func (*VertexGenerator) AddGlobals ¶
func (this *VertexGenerator) AddGlobals(globals []Variable) *VertexGenerator
func (*VertexGenerator) AddMakro ¶
func (this *VertexGenerator) AddMakro(makro Makro) *VertexGenerator
func (*VertexGenerator) AddMakros ¶
func (this *VertexGenerator) AddMakros(makros []Makro) *VertexGenerator
func (*VertexGenerator) AddModule ¶
func (this *VertexGenerator) AddModule(module Module) *VertexGenerator
func (*VertexGenerator) AddOutput ¶
func (this *VertexGenerator) AddOutput(output Variable) *VertexGenerator
func (*VertexGenerator) AddOutputs ¶
func (this *VertexGenerator) AddOutputs(outputs []Variable) *VertexGenerator
func (*VertexGenerator) SetVersion ¶
func (this *VertexGenerator) SetVersion(version string) *VertexGenerator
func (*VertexGenerator) String ¶
func (this *VertexGenerator) String() (str string)
Click to show internal directories.
Click to hide internal directories.