docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Shaders

    Work with shader code in the Scriptable Render Pipeline (SRP).

    Page Description
    Use shader methods from the SRP Core shader library SRP Core has a library of High-Level Shader Language (HLSL) shader files that contain helper methods. You can import these files into your custom shader files and use the helper methods.
    Synchronizing shader code and C# Generate HLSL code based on C# structs to synchronize data and constants between shaders and C#.

    Additional resources

    • HLSL in Unity
    In This Article
    Back to top
    Copyright © 2025 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)