cbuffer __PROPERTIES : register(b0) { float __PROPERTIES__time; } float4 vs_main(float3 pos : POSITION) : SV_POSITION { return float4(pos.x, pos.y, pos.z, 1.0f); } float4 ps_main(float4 pos : SV_POSITION) : SV_TARGET { float t = __PROPERTIES__time; return float4(1, 1, 1, 1); }