Click or drag to resize
AB4D logo

RenderObjectsRenderingStep Fields

The RenderObjectsRenderingStep type exposes the following members.

Fields
 NameDescription
Public fieldStatic memberMainThreadWaitTimeoutMs MainThreadWaitTimeoutMs specifies a timeout that is used in main thread to wait for all background threads to finish preparing command lists. Note that the UI thread is also executing the same task (preparing rendering or preparing the command list) so theoretically it should take the same amount of time on UI and background threads and therefore the default value of 2 seconds should be more then enough.
Public fieldStatic memberMinObjectsForCachedCommandLists MinObjectsForCachedCommandLists is a static integer value that specifies minimum number of objects that are required to start using cached command lists (when enabled with IsCachingCommandLists from DXScene). Default value is 400.
Public fieldStatic memberMinObjectsPerThread MinObjectsPerThread is a static integer value that specifies minimum number of objects that are required to create a new thread. For example if multi-threading is enabled and there are 320 objects to render and MinObjectsPerThread is set to 100 (by default), then 3 threads will be created to render all the objects (if not limited by number of actual processors or MaxBackgroundThreadsCount).
Top
See Also