Backlog/engine/ui/shaders/rect_shared.hlsli

15 lines
224 B
HLSL

struct Scene
{
float2 imagePosition;
float2 imageSize;
float2 anchorPoint;
float2 scale;
float alpha;
float borderWidth;
uint flags;
float4 baseColor;
float4 rounding;
float4 edgeColor;
};