texture_set(texid)

From ENIGMA
Jump to navigation Jump to search

Description

Sets the current texture bound to the first texture stage.

Parameters

Parameter Data Type Description
texid integer Index of the texture to bind

Return Values

void: This function does not return anything.

Example Call

// demonstrates setting the texture to be used for rendering
texture_set(background_get_texture(bg_grass));