Logo
DrawInfo.h
1#pragma once
2
3#include "Types.h"
4#include "base/ResourceServer.h"
5
6#include "gfx/Vertex.h"
7#include "gfx/Buffer.h"
8#include "gfx/mdl/geomInfo.h"
9
10namespace SharpKmyGfx{
11
12 ref class Render;
13 ref class Light;
14
15 public enum class BLENDTYPE{
16 kOPAQUE,
17 kALPHA,
18 kADD,
19 kSUB,
22 kCOUNT,
23 };
24
25 public enum class CULLTYPE{
26 kBACK,
27 kNONE,
28 kFRONT,
29 kDOUBLE,
30 };
31
32 public enum class STENCILOP{
33 kKEEP,
35 kINC,
36 kDEC,
37 };
38
39 public enum class FUNCTYPE{
40 kNEVER,
41 kLESS,
42 kEQUAL,
43 kLEQUAL,
46 kGEQUAL,
47 kALWAYS,
48 };
49
50 public ref class Drawable
51 {
52 public:
53 System::Runtime::InteropServices::GCHandle handle;
54 Drawable();
55 void Release();
56 virtual void draw(Render ^scn){}
57 };
58
59
60
61}
Definition: DrawInfo.h:51
void Release()
Definition: DrawInfo.cpp:19
virtual void draw(Render ^scn)
Definition: DrawInfo.h:56
Drawable()
Definition: DrawInfo.cpp:15
System::Runtime::InteropServices::GCHandle handle
Definition: DrawInfo.h:53
Definition: Render.h:32
Definition: Billboard.cpp:4
BLENDTYPE
Definition: DrawInfo.h:15
CULLTYPE
Definition: DrawInfo.h:25
FUNCTYPE
Definition: DrawInfo.h:39
STENCILOP
Definition: DrawInfo.h:32