mirror of
https://mirror.ghproxy.com/https://github.com/dexyfex/CodeWalker
synced 2026-05-17 09:36:14 +08:00
Refactored rendering and input code, added show skeletons option to WorldForm
This commit is contained in:
@@ -730,7 +730,7 @@ namespace CodeWalker.Rendering
|
||||
|
||||
|
||||
|
||||
public void Enqueue(RenderableGeometryInst geom)
|
||||
public void Enqueue(ref RenderableGeometryInst geom)
|
||||
{
|
||||
var shader = geom.Geom.DrawableGeom.Shader;
|
||||
|
||||
@@ -751,11 +751,11 @@ namespace CodeWalker.Rendering
|
||||
|
||||
batch.Geometries.Add(geom);
|
||||
}
|
||||
public void Enqueue(RenderableBoundGeometryInst geom)
|
||||
public void Enqueue(ref RenderableBoundGeometryInst geom)
|
||||
{
|
||||
RenderBoundGeoms.Add(geom);
|
||||
}
|
||||
public void Enqueue(RenderableInstanceBatchInst batch)
|
||||
public void Enqueue(ref RenderableInstanceBatchInst batch)
|
||||
{
|
||||
RenderInstBatches.Add(batch);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user