initial commit
This commit is contained in:
parent
6715289efe
commit
788c3389af
37645 changed files with 2526849 additions and 80 deletions
|
@ -0,0 +1,15 @@
|
|||
namespace UnityEditor.ShaderGraph
|
||||
{
|
||||
[GenerationAPI]
|
||||
internal struct ConditionalField
|
||||
{
|
||||
public FieldDescriptor field { get; }
|
||||
public bool condition { get; }
|
||||
|
||||
public ConditionalField(FieldDescriptor field, bool condition)
|
||||
{
|
||||
this.field = field;
|
||||
this.condition = condition;
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,11 @@
|
|||
fileFormatVersion: 2
|
||||
guid: add11c9e8698ab44895f9c5a116eb4d3
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
|
@ -0,0 +1,26 @@
|
|||
using System;
|
||||
using UnityEngine;
|
||||
|
||||
namespace UnityEditor.ShaderGraph
|
||||
{
|
||||
[Serializable]
|
||||
[GenerationAPI]
|
||||
internal struct DropdownEntry
|
||||
{
|
||||
public int id; // Used to determine what MaterialSlot an entry belongs to
|
||||
public string displayName;
|
||||
|
||||
// In this case, we will handle the actual IDs later
|
||||
public DropdownEntry(string displayName)
|
||||
{
|
||||
this.id = -1;
|
||||
this.displayName = displayName;
|
||||
}
|
||||
|
||||
internal DropdownEntry(int id, string displayName)
|
||||
{
|
||||
this.id = id;
|
||||
this.displayName = displayName;
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,11 @@
|
|||
fileFormatVersion: 2
|
||||
guid: df5618ff481ae324cb444e2dda9674e4
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
|
@ -0,0 +1,15 @@
|
|||
namespace UnityEditor.ShaderGraph
|
||||
{
|
||||
[GenerationAPI]
|
||||
internal class FieldCondition
|
||||
{
|
||||
public FieldDescriptor field { get; }
|
||||
public bool condition { get; }
|
||||
|
||||
public FieldCondition(FieldDescriptor field, bool condition)
|
||||
{
|
||||
this.field = field;
|
||||
this.condition = condition;
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,11 @@
|
|||
fileFormatVersion: 2
|
||||
guid: c68ce9e6274103943b0a6bfd15f48618
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
|
@ -0,0 +1,15 @@
|
|||
namespace UnityEditor.ShaderGraph
|
||||
{
|
||||
[GenerationAPI]
|
||||
internal struct FieldDependency
|
||||
{
|
||||
public FieldDescriptor field;
|
||||
public FieldDescriptor dependsOn;
|
||||
|
||||
public FieldDependency(FieldDescriptor field, FieldDescriptor dependsOn)
|
||||
{
|
||||
this.field = field;
|
||||
this.dependsOn = dependsOn;
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,11 @@
|
|||
fileFormatVersion: 2
|
||||
guid: 4a4c68fff9ff9cf4f9e9cf4d4077485b
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
|
@ -0,0 +1,28 @@
|
|||
using System;
|
||||
|
||||
namespace UnityEditor.ShaderGraph
|
||||
{
|
||||
[Serializable]
|
||||
[GenerationAPI]
|
||||
internal struct KeywordEntry
|
||||
{
|
||||
public int id; // Used to determine what MaterialSlot an entry belongs to
|
||||
public string displayName;
|
||||
public string referenceName;
|
||||
|
||||
// In this case, we will handle the actual IDs later
|
||||
public KeywordEntry(string displayName, string referenceName)
|
||||
{
|
||||
this.id = -1;
|
||||
this.displayName = displayName;
|
||||
this.referenceName = referenceName;
|
||||
}
|
||||
|
||||
internal KeywordEntry(int id, string displayName, string referenceName)
|
||||
{
|
||||
this.id = id;
|
||||
this.displayName = displayName;
|
||||
this.referenceName = referenceName;
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,11 @@
|
|||
fileFormatVersion: 2
|
||||
guid: 504b2aecb2ac66e4c97ffc7df1df2c71
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
Loading…
Add table
Add a link
Reference in a new issue