     type name : packoffset(c ## packOffset);
#define DECL_FIELD(type, name)                              type name;
#define VS_DECL_FIELD_WITHBIND(type, name, binding)         type name : binding;
#define VS_INPUT_FIELD(name)                                vsInput.name

#define VS_WRITE_OUTPUT_POSITION(pos)                       vsOutput.Position = pos;
#define VS_FUNC_MAIN_BEGIN(outName, inName)                 outName RenderSceneVS(inName vsInput) { outName vsOutput;
#define VS_FUNC_MAIN_END                                    return vsOutput; }

#define PS_WRITE_OUTPUT_COLOR(col)                          float4 psFinalOutput = col;
#ifdef ENABLE_DUAL_SOURCE_BLENDING
#define PS_FUNC_MAIN_BEGIN(inName)                          float4 RenderScenePS(inName psInput, out float4 outputTarget1 : SV_TARGET1 ) : SV_TARGET0 {
#define PS_WRITE_OUTPUT_COLOR2(col)                         outputTarget1 = col;
#else
#define PS_FUNC_MAIN_BEGIN(inName)                          float4 RenderScenePS(inName psInp