fix(portal): synchronize destination presentation state
This commit is contained in:
parent
4b1bceefbb
commit
e95f55f25b
42 changed files with 2815 additions and 288 deletions
|
|
@ -9,4 +9,19 @@ public interface IWbMeshAdapter
|
|||
{
|
||||
void IncrementRefCount(ulong id);
|
||||
void DecrementRefCount(ulong id);
|
||||
|
||||
/// <summary>
|
||||
/// Pins render data whose CPU preparation is owned by a specialized
|
||||
/// pipeline (for example synthetic EnvCell geometry). Unlike ordinary
|
||||
/// registration, production implementations must not start a generic
|
||||
/// GfxObj decode for this id.
|
||||
/// </summary>
|
||||
void PinPreparedRenderData(ulong id) => IncrementRefCount(id);
|
||||
|
||||
/// <summary>
|
||||
/// True once the mesh has crossed the render-thread upload barrier and is
|
||||
/// available to draw. The default keeps lifecycle-only test doubles
|
||||
/// source-compatible; production adapters override it.
|
||||
/// </summary>
|
||||
bool IsRenderDataReady(ulong id) => true;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue