Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( DefaultBlend = BlendFunction{ Enabled: true, Source: gl.SRC_ALPHA, Destination: gl.ONE_MINUS_SRC_ALPHA, } DisabledBlend = BlendFunction{ Enabled: false, } )
View Source
var ( Front = CullFunction{ Enabled: true, Function: gl.FRONT, } Back = CullFunction{ Enabled: true, Function: gl.BACK, } FrontAndBack = CullFunction{ Enabled: true, Function: gl.FRONT_AND_BACK, } CullDisabled = CullFunction{ Enabled: false, } )
View Source
var ( Never = DepthFunction{ Enabled: true, Function: gl.NEVER, } Less = DepthFunction{ Enabled: true, Function: gl.LESS, } Equal = DepthFunction{ Enabled: true, Function: gl.EQUAL, } LessEqual = DepthFunction{ Enabled: true, Function: gl.LEQUAL, } Greater = DepthFunction{ Enabled: true, Function: gl.GREATER, } NotEqual = DepthFunction{ Enabled: true, Function: gl.NOTEQUAL, } GreaterEqual = DepthFunction{ Enabled: true, Function: gl.GEQUAL, } Always = DepthFunction{ Enabled: true, Function: gl.ALWAYS, } DisabledDepth = DepthFunction{ Enabled: false, } )
Functions ¶
This section is empty.
Types ¶
type BlendFunction ¶
func GetCurrentBlendFunction ¶
func GetCurrentBlendFunction() *BlendFunction
func (*BlendFunction) Set ¶
func (f *BlendFunction) Set()
func (*BlendFunction) UnmarshalYAML ¶
func (f *BlendFunction) UnmarshalYAML(value *yaml.Node) error
type CullFunction ¶
func GetCurrentCullFunction ¶
func GetCurrentCullFunction() *CullFunction
func (*CullFunction) Set ¶
func (f *CullFunction) Set()
func (*CullFunction) UnmarshalYAML ¶
func (f *CullFunction) UnmarshalYAML(value *yaml.Node) error
type DepthFunction ¶
func GetCurrentDepthFunction ¶
func GetCurrentDepthFunction() *DepthFunction
func (*DepthFunction) Set ¶
func (f *DepthFunction) Set()
func (*DepthFunction) UnmarshalYAML ¶
func (f *DepthFunction) UnmarshalYAML(value *yaml.Node) error
Click to show internal directories.
Click to hide internal directories.