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()
Syntax
public struct ShaderGraphRequirements
Fields
requiresBitangent
Declaration
public NeededCoordinateSpace requiresBitangent
Field Value
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
requiresNormal
Declaration
public NeededCoordinateSpace requiresNormal
Field Value
requiresPosition
Declaration
public NeededCoordinateSpace requiresPosition
Field Value
requiresScreenPosition
Declaration
public bool requiresScreenPosition
Field Value
| Type |
Description |
| System.Boolean |
|
requiresTangent
Declaration
public NeededCoordinateSpace requiresTangent
Field Value
requiresVertexColor
Declaration
public bool requiresVertexColor
Field Value
| Type |
Description |
| System.Boolean |
|
requiresViewDir
Declaration
public NeededCoordinateSpace requiresViewDir
Field Value
Properties
none
Declaration
public static ShaderGraphRequirements none { get; }
Property Value
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 Parameters
NeedsTangentSpace()
Declaration
public bool NeedsTangentSpace()
Returns
| Type |
Description |
| System.Boolean |
|
Union(ShaderGraphRequirements)
Declaration
public ShaderGraphRequirements Union(ShaderGraphRequirements other)
Parameters
Returns