Skip to content

Commit 73a17a0

Browse files
author
kevyuu
committed
Implement ICPUSampler::valid()
1 parent 7087099 commit 73a17a0

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

include/nbl/asset/ICPURenderpass.h

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,12 @@ class ICPURenderpass : public IRenderpass, public IAsset
3838
return ET_RENDERPASS;
3939
}
4040

41+
inline virtual bool valid() const override
42+
{
43+
// no modification is possible after creation. parameter is validated when creating renderpass
44+
return true;
45+
}
46+
4147
protected:
4248
inline ICPURenderpass(const SCreationParams& _params, const SCreationParamValidationResult& _validation) : IRenderpass(_params, _validation) {}
4349
inline ~ICPURenderpass() = default;

0 commit comments

Comments
 (0)