Click or drag to resize
Ab4d.SharpEngine logo

OptimizedGroupNodeInitializeAsync(CancellationToken) Method

InitializeAsync method (without Scene as a parameter) can be called after the OptimizedGroupNode was added to the Scene's RootNode and after child SceneNodes have been added to this OptimizedGroupNode. It initializes all the data and GpuBuffers in the background thread. While background initialization is not finished (IsInitializingInBackground is true), it is not allowed to change the child nodes.

Namespace: Ab4d.SharpEngine.SceneNodes
Assembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 5.0.1075+bc537c8d217949260b11f66ee86aefa6456ac517
Syntax
C#
public Task InitializeAsync(
	CancellationToken cancellationToken = default
)

Parameters

cancellationToken  CancellationToken  (Optional)
optional CancellationToken

Return Value

Task
See Also