mirror of
https://github.com/Blinue/Magpie.git
synced 2026-06-24 02:04:10 +00:00
19 lines
345 B
C++
19 lines
345 B
C++
#pragma once
|
|
#include "pch.h"
|
|
#include "EffectDesc.h"
|
|
|
|
|
|
class EffectCompiler {
|
|
public:
|
|
EffectCompiler() = default;
|
|
|
|
static UINT Compile(
|
|
std::string_view effectName,
|
|
UINT flags,
|
|
const std::map<std::string, std::variant<float, int>>& inlineParams,
|
|
EffectDesc& desc
|
|
);
|
|
|
|
// 当前 MagpieFX 版本
|
|
static constexpr UINT VERSION = 2;
|
|
};
|