static void UpdateEnvironmentSubScenes(SerializedHDRaytracingEnvironment rtEnv) { rtEnv.Apply(); HDRenderPipeline hdPipeline = RenderPipelineManager.currentPipeline as HDRenderPipeline; if (hdPipeline != null) { hdPipeline.m_RayTracingManager.UpdateEnvironmentSubScenes(); } }
public override void OnInspectorGUI() { m_SerializedHDRaytracingEnvironment.Update(); Inspector.Draw(m_SerializedHDRaytracingEnvironment, this); m_SerializedHDRaytracingEnvironment.Apply(); }