d3d11_texture_set_stage_ps

A function defined in __d3d11.gml

d3d11_texture_set_stage_ps(_slot, _texture)

Description

Passes a texture to a pixel shader.

Arguments

Name Type Description
_slot Real The pixel texture slot index. Must be in range 0..D3D11_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT-1.
_texture Pointer.Texture The texture to pass.

Returns

Real Returns 1 on success or 0 on fail.


Copyright © 2023, BlueBurn. Built on June 28, 2023 using GMDoc.