struct Scene { float2 imagePosition; float2 imageSize; float2 anchorPoint; float2 scale; float alpha; float borderWidth; uint flags; float4 baseColor; float4 rounding; float4 edgeColor; }; StructuredBuffer scene: register(t0, space0); cbuffer Uniforms : register(b0, space1) { float2 Extents; };