Logo
ICBMaterial.h
1#pragma once
2
3namespace XXSharpKmyGfx
4{
5 private ref class ICBMaterial
6 {
7 public:
8 ICBMaterial();
9 ~ICBMaterial();
10
11 void writeUniform(String^ name, float v);
12 void writeUniform(String^ name, float x, float y);
13 void writeUniform(String^ name, float x, float y, float z);
14 void writeUniform(String^ name, float x, float y, float z, float w);
15
16 Shader^ _shader = nullptr;
17 BlendInfo _bi;
18 StateInfo _si;
19 CullType _cull;
20 PolygonMode _pm;
21 float _lineWidth = 1.0f;
22
23 char* _materialUniform = nullptr;
24
25 property IntPtr MaterialUniform
26 {
27 IntPtr get() { return IntPtr(_materialUniform); }
28 }
29 };
30}
CullType
Definition: GfxTypes.cs:75
PolygonMode
Definition: GfxTypes.cs:141