API

Type Alias GsFragmentSlot

GsFragmentSlot:
    | "GS_FRAGMENT_DEFINITIONS"
    | "GS_FRAGMENT_MAIN_BEGIN"
    | "GS_FRAGMENT_BEFORE_FRAGCOLOR"
    | "GS_FRAGMENT_MAIN_END"

Names of the four WGSL slots a GsShaderFragment may inject into the Gaussian-splat fragment shader. Markers in the WGSL source look like /*GS_FRAGMENT_MAIN_END*/ — valid comments when no plugin is present.