You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
42 lines
1.3 KiB
42 lines
1.3 KiB
namespace UnityEditor.ShaderGraph
|
|
{
|
|
[GenerationAPI]
|
|
internal struct PassDescriptor
|
|
{
|
|
// Definition
|
|
public string displayName;
|
|
public string referenceName;
|
|
public string lightMode;
|
|
public bool useInPreview;
|
|
public bool virtualTextureFeedback;
|
|
public bool analyticDerivativesEnabled;
|
|
public bool analyticDerivativesApplyEmulate;
|
|
|
|
|
|
// Templates
|
|
public string passTemplatePath;
|
|
public string[] sharedTemplateDirectories;
|
|
|
|
// Port mask
|
|
public BlockFieldDescriptor[] validVertexBlocks;
|
|
public BlockFieldDescriptor[] validPixelBlocks;
|
|
|
|
// Collections
|
|
public StructCollection structs;
|
|
public FieldCollection requiredFields;
|
|
public DependencyCollection fieldDependencies;
|
|
public RenderStateCollection renderStates;
|
|
public PragmaCollection pragmas;
|
|
public DefineCollection defines;
|
|
public KeywordCollection keywords;
|
|
public IncludeCollection includes;
|
|
public AdditionalCommandCollection additionalCommands;
|
|
public CustomInterpSubGen.Collection customInterpolators;
|
|
|
|
// Methods
|
|
public bool Equals(PassDescriptor other)
|
|
{
|
|
return referenceName == other.referenceName;
|
|
}
|
|
}
|
|
}
|