vault backup: 2025-06-25 16:20:36

This commit is contained in:
BlueRose 2025-06-25 16:20:36 +08:00
parent 9a2df3566b
commit 7a9d85c5fc
3 changed files with 22 additions and 5 deletions

View File

@ -0,0 +1,9 @@
---
title: Untitled
date: 2025-06-25 15:45:06
excerpt:
tags:
rating: ⭐
---
# 前言
- [UE5 移动端ASTC贴图压缩](https://zhuanlan.zhihu.com/p/662319403)

View File

@ -16,10 +16,18 @@ rating: ⭐
- ShaderWorldActor.h:[[#AShaderWorldActor]] - ShaderWorldActor.h:[[#AShaderWorldActor]]
- SWorld.h:[[#ASWorld]] - SWorld.h:[[#ASWorld]]
## ASWorld # USWorldSubsystem
## AShaderWorldActor 主要管理:
- TArray<USWContextBase*> SW_Contexts
- 渲染相关变量RT_Ready、RenderThreadPoked、RenderThreadResponded处理。
# ASWorld
### PreEditChange() / PostEditChangeProperty() # AShaderWorldActor
大致启动流程:
BeginPlayer()
## PreEditChange() / PostEditChangeProperty()
**PreEditChange()** 主要针对以下两个变量的设置: **PreEditChange()** 主要针对以下两个变量的设置:
- PreventReRegistration防止重新注册。 - PreventReRegistration防止重新注册。
- RuntimePropertyEditing实时属性修改。 - RuntimePropertyEditing实时属性修改。
@ -33,7 +41,7 @@ rating: ⭐
如果RuntimePropertyEditing为true在最后会将RuntimePropertyEditing设置为false。PreventReRegistration也会设置为false。 如果RuntimePropertyEditing为true在最后会将RuntimePropertyEditing设置为false。PreventReRegistration也会设置为false。
### Rebuild变量 ## Rebuild变量
主要出现在: 主要出现在:
- Setup():调用RebuildCleanup()清空所有数据。 - Setup():调用RebuildCleanup()清空所有数据。
- SetupCollision(): RedbuildCollisionContext = true。 - SetupCollision(): RedbuildCollisionContext = true。
@ -43,7 +51,7 @@ rating: ⭐
### Tick() ## Tick()