Logo
GeometryInstance.h
1#pragma once
2
3namespace SharpKmyGfx
4{
5 ref class GeomCluster;
6 ref class MaterialInstance;
7
8 public ref class GeometryInstance
9 {
10 public:
12 GeometryInstance(kmyGfx::GeometryInstance* gi);
14 void setDisplayID(unsigned int id);
15 void setPickupID(unsigned short id);
16 void setVisibility(bool flg);
17 void stopPickup(bool flg);
18 void useVAO(bool flg);
19 void invaidateVAO();
20 void boundaryInvalidate() { if (obj)obj->boundaryInvalidate(); }
21 kmyGfx::GeometryInstance* obj = nullptr;
22 private:
23 bool ownptr = false;
24 };
25}
Definition: GeomCluster.h:12
Definition: GeometryInstance.h:9
kmyGfx::GeometryInstance * obj
Definition: GeometryInstance.h:21
void useVAO(bool flg)
Definition: GeometryInstance.cpp:58
void setPickupID(unsigned short id)
Definition: GeometryInstance.cpp:38
GeometryInstance(GeomCluster^ gc, MaterialInstance ^m)
~GeometryInstance()
Definition: GeometryInstance.cpp:23
void setVisibility(bool flg)
Definition: GeometryInstance.cpp:44
void setDisplayID(unsigned int id)
Definition: GeometryInstance.cpp:32
void invaidateVAO()
Definition: GeometryInstance.cpp:65
void boundaryInvalidate()
Definition: GeometryInstance.h:20
void stopPickup(bool flg)
Definition: GeometryInstance.cpp:51
Definition: MaterialInstance.h:6
Definition: Asset.h:4