Texture_set - hpgDesigns/hpgdesigns-dev.io GitHub Wiki

Description

Sets the current texture bound to the first texture stage.

Parameters

Parameter Data Type Description
texid integer Index of the texture to bind for the given stage.

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));

NOTOC