mirror of
https://github.com/GLEGram/GLEGram-iOS.git
synced 2026-04-30 23:08:10 +02:00
4647310322
Based on Swiftgram 12.5 (Telegram iOS 12.5). All GLEGram features ported and organized in GLEGram/ folder. Features: Ghost Mode, Saved Deleted Messages, Content Protection Bypass, Font Replacement, Fake Profile, Chat Export, Plugin System, and more. See CHANGELOG_12.5.md for full details.
29 lines
518 B
C
29 lines
518 B
C
#include <metal_stdlib>
|
|
|
|
#pragma once
|
|
|
|
half getLuma(half3 color);
|
|
|
|
half3 rgbToHsv(half3 c);
|
|
|
|
half3 hsvToRgb(half3 c);
|
|
|
|
half3 rgbToHsl(half3 color);
|
|
|
|
half hueToRgb(half f1, half f2, half hue);
|
|
|
|
half3 hslToRgb(half3 hsl);
|
|
|
|
half3 rgbToYuv(half3 inP);
|
|
|
|
half3 yuvToRgb(half3 inP);
|
|
|
|
half easeInOutSigmoid(half value, half strength);
|
|
|
|
half powerCurve(half inVal, half mag);
|
|
|
|
float pnoise3D(float3 p);
|
|
float2 coordRot(float2 tc, float angle);
|
|
|
|
float sdfRoundedRectangle(float2 uv, float2 position, float2 size, float radius);
|