Struct Builtin.BuiltinData | High Definition RP | 6.7.1-preview
docs.unity3d.com
    Show / Hide Table of Contents

    Struct Builtin.BuiltinData

    Namespace: UnityEngine.Experimental.Rendering.HDPipeline
    Syntax
    [GenerateHLSL(PackingRules.Exact, false, false, true, 100, false, false)]
    public struct BuiltinData

    Fields

    backBakeDiffuseLighting

    Declaration
    [SurfaceDataAttributes("Back Bake Diffuse Lighting", false, true)]
    public Vector3 backBakeDiffuseLighting
    Field Value
    Type Description
    Vector3

    bakeDiffuseLighting

    Declaration
    [SurfaceDataAttributes("Bake Diffuse Lighting", false, true)]
    public Vector3 bakeDiffuseLighting
    Field Value
    Type Description
    Vector3

    depthOffset

    Declaration
    [SurfaceDataAttributes("Depth Offset", false, false)]
    public float depthOffset
    Field Value
    Type Description
    Single

    distortion

    Declaration
    [SurfaceDataAttributes("Distortion", false, false)]
    public Vector2 distortion
    Field Value
    Type Description
    Vector2

    distortionBlur

    Declaration
    [SurfaceDataAttributes("Distortion Blur", false, false)]
    public float distortionBlur
    Field Value
    Type Description
    Single

    emissiveColor

    Declaration
    [SurfaceDataAttributes("Emissive Color", false, false)]
    public Vector3 emissiveColor
    Field Value
    Type Description
    Vector3

    motionVector

    Declaration
    [SurfaceDataAttributes("MotionVector", false, false)]
    public Vector2 motionVector
    Field Value
    Type Description
    Vector2

    opacity

    Declaration
    [MaterialSharedPropertyMapping(MaterialSharedProperty.Alpha)]
    [SurfaceDataAttributes("Opacity", false, false)]
    public float opacity
    Field Value
    Type Description
    Single

    renderingLayers

    Declaration
    [SurfaceDataAttributes("RenderingLayers", false, false)]
    public uint renderingLayers
    Field Value
    Type Description
    UInt32

    shadowMask0

    Declaration
    [SurfaceDataAttributes("Shadow Mask 0", false, false)]
    public float shadowMask0
    Field Value
    Type Description
    Single

    shadowMask1

    Declaration
    [SurfaceDataAttributes("Shadow Mask 1", false, false)]
    public float shadowMask1
    Field Value
    Type Description
    Single

    shadowMask2

    Declaration
    [SurfaceDataAttributes("Shadow Mask 2", false, false)]
    public float shadowMask2
    Field Value
    Type Description
    Single

    shadowMask3

    Declaration
    [SurfaceDataAttributes("Shadow Mask 3", false, false)]
    public float shadowMask3
    Field Value
    Type Description
    Single
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023