Struct ShaderGraphRequirements | Package Manager UI website
docs.unity3d.com
    Show / Hide Table of Contents

    Struct ShaderGraphRequirements

    Inherited Members
    System.ValueType.Equals(System.Object)
    System.ValueType.GetHashCode()
    System.ValueType.ToString()
    System.Object.Equals(System.Object, System.Object)
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.GetType()
    Namespace: UnityEditor.ShaderGraph
    Syntax
    public struct ShaderGraphRequirements

    Fields

    requiresBitangent

    Declaration
    public NeededCoordinateSpace requiresBitangent
    Field Value
    Type Description
    NeededCoordinateSpace

    requiresCameraOpaqueTexture

    Declaration
    public bool requiresCameraOpaqueTexture
    Field Value
    Type Description
    System.Boolean

    requiresDepthTexture

    Declaration
    public bool requiresDepthTexture
    Field Value
    Type Description
    System.Boolean

    requiresFaceSign

    Declaration
    public bool requiresFaceSign
    Field Value
    Type Description
    System.Boolean

    requiresMeshUVs

    Declaration
    public List<UVChannel> requiresMeshUVs
    Field Value
    Type Description
    List<UVChannel>

    requiresNormal

    Declaration
    public NeededCoordinateSpace requiresNormal
    Field Value
    Type Description
    NeededCoordinateSpace

    requiresPosition

    Declaration
    public NeededCoordinateSpace requiresPosition
    Field Value
    Type Description
    NeededCoordinateSpace

    requiresScreenPosition

    Declaration
    public bool requiresScreenPosition
    Field Value
    Type Description
    System.Boolean

    requiresTangent

    Declaration
    public NeededCoordinateSpace requiresTangent
    Field Value
    Type Description
    NeededCoordinateSpace

    requiresVertexColor

    Declaration
    public bool requiresVertexColor
    Field Value
    Type Description
    System.Boolean

    requiresViewDir

    Declaration
    public NeededCoordinateSpace requiresViewDir
    Field Value
    Type Description
    NeededCoordinateSpace

    Properties

    none

    Declaration
    public static ShaderGraphRequirements none { get; }
    Property Value
    Type Description
    ShaderGraphRequirements

    Methods

    FromNodes<T>(List<T>, ShaderStageCapability, Boolean)

    Declaration
    public static ShaderGraphRequirements FromNodes<T>(List<T> nodes, ShaderStageCapability stageCapability = ShaderStageCapability.All, bool includeIntermediateSpaces = true)where T : class, INode
    Parameters
    Type Name Description
    List<T> nodes
    ShaderStageCapability stageCapability
    System.Boolean includeIntermediateSpaces
    Returns
    Type Description
    ShaderGraphRequirements
    Type Parameters
    Name Description
    T

    NeedsTangentSpace()

    Declaration
    public bool NeedsTangentSpace()
    Returns
    Type Description
    System.Boolean

    Union(ShaderGraphRequirements)

    Declaration
    public ShaderGraphRequirements Union(ShaderGraphRequirements other)
    Parameters
    Type Name Description
    ShaderGraphRequirements other
    Returns
    Type Description
    ShaderGraphRequirements
    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