Skip to content

Commit

Permalink
skip index reset
Browse files Browse the repository at this point in the history
  • Loading branch information
star-e committed Aug 11, 2023
1 parent 1c9ecc4 commit 378ed5f
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions cocos/rendering/custom/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -375,12 +375,6 @@ export class DescriptorBlockIndex {
this.descriptorType = descriptorType;
this.visibility = visibility;
}
reset (updateFrequency: UpdateFrequency = UpdateFrequency.PER_INSTANCE, parameterType: ParameterType = ParameterType.CONSTANTS, descriptorType: DescriptorTypeOrder = DescriptorTypeOrder.UNIFORM_BUFFER, visibility: ShaderStageFlagBit = ShaderStageFlagBit.NONE): void {
this.updateFrequency = updateFrequency;
this.parameterType = parameterType;
this.descriptorType = descriptorType;
this.visibility = visibility;
}
updateFrequency: UpdateFrequency;
parameterType: ParameterType;
descriptorType: DescriptorTypeOrder;
Expand Down

0 comments on commit 378ed5f

Please sign in to comment.