-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.rs
48 lines (46 loc) · 1.63 KB
/
build.rs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
use pipl::*;
const PF_PLUG_IN_VERSION: u16 = 13;
const PF_PLUG_IN_SUBVERS: u16 = 28;
fn main() {
pipl::plugin_build(vec![
Property::Kind(PIPLType::AEEffect),
Property::Name("TweakShader"),
Property::Category("Shaders"),
#[cfg(target_os = "windows")]
Property::CodeWin64X86("EffectMain"),
#[cfg(target_os = "macos")]
Property::CodeMacIntel64("EffectMain"),
#[cfg(target_os = "macos")]
Property::CodeMacARM64("EffectMain"),
Property::AE_PiPL_Version { major: 2, minor: 0 },
Property::AE_Effect_Spec_Version {
major: PF_PLUG_IN_VERSION,
minor: PF_PLUG_IN_SUBVERS,
},
Property::AE_Effect_Version {
version: 1,
subversion: 1,
bugversion: 0,
stage: Stage::Develop,
build: 0,
},
Property::AE_Effect_Info_Flags(0),
Property::AE_Effect_Global_OutFlags(
OutFlags::IDoDialog
| OutFlags::PixIndependent
| OutFlags::DeepColorAware
| OutFlags::SendUpdateParamsUI
| OutFlags::NonParamVary,
),
Property::AE_Effect_Global_OutFlags_2(
OutFlags2::FloatColorAware
| OutFlags2::SupportsSmartRender
| OutFlags2::SupportsThreadedRendering
| OutFlags2::SupportsGetFlattenedSequenceData
| OutFlags2::ParamGroupStartCollapsedFlag,
),
Property::AE_Effect_Match_Name("TweakShader"),
Property::AE_Reserved_Info(0),
Property::AE_Effect_Support_URL("github/mobile-bungalow"),
])
}