Extract standalone Playground SDK source foundation

This commit is contained in:
CRTkafa 2026-10-02 23:54:36 +07:00
commit 34ac58b9a2
3567 changed files with 1657902 additions and 0 deletions

View file

@ -0,0 +1,17 @@
Texture2D<float4> tex : register(t0, space2);
SamplerState samp : register(s0, space2);
struct PSInput {
float4 color : TEXCOORD0;
float2 tex_coord : TEXCOORD1;
};
struct PSOutput {
float4 color : SV_Target;
};
PSOutput main(PSInput input) {
PSOutput output;
output.color = input.color * tex.Sample(samp, input.tex_coord);
return output;
}