Compare commits
5 Commits
main
...
sprite_lig
Author | SHA1 | Date |
---|---|---|
cosmonaut | b964af26bd | |
cosmonaut | 4ee7c53907 | |
cosmonaut | c69e659ba5 | |
cosmonaut | 9bd7f84d26 | |
cosmonaut | a76c0234d4 |
|
@ -44,15 +44,12 @@ namespace Kav
|
||||||
|
|
||||||
public void SetData()
|
public void SetData()
|
||||||
{
|
{
|
||||||
if (InstanceCount > 0)
|
VertexBuffer.SetData(
|
||||||
{
|
InstanceDataArray,
|
||||||
VertexBuffer.SetData(
|
0,
|
||||||
InstanceDataArray,
|
InstanceCount,
|
||||||
0,
|
SetDataOptions.NoOverwrite
|
||||||
InstanceCount,
|
);
|
||||||
SetDataOptions.NoOverwrite
|
|
||||||
);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public void Clear()
|
public void Clear()
|
||||||
|
|
Loading…
Reference in New Issue