Class CoreBuildData
Contains a set of needed data for building. This might also being called when building Asset Bundles
Implements
Inherited Members
Namespace: UnityEditor .Rendering
Assembly: Unity.RenderPipelines.Core.Editor.dll
Syntax
public class CoreBuildData : IDisposable
Constructors
CoreBuildData(BuildTarget, bool)
Initializes a new instance of the Core
Declaration
public CoreBuildData(BuildTarget buildTarget, bool isDevelopmentBuild)
Parameters
Type | Name | Description |
---|---|---|
Build |
buildTarget | The target platform for the build (e.g., Standalone, iOS, Android). |
bool | isDevelopmentBuild | Indicates whether the build is a development build. If true, the build includes debugging and logging features. |
Properties
buildingPlayerForRenderPipeline
If the target build has an SRP configured
Declaration
public bool buildingPlayerForRenderPipeline { get; }
Property Value
Type | Description |
---|---|
bool |
currentRenderPipelineAssetType
A valid type of Render
Declaration
public Type currentRenderPipelineAssetType { get; }
Property Value
Type | Description |
---|---|
Type |
instance
Instance to the current Core
Declaration
public static CoreBuildData instance { get; }
Property Value
Type | Description |
---|---|
Core |
isDevelopmentBuild
Returns if the build is done for debug
Declaration
public bool isDevelopmentBuild { get; set; }
Property Value
Type | Description |
---|---|
bool |
renderPipelineAssets
A list of Render
Declaration
public List<RenderPipelineAsset> renderPipelineAssets { get; }
Property Value
Type | Description |
---|---|
List<Render |
Methods
Dispose()
Dispose all the gathered data for building
Declaration
public void Dispose()