 |
PK_PARTITION_advance_pmark |
|
PK_ERROR_code_t PK_PARTITION_advance_pmark
(
--- received arguments ---
PK_PARTITION_t partition, --- partition
const PK_PARTITION_advance_pmark_o_t *options, --- advance pmark options
--- returned arguments ---
PK_PMARK_t *const pmark --- partition mark
)
This function advances the current partition mark in the given 'partition'.
Specific Errors:
PK_ERROR_rollback_not_started Partitioned rollback is not active (MILD)
PK_ERROR_frustrum_failure The frustrum reported a problem (MILD)
PK_ERROR_bad_mark The pmark cannot be advanced (MILD)
PK_ERROR_mesh_not_found Not all requested mesh data successfully
received (MILD)
The function will reuse the current partition mark so that it represents the
current state of the 'partition'. The previous state of the 'partition'
represented by the current 'pmark' is lost. The 'partition' is unchanged apart
from now being at this 'pmark'. If the 'partition' was already at a 'pmark',
this option has no effect.
Initial pmarks, pmarks used by a mark, and pmarks with a following pmark
cannot be advanced.
This function should only be called when partitioned rollback has been started
with PK_DELTA_register_callbacks.