mirror of
https://github.com/goatcorp/Dalamud.git
synced 2026-01-03 06:13:40 +01:00
Add standalone testbed
This commit is contained in:
parent
5ddf473450
commit
b8ce2d4001
21 changed files with 948 additions and 2 deletions
15
imgui/StandaloneImGuiTestbed/Shaders/HLSL/imgui-frag.hlsl
Normal file
15
imgui/StandaloneImGuiTestbed/Shaders/HLSL/imgui-frag.hlsl
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
struct PS_INPUT
|
||||
{
|
||||
float4 pos : SV_POSITION;
|
||||
float4 col : COLOR0;
|
||||
float2 uv : TEXCOORD0;
|
||||
};
|
||||
|
||||
Texture2D FontTexture : register(t0);
|
||||
sampler FontSampler : register(s0);
|
||||
|
||||
float4 FS(PS_INPUT input) : SV_Target
|
||||
{
|
||||
float4 out_col = input.col * FontTexture.Sample(FontSampler, input.uv);
|
||||
return out_col;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue