d3d11_shader_compile_ps

A function defined in __d3d11_shader.gml

d3d11_shader_compile_ps(_file, _entryPoint, _profile)

Description

Compiles a pixel shader from file.

Arguments

Name Type Description
_file String The path to file to compile.
_entryPoint String The name of the entry point function, e.g. "main".
_profile String The pixel shader profile, e.g. "ps_4_0".

Returns

Real The ID of the pixel shader or -1 on fail.

See also

d3d11_get_error_string


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