set_sampler DEPRECATED

function

set_sampler(_index, _texture)

Description

Sets a texture sampler to the given texture.

Arguments

Name Type Description
_index Real The index of the texture sampler.
_texture Pointer.Texture The new texture to sample.

Returns

Struct.BBMOD_Shader Returns self.

Deprecated

Please use built-in texture_set_stage instead!

Do you find this page helpful?

Copyright © 2022, BlueBurn. Built on November 16, 2022 using GMDoc.