kmy_for_yukar
SharpKmyCore
Gfx
GeomCluster.h
1
#pragma once
2
3
#include "gfx/Vertex.h"
4
#include "gfx/Buffer.h"
5
#include "gfx/mdl/geomInfo.h"
6
7
namespace
XXSharpKmyGfx
8
{
9
ref class
VertexBuffer;
10
11
private ref class
GeomCluster
12
{
13
public
:
14
GeomCluster();
15
~GeomCluster();
16
17
void
setPrimitive(
int
type) {
18
mesh->m_prim = (kmyGfx::PRIMTYPE)type;
19
}
20
void
update(VertexBuffer ^invb,
int
count);
21
22
kmyGfx::geomInfo* mesh =
nullptr
;
23
int
submesIndex = 0;
24
};
25
}
構築:
1.9.4