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]
[FYI] jordi.rovira
Original CL Desc
-----------------------------------------------------------------
[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.
[REVIEW] [at]gerard.martin, [at]pere.rifa
#rnx
[CL 27685547 by bob tellez in ue5-main branch]
- Texture Parameter Node now has a Default Value and Reference Value (prerviously known as Default Value).
- Created a new Editor Image Provider. Returns all textures available in the project.
- In editor, default Textures are correctly applied when creating a default Instance.
- Removed deprecated Instance/Descriptor Texture Parameter functions.
[REVIEW] [at]alexei.lebedev, [at]jordi.rovira
[FYI] [at]daniel.moreno, [at]genis.sole
#rnx
[CL 27668512 by gerard martin in ue5-main branch]
- Added consts.
- Changed function copies to references.
- Moved checks at the beggining of functions.
- Removed parameters passed outside the FMutableOperationData.
- Default initialization of members.
- Removed unused code.
- Moved implementations to source file.
- Fixed typos.
[REVIEW] [at]alexei.lebedev, [at]pere.rifa
#rnx
[CL 27666874 by gerard martin in ue5-main branch]
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.
[REVIEW] [at]gerard.martin, [at]pere.rifa
#rnx
[CL 27666341 by jordi rovira in ue5-main branch]