mirror of
https://git.743378673.xyz/MeloNX/MeloNX.git
synced 2025-07-29 01:47:11 +02:00
Implement vertex instancing (#381)
This commit is contained in:
parent
bc8d5d7ac9
commit
9398339606
7 changed files with 82 additions and 20 deletions
|
@ -7,6 +7,8 @@
|
|||
public bool Enabled;
|
||||
public int Stride;
|
||||
public long VboKey;
|
||||
public bool Instanced;
|
||||
public int Divisor;
|
||||
public GalVertexAttrib[] Attribs;
|
||||
}
|
||||
|
||||
|
@ -22,6 +24,8 @@
|
|||
public float FlipX;
|
||||
public float FlipY;
|
||||
|
||||
public int Instance;
|
||||
|
||||
public GalFrontFace FrontFace;
|
||||
|
||||
public bool CullFaceEnabled;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue