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:49
void setPickupID(unsigned short id)
Definition: GeometryInstance.cpp:35
GeometryInstance(GeomCluster^ gc, MaterialInstance ^m)
~GeometryInstance()
Definition: GeometryInstance.cpp:24
void setVisibility(bool flg)
Definition: GeometryInstance.cpp:39
void setDisplayID(unsigned int id)
Definition: GeometryInstance.cpp:31
void invaidateVAO()
Definition: GeometryInstance.cpp:54
void boundaryInvalidate()
Definition: GeometryInstance.h:20
void stopPickup(bool flg)
Definition: GeometryInstance.cpp:44
Definition: MaterialInstance.h:6
Definition: Billboard.cpp:4