Files
UShaderLab/Shaders/ShaderLab.ush
2026-07-02 15:14:13 +08:00

17 lines
928 B
Plaintext

// Copyright UShaderLab. All Rights Reserved.
//
// ShaderLab authoring umbrella — `#include "/Plugin/ShaderLab/ShaderLab.ush"` at the top of every .usl
// for IDE completion. This header is NOT compiled: the ShaderLab parser strips it (only entry-function
// bodies reach the shader compiler). It just pulls in the pieces the IDE needs to resolve a .usl:
// - ShaderLabDSL : the SL_* annotation macros
// - ShaderLabCommon : the FShaderLabSurface/etc. structs
// - ShaderLabUENode : the UE_ node-intrinsic stubs + their enums (generated by ShaderLab.IDE.Prepare)
// - ShaderLabUEFunctions : the UE_ HLSL library functions (also auto-included at compile)
#pragma once
#include "/Plugin/ShaderLab/Private/ShaderLabDSL.ush"
#include "/Plugin/ShaderLab/Private/ShaderLabCommon.ush"
#include "/Plugin/ShaderLab/Private/ShaderLabUENode.ush"
#include "/Plugin/ShaderLab/Private/ShaderLabUEFunctions.ush"