Align SRP boundaries and editor windowing
This commit is contained in:
@@ -1153,6 +1153,8 @@ TEST_F(
|
||||
engine->OnUpdate(0.016f);
|
||||
|
||||
bool hasPublicContextRecordScene = false;
|
||||
bool hasPublicContextRecordScenePhase = false;
|
||||
bool hasPublicContextRecordSceneInjectionPoint = false;
|
||||
bool hasPublicContextRecordOpaqueScenePhase = false;
|
||||
bool hasPublicContextRecordBeforeOpaqueInjection = false;
|
||||
bool hasPublicContextRecordShaderVectorFullscreenPass = false;
|
||||
@@ -1192,6 +1194,14 @@ TEST_F(
|
||||
selectionScript,
|
||||
"HasPublicContextRecordScene",
|
||||
hasPublicContextRecordScene));
|
||||
EXPECT_TRUE(runtime->TryGetFieldValue(
|
||||
selectionScript,
|
||||
"HasPublicContextRecordScenePhase",
|
||||
hasPublicContextRecordScenePhase));
|
||||
EXPECT_TRUE(runtime->TryGetFieldValue(
|
||||
selectionScript,
|
||||
"HasPublicContextRecordSceneInjectionPoint",
|
||||
hasPublicContextRecordSceneInjectionPoint));
|
||||
EXPECT_TRUE(runtime->TryGetFieldValue(
|
||||
selectionScript,
|
||||
"HasPublicContextRecordOpaqueScenePhase",
|
||||
@@ -1330,6 +1340,8 @@ TEST_F(
|
||||
hasPublicRendererRecordStageRenderGraph));
|
||||
|
||||
EXPECT_FALSE(hasPublicContextRecordScene);
|
||||
EXPECT_FALSE(hasPublicContextRecordScenePhase);
|
||||
EXPECT_FALSE(hasPublicContextRecordSceneInjectionPoint);
|
||||
EXPECT_FALSE(hasPublicContextRecordOpaqueScenePhase);
|
||||
EXPECT_FALSE(hasPublicContextRecordBeforeOpaqueInjection);
|
||||
EXPECT_FALSE(hasPublicContextRecordShaderVectorFullscreenPass);
|
||||
|
||||
Reference in New Issue
Block a user