diff options
author | Fox Caminiti <fox@foxcam.net> | 2022-12-03 21:57:53 -0500 |
---|---|---|
committer | Fox Caminiti <fox@foxcam.net> | 2022-12-03 21:57:53 -0500 |
commit | ed27ab2e6bbe40120702dcc57e9b21434bfb4944 (patch) | |
tree | b53af27a4e17855be6336e1f82bd48d91ef711ca /functions.h | |
parent | dc0d4a23fdbddef51d5e026f2eefef1731c4e338 (diff) |
v2.0, effects functional
Diffstat (limited to 'functions.h')
-rw-r--r-- | functions.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/functions.h b/functions.h index 2825f85..ffba30c 100644 --- a/functions.h +++ b/functions.h @@ -5,9 +5,14 @@ static void Arbitrary_ShiftData(uint8 *Address_Start, uint8 *Address_End, uint64 static void Render_Main(void *Data, void *OutputBuffer, render_type RenderType, rectangle RenderRegion); +static void Effect_Curves_Init(block_effect *Effect, property_channel *Property); + static v2 T_CompUVToLayerUV(layer_transforms T, uint32 FileWidth, uint32 FileHeight, uint32 SourceWidth, uint32 SourceHeight, v2 CompUV); static header_effect* Effect_EntryFromID(project_state *State, char *ID); +void Effect_Curves_Sort(memory *Memory, block_effect *Effect, uint16 *SortedPointStart, uint16 Which); +inline v2 Effect_V2(memory *Memory, block_effect *Effect, int Offset); + static void Interact_Transform_Begin(project_data *File, memory *Memory, project_state *State, ImVec2 OGPos, sorted_comp_info *SortedCompArray, sorted_layer *SortedLayerArray); static v2 Transform_ScreenSpaceToLocal(layer_transforms T, uint32 FileWidth, uint32 FileHeight, uint32 SourceWidth, uint32 SourceHeight, ImVec2 CompPos, ImVec2 CompZoom, ImVec2 ViewportMin, ImVec2 Point); |