Functions | |
RayObject * | AllocRayObject (Int32 tex_cnt) |
void | FreeRayObject (RayObject *&op) |
Allocates a ray object. Destroy the allocated ray object with FreeRayObject().
[in] | tex_cnt | The texture count. |
void FreeRayObject | ( | RayObject *& | op | ) |
Destructs ray objects allocated with AllocRayObject().
[in,out] | op | The ray object to destruct. If the pointer is nullptr nothing happens. The pointer is assigned nullptr afterwards. |