--- layout: stdlib-reference --- # attribute [shader] ## Description Marks a function as a shader entry point. ## Signature
[shader(stage)]## Parameters #### stage The stage of the shader. Must be one of "vertex", "fragment", "compute", "geometry", "hull", "domain", "raygeneration",