func (m *Sampler2D) Set(texture int, slot int32, samplerID uint32) {
	gl.ActiveTexture(uint32(texture))
	gl.ProgramUniform1i(m.program, m.uniform, slot)
	gl.BindTexture(gl.TEXTURE_2D, samplerID)
}
// Set sets this Sampler2D to the provided id, and updates the uniform data.
Set sets this Sampler2D to the provided id, and updates the uniform data.
// Set sets this Sampler2D to the provided id and updates the uniform data .
func (m *Sampler2D) Set(texture int, slot int32, samplerID uint32) {
	gl.ActiveTexture(uint32(texture))
	gl.ProgramUniform1i(m.program, m.uniform, slot)
	gl.BindTexture(gl.TEXTURE_2D, samplerID)
}
func ( m * Sampler2D ) Set ( texture int , slot int32 , samplerID uint32 ) { gl . ActiveTexture ( uint32 ( texture ) ) gl . ProgramUniform1i ( m . program , m . uniform , slot ) gl . BindTexture ( gl . TEXTURE_2D , samplerID ) }
Set sets this Sampler2D to the provided id, and updates the uniform data.
Set sets this Sampler2D to the provided id and updates the uniform data .