Dqn/Data/DqnInspect_TestData.h

49 lines
1.3 KiB
C
Raw Normal View History

DQN_INSPECT enum struct OpenGLShader
{
Invalid,
2019-02-23 01:32:08 +00:00
Rect DQN_INSPECT_META(VertexShaderFilePath = "Rect.vert", FragmentShaderFilePath = "Rect.frag"),
Text DQN_INSPECT_META(VertexShaderFilePath = "Text.vert", FragmentShaderFilePath = "Text.frag"),
2019-02-22 12:15:39 +00:00
};
#if 0
#define EXAMPLE_MACRO \
X(EndOfStream, "End Of Stream") \
X(Hash, "#")
#define MAXIMUM_MACRO(a, b) (a > b) ? (a) : (b)
#endif
struct V3
{
float test;
};
struct V4
{
float test;
};
DQN_INSPECT struct OpenGLState
2019-02-22 12:15:39 +00:00
{
// #if 0
// #endif
2019-02-23 03:04:35 +00:00
void *win32_handle;
2019-02-23 02:19:36 +00:00
int ebo DQN_INSPECT_META(DisplayName = "Element Buffer Object"), vbo, vao DQN_INSPECT_META(DisplayName = "Vertex Array Object", OpenGLVersion = "330");
2019-02-22 12:15:39 +00:00
// u32 shaders[(int)OpenGLShader::Count];
V4 draw_color DQN_INSPECT_META(DisplayName = "HelloWorld");
2019-02-22 12:15:39 +00:00
V3 lighting_ambient_coeff;
// u8 **bitmaps;
// FixedArray<RendererLight, 32> lights;
// FixedArray<Mat4, 32> camera_matrixes;
int draw_call_count;
2019-02-23 02:19:36 +00:00
2019-02-23 03:04:35 +00:00
const int *const a;
int const *const b, c, const *const d, *const e;
const int f;
int const g;
int *const h;
int const* i;
int *********const j, k, ******l, const *m;
};