Class CreateBuiltInShadersBundle
Optional build task that extracts Unity's built in shaders and assigns them to the specified bundle
Inheritance
System.Object
CreateBuiltInShadersBundle
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: UnityEditor.Build.Pipeline.Tasks
Syntax
public class CreateBuiltInShadersBundle : IBuildTask
Constructors
CreateBuiltInShadersBundle(String)
Declaration
public CreateBuiltInShadersBundle(string bundleName)
Parameters
Type | Name | Description |
---|---|---|
System.String | bundleName |
Properties
RequiredContextTypes
Declaration
public Type[] RequiredContextTypes { get; }
Property Value
Type | Description |
---|---|
System.Type[] |
Implements
ShaderBundleName
Declaration
public string ShaderBundleName { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Version
Declaration
public int Version { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
Implements
Methods
Run(IBuildContext)
Declaration
public ReturnCode Run(IBuildContext context)
Parameters
Type | Name | Description |
---|---|---|
IBuildContext | context |
Returns
Type | Description |
---|---|
ReturnCode |