vault backup: 2025-06-25 16:20:36
This commit is contained in:
parent
9a2df3566b
commit
7a9d85c5fc
9
03-UnrealEngine/Mobile/UE5 移动端ASTC贴图压缩.md
Normal file
9
03-UnrealEngine/Mobile/UE5 移动端ASTC贴图压缩.md
Normal 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)
|
@ -16,10 +16,18 @@ rating: ⭐
|
||||
- ShaderWorldActor.h:[[#AShaderWorldActor]]
|
||||
- SWorld.h:[[#ASWorld]]
|
||||
|
||||
## ASWorld
|
||||
## AShaderWorldActor
|
||||
# USWorldSubsystem
|
||||
主要管理:
|
||||
- TArray<USWContextBase*> SW_Contexts
|
||||
- 渲染相关变量:RT_Ready、RenderThreadPoked、RenderThreadResponded处理。
|
||||
# ASWorld
|
||||
|
||||
### PreEditChange() / PostEditChangeProperty()
|
||||
# AShaderWorldActor
|
||||
|
||||
大致启动流程:
|
||||
BeginPlayer()
|
||||
|
||||
## PreEditChange() / PostEditChangeProperty()
|
||||
**PreEditChange()** 主要针对以下两个变量的设置:
|
||||
- PreventReRegistration:防止重新注册。
|
||||
- RuntimePropertyEditing:实时属性修改。
|
||||
@ -33,7 +41,7 @@ rating: ⭐
|
||||
|
||||
如果RuntimePropertyEditing为true,在最后会将RuntimePropertyEditing设置为false。PreventReRegistration也会设置为false。
|
||||
|
||||
### Rebuild变量
|
||||
## Rebuild变量
|
||||
主要出现在:
|
||||
- Setup():调用RebuildCleanup()清空所有数据。
|
||||
- SetupCollision(): RedbuildCollisionContext = true。
|
||||
@ -43,7 +51,7 @@ rating: ⭐
|
||||
|
||||
|
||||
|
||||
### Tick()
|
||||
## Tick()
|
||||
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user