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.
 
 
 
 

57 lines
2.2 KiB

using System;
namespace UnityEngine.Rendering.HighDefinition
{
[Serializable]
[SupportedOnRenderPipeline(typeof(HDRenderPipelineAsset))]
[Categorization.CategoryInfo(Name = "R: Runtime Assets", Order = 1000), HideInInspector]
class HDRenderPipelineRuntimeAssets : IRenderPipelineResources
{
public int version => 0;
bool IRenderPipelineGraphicsSettings.isAvailableInPlayerBuild => true;
// Default Diffusion Profile
[SerializeField][ResourcePath("Runtime/RenderPipelineResources/defaultDiffusionProfile.asset")]
private DiffusionProfileSettings m_DefaultDiffusionProfile;
public DiffusionProfileSettings defaultDiffusionProfile
{
get => m_DefaultDiffusionProfile;
set => this.SetValueAndNotify(ref m_DefaultDiffusionProfile, value);
}
// Compute Material Library
[SerializeField] [ResourcePath("Runtime/RenderPipelineResources/ComputeMaterialLibrary.asset")]
private ComputeMaterialLibrary m_ComputeMaterialLibrary;
public ComputeMaterialLibrary computeMaterialLibrary
{
get => m_ComputeMaterialLibrary;
set => this.SetValueAndNotify(ref m_ComputeMaterialLibrary, value, nameof(m_ComputeMaterialLibrary));
}
// Area Light Emissive Meshes
[SerializeField][ResourcePath("Runtime/RenderPipelineResources/Mesh/Cylinder.fbx")]
private Mesh m_EmissiveCylinderMesh;
public Mesh emissiveCylinderMesh
{
get => m_EmissiveCylinderMesh;
set => this.SetValueAndNotify(ref m_EmissiveCylinderMesh, value);
}
[SerializeField][ResourcePath("Runtime/RenderPipelineResources/Mesh/Quad.fbx")]
private Mesh m_EmissiveQuadMesh;
public Mesh emissiveQuadMesh
{
get => m_EmissiveQuadMesh;
set => this.SetValueAndNotify(ref m_EmissiveQuadMesh, value);
}
[SerializeField][ResourcePath("Runtime/RenderPipelineResources/Mesh/Sphere.fbx")]
private Mesh m_SphereMesh;
public Mesh sphereMesh
{
get => m_SphereMesh;
set => this.SetValueAndNotify(ref m_SphereMesh, value);
}
}
}