bbmod_texture_set_stage_vs

A function defined in __bbmod_d3d11.gml

bbmod_texture_set_stage_vs(_slot, _texture)

Description

Passes a texture to a vertex shader. On Windows this uses BBMOD.dll (if available), oterwise GameMaker's built-in texture_set_stage is used, which should work on OpenGL-based platforms.

Arguments

Name Type Description
_slot Real The vertex texture slot index. Must be in range 0..7.
_texture Pointer.Texture The texture to pass.

Note

You can test if this function is supported with bbmod_vtf_is_supported.

See also

bbmod_vtf_is_supported

Do you find this page helpful?

Copyright © 2024, BlueBurn. Built on April 26, 2024 using GMDoc.