docs: sync rendering pass execution docs

This commit is contained in:
2026-04-03 15:10:37 +08:00
parent d4afa022c1
commit 19bd38ab15
59 changed files with 1544 additions and 420 deletions

View File

@@ -56,6 +56,8 @@ TEST(GameObject_Test, DefaultConstructor_DefaultValues) {
GameObject go;
EXPECT_EQ(go.GetName(), "GameObject");
EXPECT_EQ(go.GetTag(), "Untagged");
EXPECT_TRUE(go.CompareTag("Untagged"));
EXPECT_TRUE(go.IsActive());
EXPECT_NE(go.GetID(), GameObject::INVALID_ID);
}
@@ -68,6 +70,7 @@ TEST(GameObject_Test, NamedConstructor) {
TEST(GameObject_Test, Layer_GetSetAndSerializeRoundTrip) {
GameObject source("LayeredObject");
source.SetTag("Player");
source.SetLayer(7);
std::stringstream stream;
@@ -76,7 +79,9 @@ TEST(GameObject_Test, Layer_GetSetAndSerializeRoundTrip) {
GameObject target;
target.Deserialize(stream);
EXPECT_EQ(source.GetTag(), "Player");
EXPECT_EQ(source.GetLayer(), 7u);
EXPECT_EQ(target.GetTag(), "Player");
EXPECT_EQ(target.GetLayer(), 7u);
}