Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
42 commits
Select commit Hold shift + click to select a range
cde0610
2D Shader vector truncation fix in LightingUtility.hlsl for 6000.3
joecruz993 Jun 12, 2025
dfa5f7b
[XR][URP] Force to not perfrom MSAA resolve for XR MSAA autoresolve s…
giulia-u3d Jun 12, 2025
f81928c
[VFX] Fix Keep Override Behavior
PaulDemeulenaere Jun 13, 2025
f32573e
Binding a dummy color target as a workaround when gizmos enabled
raquelpeces Jun 13, 2025
565f43d
[UUM-109322][6000.3][URP 2D] Expose methods to add/remove sorting layers
kennytann Jun 13, 2025
ae65934
Update SRP usages of EntityId (plus a few HandleUtility functions)
Daxode Jun 13, 2025
b5c17bc
Updated MultipleSRP to 6000.3 and enabled rendergraph
kirill-titov-u Jun 13, 2025
4cc395e
Increasing timeout to load asset bundles in single-threaded mode and …
AngelaDematte Jun 14, 2025
6465f4b
Add missing vertex SH keyword to URP lit shaders
pema99 Jun 15, 2025
f779a7f
Switch to IsDepthPrimingEnabledRenderGraph as a static method
kirill-titov-u Jun 15, 2025
99aabbc
[URP] [Hidding CompatibilityMode] Update UniversalRenderer
RSlysz Jun 15, 2025
31f4bbc
DOCG-7382 Small updates to HDRP shadows documentation
markg-unity Jun 15, 2025
c5d4e66
Bring ReflectionProbe editing tools into the Scene view, as overlays
belgaard Jun 15, 2025
d5b7c36
[VFX] When the word template is used as a Unity feature then capitali…
julienamsellem Jun 17, 2025
5b417e4
[trunk][Switch2] Implement correct platform naming in cross-platform …
timcannellunity3d Jun 17, 2025
e6b7375
DOCG-7380 Update HDRP light component settings
markg-unity Jun 17, 2025
c905902
2d/staging/tilemap/uum 109109
ChuanXin-Unity Jun 17, 2025
e00205e
Remove (dead) toolbar support code from HDRP
belgaard Jun 17, 2025
8897ed1
[VFX] Sticky notes improvements
julienamsellem Jun 17, 2025
6ddaabd
[URP] [Hidding CompatibilityMode] Update public UniversalRenderer's p…
RSlysz Jun 17, 2025
9a63299
Disable unstable tests
AngelaDematte Jun 18, 2025
88cc774
ShaderVariantList Updater/Importer improvements.
Jun 18, 2025
31e16d4
Add AttributeUsage.Field to [SerializeField] attribute
richard-fine Jun 18, 2025
1e0059f
Feedback fixes 30 May 2025
markg-unity Jun 18, 2025
c338356
[URP][Hiding CompatibilityMode] Update UniversalRenderer's internal/p…
arttu-peltonen Jun 18, 2025
73ad749
Fixed GC Alloc in Lens Flare Post Processing Effect
jrs-unity Jun 18, 2025
f2cf868
Strip out the xr uber post and xr final post pass if they are not needed
aquadragon3d Jun 18, 2025
900e37e
[URP][Hiding CompatibilityMode] Decal passes
arttu-peltonen Jun 19, 2025
dc86357
[VFX] Six-way : Fix APV sampling position in HDRP
ludovic-theobald Jun 19, 2025
9c4f143
Graphics/brg test fix
lorin-atzberger-unity Jun 19, 2025
8303ca2
[VFX] Avoid DPI warning message in the console
julienamsellem Jun 19, 2025
b32e292
Made list view elements in Default Volume Editor to be unselectable
kirill-titov-u Jun 19, 2025
e701ee4
DOCG-7470 Accessibility improvements
markg-unity Jun 19, 2025
f18770f
Increasing timeout to load asset bundles in single-threaded mode
AngelaDematte Jun 19, 2025
94112a5
Add Y-Flip Support in SSAO Renderer Feature
Jun 19, 2025
84f49cf
[ShaderGraph] Template Browser Integration
Jun 19, 2025
e843f64
InstanceIDToObject -> EntityIdToObject
Daxode Jun 19, 2025
e6a90d5
docg-7323: Fix link and remove extra text
ocarrere Jun 24, 2025
0b45b49
docg-7128: Fix link
ocarrere Jun 24, 2025
c44d681
docg-7140-fix-typo
ocarrere Jun 24, 2025
6b73ba3
DOCG-6486 Correct output type in Perlin Noise page
markg-unity Jun 24, 2025
72b2cbe
[HDRP] Fix water override parent
remi-chapelain Jun 24, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
using UnityEngine;
using System.Collections.Generic;
using System.Collections;
using UnityEngine.Serialization;

namespace UnityEditor.Rendering.LookDev
{
Expand Down Expand Up @@ -334,16 +335,17 @@ public class ViewContext
// Careful here: we want to keep it while reloading script.
// But from one unity editor to an other, ID are not kept.
// So, only use it when reloading from script update.
[FormerlySerializedAs("viewedObjecHierarchytInstanceID")]
[SerializeField]
int viewedObjecHierarchytInstanceID;
EntityId viewedObjecHierarchytEntityId;

/// <summary>
/// Check if an Environment is registered for this view.
/// The result will be accurate even if the object have not been reloaded yet.
/// </summary>
public bool hasViewedObject =>
!String.IsNullOrEmpty(viewedObjectAssetGUID)
|| viewedObjecHierarchytInstanceID != 0;
|| viewedObjecHierarchytEntityId != 0;

/// <summary>Reference to the object given for instantiation.</summary>
public GameObject viewedObjectReference { get; private set; }
Expand Down Expand Up @@ -426,14 +428,14 @@ void LoadEnvironmentFromGUID()
public void UpdateViewedObject(GameObject viewedObject)
{
viewedObjectAssetGUID = "";
viewedObjecHierarchytInstanceID = 0;
viewedObjecHierarchytEntityId = 0;
viewedObjectReference = null;
if (viewedObject == null || viewedObject.Equals(null))
return;

bool fromHierarchy = viewedObject.scene.IsValid();
if (fromHierarchy)
viewedObjecHierarchytInstanceID = viewedObject.GetInstanceID();
viewedObjecHierarchytEntityId = viewedObject.GetInstanceID();
else
viewedObjectAssetGUID = AssetDatabase.AssetPathToGUID(AssetDatabase.GetAssetPath(viewedObject));
viewedObjectReference = viewedObject;
Expand All @@ -451,9 +453,9 @@ void LoadViewedObject()
string path = AssetDatabase.GUIDToAssetPath(viewedObjectAssetGUID);
viewedObjectReference = AssetDatabase.LoadAssetAtPath<GameObject>(path);
}
else if (viewedObjecHierarchytInstanceID != 0)
else if (viewedObjecHierarchytEntityId != 0)
{
viewedObjectReference = EditorUtility.InstanceIDToObject(viewedObjecHierarchytInstanceID) as GameObject;
viewedObjectReference = EditorUtility.EntityIdToObject(viewedObjecHierarchytEntityId) as GameObject;
}
}

Expand All @@ -466,7 +468,7 @@ internal void LoadAll(bool reloadWithTemporaryID)
}

internal void CleanTemporaryObjectIndexes()
=> viewedObjecHierarchytInstanceID = 0;
=> viewedObjecHierarchytEntityId = 0;

/// <summary>Reset the camera state to default values</summary>
public void ResetCameraState()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,8 @@ bool MatchesSearchString(string title)
};

ListView listView = new ListView(filteredCategoryEditors, -1, makeItem, bindItem);
listView.selectionType = SelectionType.None;
listView.reorderable = false;
listView.virtualizationMethod = CollectionVirtualizationMethod.DynamicHeight;
componentListElement.Add(listView);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,11 @@
margin-left: -31px;
margin-right: -6px;
}

.unity-imgui-container.unity-list-view__item--selected, .unity-imgui-container.unity-list-view__item:checked{
background-color: transparent;
}

.unity-imgui-container.unity-list-view__item:hover {
background-color: var(--unity-colors-highlight-background-hover);
}
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ public void UpdateFrame()
m_BatchersContext.UpdateFrame();
}

public void DestroyMaterials(NativeArray<int> destroyedMaterials)
public void DestroyMaterials(NativeArray<EntityId> destroyedMaterials)
{
m_InstanceCullingBatcher.DestroyMaterials(destroyedMaterials);
}
Expand All @@ -81,12 +81,12 @@ public void DestroyDrawInstances(NativeArray<InstanceHandle> instances)
m_InstanceCullingBatcher.DestroyDrawInstances(instances);
}

public void DestroyMeshes(NativeArray<int> destroyedMeshes)
public void DestroyMeshes(NativeArray<EntityId> destroyedMeshes)
{
m_InstanceCullingBatcher.DestroyMeshes(destroyedMeshes);
}

internal void FreeRendererGroupInstances(NativeArray<int> rendererGroupIDs)
internal void FreeRendererGroupInstances(NativeArray<EntityId> rendererGroupIDs)
{
if (rendererGroupIDs.Length == 0)
return;
Expand Down Expand Up @@ -115,7 +115,7 @@ public void UpdateInstanceOccluders(RenderGraph renderGraph, in OccluderParamete
m_BatchersContext.occlusionCullingCommon.UpdateInstanceOccluders(renderGraph, occluderParams, occluderSubviewUpdates);
}

public void UpdateRenderers(NativeArray<int> renderersID, bool materialUpdateOnly = false)
public void UpdateRenderers(NativeArray<EntityId> renderersID, bool materialUpdateOnly = false)
{
if (renderersID.Length == 0)
return;
Expand All @@ -127,7 +127,7 @@ public void UpdateRenderers(NativeArray<int> renderersID, bool materialUpdateOnl
}

#if UNITY_EDITOR
public void UpdateSelectedRenderers(NativeArray<int> renderersID)
public void UpdateSelectedRenderers(NativeArray<EntityId> renderersID)
{
var instances = new NativeArray<InstanceHandle>(renderersID.Length, Allocator.TempJob, NativeArrayOptions.UninitializedMemory);
m_BatchersContext.ScheduleQueryRendererGroupInstancesJob(renderersID, instances).Complete();
Expand All @@ -136,7 +136,7 @@ public void UpdateSelectedRenderers(NativeArray<int> renderersID)
}
#endif

public JobHandle SchedulePackedMaterialCacheUpdate(NativeArray<int> materialIDs,
public JobHandle SchedulePackedMaterialCacheUpdate(NativeArray<EntityId> materialIDs,
NativeArray<GPUDrivenPackedMaterialData> packedMaterialDatas)
{
return m_InstanceCullingBatcher.SchedulePackedMaterialCacheUpdate(materialIDs, packedMaterialDatas);
Expand Down
Loading