Documentation

Change Texture - Open Dev Kit Documentation

Open Dev Kit Documentation :: OpenGL :: Renderer :: Change Texture

OpenGL.Renderer.ChangeTexture(
  Texture Unit Integer,
  Location Integer,
  Image Image*
) 
Changes the current texture for a particular unit

Parameters

Texture Unit Integer
Which texture unit to make active to bind the texture (0 to 7)
Location Integer
Location of the uniform sampler variable to be modified for this texture
Image Image*
Image to use as the texture

Return Value

Nothing

If you think anything is missing, please feel free to: submit documentation feedback on this page