mirror of
https://github.com/cocos/cocos4.git
synced 2026-12-01 07:42:38 +08:00
@@ -105,6 +105,12 @@ void DescriptorSetValidator::update() {
|
||||
_isDirty = false;
|
||||
}
|
||||
|
||||
void DescriptorSetValidator::forceUpdate() {
|
||||
_isDirty = true;
|
||||
_actor->forceUpdate();
|
||||
_isDirty = false;
|
||||
}
|
||||
|
||||
void DescriptorSetValidator::updateReferenceStamp() {
|
||||
_referenceStamp = DeviceValidator::getInstance()->currentFrame();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user