// 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 }
// 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 }