Skip to content

Commit 44b450e

Browse files
author
kevyuu
committed
Improve get group count method
1 parent a03701f commit 44b450e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

include/nbl/asset/IRayTracingPipeline.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -145,9 +145,9 @@ class IRayTracingPipeline : public IPipeline<PipelineLayoutType>, public IRayTra
145145
};
146146

147147
inline const SCachedCreationParams& getCachedCreationParams() const { return m_params; }
148-
size_t getHitGroupCount() const { return m_hitShaderGroups->size(); }
149-
size_t getMissGroupCount() const { return m_missShaderGroups->size(); }
150-
size_t getCallableGroupCount() const { return m_callableShaderGroups->size(); }
148+
inline uint32_t getHitGroupCount() const { return m_hitShaderGroups->size(); }
149+
inline uint32_t getMissGroupCount() const { return m_missShaderGroups->size(); }
150+
inline uint32_t getCallableGroupCount() const { return m_callableShaderGroups->size(); }
151151

152152
protected:
153153
explicit IRayTracingPipeline(const SCreationParams& _params) :

0 commit comments

Comments
 (0)