mirror of
https://github.com/Facepunch/sbox-public.git
synced 2026-08-02 08:50:18 -04:00
Move remaining SceneObjects off mainthread (#4745)
* Add CommandList.SetBufferData * SpriteBatchSceneObject use CommandLists + make thread safe * Make ScenePanelObject threadsafe * SceneObjects ExecuteOffTheMainThread by default * Remove ExecuteOnMainThread = false, assignments since it's now default * Add Data4 entry to CommandLists allows us to store matrix * Migrate TextRendering to CommandList * Migrate Gizmos to CommandList * Migrate LineRendering to CommandList * ScenePanel uses CommandList * Clutter uses commandlist * Debug SceneObjects use commandlist * Use CommandList.SetBufferData for sprites and lines * Fix SceneLineObject using wrong attribtutes to draw
This commit is contained in:
@@ -31,7 +31,6 @@ file class DebugSphereSceneObject : SceneCustomObject
|
||||
|
||||
public DebugSphereSceneObject( SceneWorld sceneWorld ) : base( sceneWorld )
|
||||
{
|
||||
managedNative.ExecuteOnMainThread = false;
|
||||
}
|
||||
|
||||
public override void RenderSceneObject()
|
||||
|
||||
Reference in New Issue
Block a user