Exemple #1
0
//	A convenience short-hand to invoke gl.GetSamplerParameterfv for this sampler object.
func (me Sampler) ParamFloat(param gl.Enum) (val gl.Float) {
	gl.GetSamplerParameterfv(me.GlHandle, param, &val)
	return
}
Exemple #2
0
//	Returns four floating-point numbers that comprise the RGBA color of the texture border.
//	The initial value is (0, 0, 0, 0).
func (me Sampler) WrapClampBorderColor() (val *GlVec4) {
	gl.GetSamplerParameterfv(me.GlHandle, gl.TEXTURE_BORDER_COLOR, &val[0])
	return
}