Enum BVHReturnCode

Enum Documentation

enum coal::BVHReturnCode

Error code for BVH.

Values:

enumerator BVH_OK
enumerator BVH_ERR_MODEL_OUT_OF_MEMORY

BVH is valid.

enumerator BVH_ERR_BUILD_OUT_OF_SEQUENCE

Cannot allocate memory for vertices and triangles.

enumerator BVH_ERR_BUILD_EMPTY_MODEL

BVH construction does not follow correct sequence.

enumerator BVH_ERR_BUILD_EMPTY_PREVIOUS_FRAME

BVH geometry is not prepared.

enumerator BVH_ERR_UNSUPPORTED_FUNCTION

BVH geometry in previous frame is not prepared.

enumerator BVH_ERR_UNUPDATED_MODEL

BVH funtion is not supported.

enumerator BVH_ERR_INCORRECT_DATA

BVH model update failed.

enumerator BVH_ERR_UNKNOWN

BVH data is not valid.