A function defined in __bbmod_d3d11.gml
bbmod_texture_set_stage_vs(_slot, _texture)
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.
Name | Type | Description |
---|---|---|
_slot | Real |
The vertex texture slot index. Must be in range 0..7. |
_texture | Pointer.Texture |
The texture to pass. |
You can test if this function is supported with bbmod_vtf_is_supported.
Copyright © 2024, BlueBurn. Built on September 07, 2024 using GMDoc.