Documentation
¶
Index ¶
- Constants
- func ClearStack()
- func Disable()
- func Enable()
- func Pop()
- func Push()
- func SetColor(color color2.Color)
- func SetEquation(equation Equation)
- func SetEquationSeparate(equation Equation, equationAlpha Equation)
- func SetFunction(src Factor, dst Factor)
- func SetFunctionSeparate(src Factor, dst Factor, srcAlpha Factor, dstAlpha Factor)
- type Equation
- type Factor
Constants ¶
View Source
const ( Add = Equation(gl.FUNC_ADD) Subtract = Equation(gl.FUNC_SUBTRACT) ReverseSubtract = Equation(gl.FUNC_REVERSE_SUBTRACT) Min = Equation(gl.MIN) Max = Equation(gl.MAX) )
View Source
const ( Zero = Factor(gl.ZERO) One = Factor(gl.ONE) SrcColor = Factor(gl.SRC_COLOR) OneMinusSrcColor = Factor(gl.ONE_MINUS_SRC_COLOR) DstColor = Factor(gl.DST_COLOR) OneMinusDstColor = Factor(gl.ONE_MINUS_DST_COLOR) SrcAlpha = Factor(gl.SRC_ALPHA) OneMinusSrcAlpha = Factor(gl.ONE_MINUS_SRC_ALPHA) DstAlpha = Factor(gl.DST_ALPHA) OneMinusDstAlpha = Factor(gl.ONE_MINUS_DST_ALPHA) ConstantColor = Factor(gl.CONSTANT_COLOR) OneMinusConstantColor = Factor(gl.ONE_MINUS_CONSTANT_COLOR) ConstantAlpha = Factor(gl.CONSTANT_ALPHA) OneMinusConstantAlpha = Factor(gl.ONE_MINUS_CONSTANT_ALPHA) SrcAlphaSaturate = Factor(gl.SRC_ALPHA_SATURATE) Src1Color = Factor(gl.SRC1_COLOR) OneMinusSrc1Color = Factor(gl.ONE_MINUS_SRC1_COLOR) Src1Alpha = Factor(gl.SRC1_ALPHA) OneMinusSrc1Alpha = Factor(gl.ONE_MINUS_SRC1_ALPHA) )
Variables ¶
This section is empty.
Functions ¶
func ClearStack ¶
func ClearStack()
func SetEquation ¶
func SetEquation(equation Equation)
func SetEquationSeparate ¶
func SetFunction ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.