Logo
ICBMaterial.h
1#pragma once
2
3namespace SharpKmyGfx
4{
5 public ref class ICBMaterial
6 {
7 public:
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;
21 float _lineWidth = 1.0f;
22
23 char* _materialUniform = nullptr;
24 };
25}
Definition: ICBMaterial.h:6
StateInfo _si
Definition: ICBMaterial.h:18
BlendInfo _bi
Definition: ICBMaterial.h:17
PolygonMode _pm
Definition: ICBMaterial.h:20
~ICBMaterial()
Definition: ICBMaterial.cpp:13
Shader _shader
Definition: ICBMaterial.h:16
char * _materialUniform
Definition: ICBMaterial.h:23
float _lineWidth
Definition: ICBMaterial.h:21
ICBMaterial()
Definition: ICBMaterial.cpp:6
CullType _cull
Definition: ICBMaterial.h:19
void writeUniform(String^ name, float v)
Definition: ICBMaterial.cpp:20
Definition: Shader.h:8
Definition: Asset.h:4
CullType
Definition: GfxTypes.h:112
PolygonMode
Definition: GfxTypes.h:119
Definition: BlendInfo.h:7
Definition: StateInfo.h:7