SpiecsEngine
 
Loading...
Searching...
No Matches

◆ GetAccel()

AccelKHR & Spices::MeshPack::GetAccel ( )
inherited

Get this accel.

Returns
Returns this accel.

Definition at line 261 of file MeshPack.cpp.

262 {
264
266 {
267 SPICES_CORE_ERROR("Can not access accel before require it.")
268 }
269
270 if(!m_Accel.accel)
271 {
272 SPICES_CORE_ERROR("Can not access accel before build it.")
273 }
274
275 return m_Accel;
276 }
#define SPICES_PROFILE_ZONE
AccelKHR m_Accel
This meshPack blas accel.
Definition MeshPack.h:368
std::atomic_bool m_IsRequiredAccel
True if required accel by BLAS Build.
Definition MeshPack.h:373
std::shared_ptr< VulkanAccelerationStructure > accel
Definition Attribute.h:18