Skip to content

Commit 345dbd8

Browse files
author
kevyuu
committed
Implement ICPUDescriptorSetLayout::valid()
1 parent 51e408b commit 345dbd8

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

include/nbl/asset/ICPUDescriptorSetLayout.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,10 @@ class ICPUDescriptorSetLayout : public IDescriptorSetLayout<ICPUSampler>, public
5656

5757
constexpr static inline auto AssetType = ET_DESCRIPTOR_SET_LAYOUT;
5858
inline E_TYPE getAssetType() const override { return AssetType; }
59+
inline virtual bool valid() const override
60+
{
61+
return true; // no modification is possible after creation
62+
}
5963

6064
protected:
6165
virtual ~ICPUDescriptorSetLayout() = default;

0 commit comments

Comments
 (0)