Closed
Description
HLSL gives no special meaning to the function named main
. It does give special handling to entry points, and the active entry point when building a freestanding shader. Those cases are handled by the HLSLShader attribute, which can be implicitly applied to main
if no other entry is specified, rather than the function name.
Metadata
Metadata
Assignees
Type
Projects
Status
No status