Minimum changes to enable the reuse of USkeletalMeshes. CVar toggleable.
[REVIEW] [at]pere.rifa, [at]alexei.lebedev
#rnx
[CL 29414369 by gerard martin in ue5-main branch]
- Fixed InstanceDescriptorRuntimeHash not being updated.
[REVIEW] [at]alexei.lebedev, [at]pere.rifa
[FYI] [at]aaron.eady, [at]bhavan.vaishnav
#rnx
[CL 29404120 by gerard martin in ue5-main branch]
Add option to override this flag at compile time.
Force "None" optimization to disable streaming.
#rnx
[REVIEW] [at]alexei.lebedev [at]pere.rifa
#rb pere.rifa, alexei.lebedev
[CL 29403177 by jordi rovira in ue5-main branch]
- Updated FLogBenchmarkUitl class to output only used stats.
- Corrected some wrongly reported stats.
- FLogBenchmarkUtil now also reports stats on csv files.
- Moved FinishUpdateGlobal from outside UpdateSkeletalMesh.
- Fixed GetNumSkeletalMeshes.
- Fixed a case where UE_MUTABLE_UPDATE_REGION region would never end.
[REVIEW] [at]daniel.moreno, [at]alexei.lebedev
[FYI] [at]pere.rifa
#rnx
[CL 29083968 by gerard martin in ue5-main branch]
Allows to see the state of the parameters when enqueuing an update. Useful when analyzing why there are more updates than they should. CVar toggable.
[REVIEW] [at]max.garcia, [at]alexei.lebedev
#rnx
[CL 28872105 by gerard martin in ue5-main branch]
This update context is maintain through the full lifecycle of the update.
- Merged FMutableOperation and FMutableOperationData into the the new FUpdateContextPrivate.
- Renaming of the Operation and OperationData varaibles will come in a future submit.
- Moved header implementations to the source due to delcaration order issues.
[REVIEW] [at]pere.rifa, [at]alexei.lebedev
#tests PIE Jumpsuit, Village Infinite
#rnx
[CL 28833454 by gerard martin in ue5-main branch]
On execution, It will invalidate all generated data and re-initialize the ComponentsData to match the state of the compiled model.
* Remove InstanceUpdateFlags and Private::ReloadParameters methods.
* Move the Code to set the AssetUserData from the COSystem to the CustomizableInstancePrivateData
* Add PostDuplicate override to the CustomizableInstancePrivateData to invalidate generated data after duplicating an instance in the editor
#rnx
#rb alexei.lebedev
#rb gerard.martin
[CL 28410905 by pere rifa in ue5-main branch]
Renamed some legacy structs to use the proper convention.
Removed some unnecessary boilerplate get and set methods.
Optimize mesh extract operation with switches and conditionals.
#rnx
[REVIEW] [at]max.garcia
[CL 28219048 by jordi rovira in ue5-main branch]
- Moved FMutableUpdateCandidate function bodies from header to source files.
- Moved IsUpdateRequired and GetUpdatePriority functions from the Instance to the System (who has the Update resonsability).
- Moved Hashes from the public to the private.
[REVIEW] [at]alexei.lebedev
[FYI] [at]pere.rifa
#rnx
[CL 28181603 by gerard martin in ue5-main branch]
- Removed unecessary flags.
- Removed Generated Instance flag from DoUpdateSkeletalMesh. Was incorrect. This flag still requires some improvements.
- Renamed InitUpdateSkeletalMesh to EnqueuepdateSkeletalMesh.
- DoUpdateSkeletalMesh is no longer mandatory to start an update. An update can start by simply adding the FMutableOperation to the MutableCurrentOperation.
- Removed no longer necessary bIsCloseDistTick. DoUpdateSkeletalMesh is no longer called from the tick. Now DoUpdateSkeletalMesh is only necessary to enqueue a task, which tick never does (executes a task directly).
- Removed unused BeginUpdate delegates.
- Replaced LODsStreamingEnabled with expression that was activating the flag (LODSettings).
- Replaced ForceGenerateAllLODs with the expression that was activating the flag (being on an EditorViewport).
- State is no longer obtained from the Instance, it is captured when generating mu::Parameters.
- Removed unecessary State copy when creating lambads.
[REVIEW] [at]alexei.lebedev, [at]pere.rifa
#tests PIE, Village, Editor
#rnx
[CL 27873026 by gerard martin in ue5-main branch]
[mutable] Add option to use Unreal's texture compressor at compile and debug time. Enable it by default for cook. Add option to override the internal pixel format function.
Change the method to find out the platform texture format, so that we have less ad-hoc code and more support for Unreal's project settings affecting it.
Cleanup image conversion code related to instance baking, removing duplicated hacky code.
Prevent CO image compilation for server platforms.
[REVIEW] [at]gerard.martin, [at]pere.rifa
#rnx
[CL 27825438 by jordi rovira in ue5-main branch]
[FYI] jordi.rovira
Original CL Desc
-----------------------------------------------------------------
[mutable] Fix and re-apply CL27666321
[mutable] Add option to use Unreal's texture compressor at compile and debug time. Enable it by default for cook. Add option to override the internal pixel format function.
Change the method to find out the platform texture format, so that we have less ad-hoc code and more support for Unreal's project settings affecting it.
Cleanup image conversion code related to instance baking, removing duplicated hacky code.
Prevent CO image compilation for server platforms.
[REVIEW] [at]gerard.martin, [at]pere.rifa
#rnx
[CL 27728180 by robert millar in ue5-main branch]
[mutable] Add option to use Unreal's texture compressor at compile and debug time. Enable it by default for cook. Add option to override the internal pixel format function.
Change the method to find out the platform texture format, so that we have less ad-hoc code and more support for Unreal's project settings affecting it.
Cleanup image conversion code related to instance baking, removing duplicated hacky code.
Prevent CO image compilation for server platforms.
[REVIEW] [at]gerard.martin, [at]pere.rifa
#rnx
[CL 27708867 by jordi rovira in ue5-main branch]