SpiecsEngine
 
Loading...
Searching...
No Matches

◆ SetPushConstant()

template<typename T >
void Spices::RendererSubPass::SetPushConstant ( T fn)
inline

Set Pipeline PushConstant.

Parameters
[in]fnThe function of fill in VkPushConstantRange.

Set isUsePushConstant only if entrace this function.

Fill in VkPushConstantRange Data.

Parameters
[in]m_PushConstantRangeVkPushConstantRange.

Definition at line 265 of file RendererSubPass.h.

266 {
268
272 isUsePushConstant = true;
273
279 }
#define SPICES_PROFILE_ZONE
VkPushConstantRange m_PushConstantRange
VkPushConstantRange.
bool isUsePushConstant
True if sub pass use a PushConstant.

References isUsePushConstant.