|
SceneDumpRenderingLayers Method |
Writes string that contains details about each RenderingItem in all RenderingLayers to the console (when the application is debugged in Visual Studio the result is written to Output window or Immediate Window if started from there; in Rider the result is written to Debug Output window).
Namespace: Ab4d.SharpEngineAssembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 2.0.8956+4c7684e186ca1be74e7a284fbe739d9a1b843d3c
Syntax public void DumpRenderingLayers(
bool showSortedRenderingItems = true,
bool dumpEmptyRenderingLayers = true,
bool showOverview = true,
bool showItemsInQueue = true,
bool showParentSceneNodeInfo = true,
bool showParentSceneNodeDetails = false,
bool showSortedValue = false,
bool showNativeHandles = false,
bool showSpritesRenderingLayers = true,
ICamera? camera = null
)
Parameters
- showSortedRenderingItems Boolean (Optional)
- when true (by default) then the RenderingItems in sorted RenderingLayers are listed in the sorted order; when false, then they are listed as they were added to the RenderingLayer
- dumpEmptyRenderingLayers Boolean (Optional)
- when false the empty rendering layers are not written to the returned string (true by default)
- showOverview Boolean (Optional)
- when true, then first an overview of all RenderingLayers is shown with a number of items in each queue (optional; true by default)
- showItemsInQueue Boolean (Optional)
- when true, then each item in each rendering layer is displayed (optional; true by default)
- showParentSceneNodeInfo Boolean (Optional)
- when true (by default) then info about ParentSceneNode is added to returned text
- showParentSceneNodeDetails Boolean (Optional)
- when true (false by default) then details about ParentSceneNode is added to returned text (showParentSceneNodeInfo must also be true)
- showSortedValue Boolean (Optional)
- when true (false by default) then the StateSortValue and distance to camera (when camera parameter is set) are shown
- showNativeHandles Boolean (Optional)
- when true (false by default) then the Handle values of the native buffers and pipeline are shown
- showSpritesRenderingLayers Boolean (Optional)
- when true (by default) and there are any sprites defined, then show SpriteRenderingLayers from this Scene and all used SceneViews
- camera ICamera (Optional)
- when camera is set and showSortedValue parameter is true, then distance to camera is shown
See Also