Make LightVisibility thread local
This commit is contained in:
parent
438b983ab1
commit
00f6ed45a2
28 changed files with 45 additions and 48 deletions
|
|
@ -62,6 +62,7 @@ namespace swrenderer
|
|||
MainThread = mainThread;
|
||||
FrameMemory = std::make_unique<RenderMemory>();
|
||||
Viewport = std::make_unique<RenderViewport>();
|
||||
Light = std::make_unique<LightVisibility>();
|
||||
DrawQueue = std::make_shared<DrawerCommandQueue>(this);
|
||||
OpaquePass = std::make_unique<RenderOpaquePass>(this);
|
||||
TranslucentPass = std::make_unique<RenderTranslucentPass>(this);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue