mirror of
https://github.com/TelegramMessenger/Telegram-iOS.git
synced 2026-07-06 03:33:41 +02:00
13 lines
183 B
Metal
13 lines
183 B
Metal
#include <metal_stdlib>
|
|
|
|
using namespace metal;
|
|
|
|
struct Rectangle {
|
|
float2 origin;
|
|
float2 size;
|
|
};
|
|
|
|
struct QuadVertexOut {
|
|
float4 position [[position]];
|
|
float2 uv;
|
|
};
|