Struct AEGP_CompSuite6

Source
#[repr(C)]
pub struct AEGP_CompSuite6 {
Show 34 fields pub AEGP_GetCompFromItem: Option<unsafe extern "C" fn(itemH: AEGP_ItemH, compPH: *mut AEGP_CompH) -> A_Err>, pub AEGP_GetItemFromComp: Option<unsafe extern "C" fn(compH: AEGP_CompH, itemPH: *mut AEGP_ItemH) -> A_Err>, pub AEGP_GetCompDownsampleFactor: Option<unsafe extern "C" fn(compH: AEGP_CompH, dsfP: *mut AEGP_DownsampleFactor) -> A_Err>, pub AEGP_SetCompDownsampleFactor: Option<unsafe extern "C" fn(compH: AEGP_CompH, dsfP: *const AEGP_DownsampleFactor) -> A_Err>, pub AEGP_GetCompBGColor: Option<unsafe extern "C" fn(compH: AEGP_CompH, bg_colorP: *mut AEGP_ColorVal) -> A_Err>, pub AEGP_SetCompBGColor: Option<unsafe extern "C" fn(compH: AEGP_CompH, bg_colorP: *const AEGP_ColorVal) -> A_Err>, pub AEGP_GetCompFlags: Option<unsafe extern "C" fn(compH: AEGP_CompH, comp_flagsP: *mut AEGP_CompFlags) -> A_Err>, pub AEGP_GetCompFramerate: Option<unsafe extern "C" fn(compH: AEGP_CompH, fpsPF: *mut A_FpLong) -> A_Err>, pub AEGP_SetCompFrameRate: Option<unsafe extern "C" fn(compH: AEGP_CompH, fpsPF: *const A_FpLong) -> A_Err>, pub AEGP_GetCompShutterAnglePhase: Option<unsafe extern "C" fn(compH: AEGP_CompH, angle: *mut A_Ratio, phase: *mut A_Ratio) -> A_Err>, pub AEGP_GetCompShutterFrameRange: Option<unsafe extern "C" fn(compH: AEGP_CompH, comp_timeP: *const A_Time, start: *mut A_Time, duration: *mut A_Time) -> A_Err>, pub AEGP_GetCompSuggestedMotionBlurSamples: Option<unsafe extern "C" fn(compH: AEGP_CompH, samplesPL: *mut A_long) -> A_Err>, pub AEGP_SetCompSuggestedMotionBlurSamples: Option<unsafe extern "C" fn(compH: AEGP_CompH, samplesL: A_long) -> A_Err>, pub AEGP_GetCompWorkAreaStart: Option<unsafe extern "C" fn(compH: AEGP_CompH, work_area_startPT: *mut A_Time) -> A_Err>, pub AEGP_GetCompWorkAreaDuration: Option<unsafe extern "C" fn(compH: AEGP_CompH, work_area_durationPT: *mut A_Time) -> A_Err>, pub AEGP_SetCompWorkAreaStartAndDuration: Option<unsafe extern "C" fn(compH: AEGP_CompH, work_area_startPT: *const A_Time, work_area_durationPT: *const A_Time) -> A_Err>, pub AEGP_CreateSolidInComp: Option<unsafe extern "C" fn(nameZ: *const A_char, width: A_long, height: A_long, color: *const AEGP_ColorVal, parent_compH: AEGP_CompH, durationPT0: *const A_Time, new_solidPH: *mut AEGP_LayerH) -> A_Err>, pub AEGP_CreateCameraInComp: Option<unsafe extern "C" fn(nameZ: *const A_char, center_point: A_FloatPoint, parent_compH: AEGP_CompH, new_cameraPH: *mut AEGP_LayerH) -> A_Err>, pub AEGP_CreateLightInComp: Option<unsafe extern "C" fn(nameZ: *const A_char, center_point: A_FloatPoint, parent_compH: AEGP_CompH, new_lightPH: *mut AEGP_LayerH) -> A_Err>, pub AEGP_CreateComp: Option<unsafe extern "C" fn(parent_folderH0: AEGP_ItemH, nameZ: *const A_char, widthL: A_long, heightL: A_long, pixel_aspect_ratioPRt: *const A_Ratio, durationPT: *const A_Time, frameratePRt: *const A_Ratio, new_compPH: *mut AEGP_CompH) -> A_Err>, pub AEGP_GetNewCollectionFromCompSelection: Option<unsafe extern "C" fn(plugin_id: AEGP_PluginID, compH: AEGP_CompH, collectionPH: *mut AEGP_Collection2H) -> A_Err>, pub AEGP_SetSelection: Option<unsafe extern "C" fn(compH: AEGP_CompH, collectionH: AEGP_Collection2H) -> A_Err>, pub AEGP_GetCompDisplayStartTime: Option<unsafe extern "C" fn(compH: AEGP_CompH, start_timePT: *mut A_Time) -> A_Err>, pub AEGP_SetCompDisplayStartTime: Option<unsafe extern "C" fn(compH: AEGP_CompH, start_timePT: *const A_Time) -> A_Err>, pub AEGP_SetCompDuration: Option<unsafe extern "C" fn(compH: AEGP_CompH, durationPT: *const A_Time) -> A_Err>, pub AEGP_CreateNullInComp: Option<unsafe extern "C" fn(nameZ: *const A_char, parent_compH: AEGP_CompH, durationPT0: *const A_Time, new_null_solidPH: *mut AEGP_LayerH) -> A_Err>, pub AEGP_SetCompPixelAspectRatio: Option<unsafe extern "C" fn(compH: AEGP_CompH, pix_aspectratioPRt: *const A_Ratio) -> A_Err>, pub AEGP_CreateTextLayerInComp: Option<unsafe extern "C" fn(parent_compH: AEGP_CompH, new_text_layerPH: *mut AEGP_LayerH) -> A_Err>, pub AEGP_SetCompDimensions: Option<unsafe extern "C" fn(compH: AEGP_CompH, widthL: A_long, heightL: A_long) -> A_Err>, pub AEGP_DuplicateComp: Option<unsafe extern "C" fn(compH: AEGP_CompH, new_compPH: *mut AEGP_CompH) -> A_Err>, pub AEGP_GetCompFrameDuration: Option<unsafe extern "C" fn(compH: AEGP_CompH, timeP: *mut A_Time) -> A_Err>, pub AEGP_GetMostRecentlyUsedComp: Option<unsafe extern "C" fn(compPH: *mut AEGP_CompH) -> A_Err>, pub AEGP_CreateVectorLayerInComp: Option<unsafe extern "C" fn(parent_compH: AEGP_CompH, new_vector_layerPH: *mut AEGP_LayerH) -> A_Err>, pub AEGP_GetNewCompMarkerStream: Option<unsafe extern "C" fn(aegp_plugin_id: AEGP_PluginID, parent_compH: AEGP_CompH, streamPH: *mut AEGP_StreamRefH) -> A_Err>,
}

Fields§

§AEGP_GetCompFromItem: Option<unsafe extern "C" fn(itemH: AEGP_ItemH, compPH: *mut AEGP_CompH) -> A_Err>§AEGP_GetItemFromComp: Option<unsafe extern "C" fn(compH: AEGP_CompH, itemPH: *mut AEGP_ItemH) -> A_Err>§AEGP_GetCompDownsampleFactor: Option<unsafe extern "C" fn(compH: AEGP_CompH, dsfP: *mut AEGP_DownsampleFactor) -> A_Err>§AEGP_SetCompDownsampleFactor: Option<unsafe extern "C" fn(compH: AEGP_CompH, dsfP: *const AEGP_DownsampleFactor) -> A_Err>§AEGP_GetCompBGColor: Option<unsafe extern "C" fn(compH: AEGP_CompH, bg_colorP: *mut AEGP_ColorVal) -> A_Err>§AEGP_SetCompBGColor: Option<unsafe extern "C" fn(compH: AEGP_CompH, bg_colorP: *const AEGP_ColorVal) -> A_Err>§AEGP_GetCompFlags: Option<unsafe extern "C" fn(compH: AEGP_CompH, comp_flagsP: *mut AEGP_CompFlags) -> A_Err>§AEGP_GetCompFramerate: Option<unsafe extern "C" fn(compH: AEGP_CompH, fpsPF: *mut A_FpLong) -> A_Err>§AEGP_SetCompFrameRate: Option<unsafe extern "C" fn(compH: AEGP_CompH, fpsPF: *const A_FpLong) -> A_Err>§AEGP_GetCompShutterAnglePhase: Option<unsafe extern "C" fn(compH: AEGP_CompH, angle: *mut A_Ratio, phase: *mut A_Ratio) -> A_Err>§AEGP_GetCompShutterFrameRange: Option<unsafe extern "C" fn(compH: AEGP_CompH, comp_timeP: *const A_Time, start: *mut A_Time, duration: *mut A_Time) -> A_Err>§AEGP_GetCompSuggestedMotionBlurSamples: Option<unsafe extern "C" fn(compH: AEGP_CompH, samplesPL: *mut A_long) -> A_Err>§AEGP_SetCompSuggestedMotionBlurSamples: Option<unsafe extern "C" fn(compH: AEGP_CompH, samplesL: A_long) -> A_Err>§AEGP_GetCompWorkAreaStart: Option<unsafe extern "C" fn(compH: AEGP_CompH, work_area_startPT: *mut A_Time) -> A_Err>§AEGP_GetCompWorkAreaDuration: Option<unsafe extern "C" fn(compH: AEGP_CompH, work_area_durationPT: *mut A_Time) -> A_Err>§AEGP_SetCompWorkAreaStartAndDuration: Option<unsafe extern "C" fn(compH: AEGP_CompH, work_area_startPT: *const A_Time, work_area_durationPT: *const A_Time) -> A_Err>§AEGP_CreateSolidInComp: Option<unsafe extern "C" fn(nameZ: *const A_char, width: A_long, height: A_long, color: *const AEGP_ColorVal, parent_compH: AEGP_CompH, durationPT0: *const A_Time, new_solidPH: *mut AEGP_LayerH) -> A_Err>§AEGP_CreateCameraInComp: Option<unsafe extern "C" fn(nameZ: *const A_char, center_point: A_FloatPoint, parent_compH: AEGP_CompH, new_cameraPH: *mut AEGP_LayerH) -> A_Err>§AEGP_CreateLightInComp: Option<unsafe extern "C" fn(nameZ: *const A_char, center_point: A_FloatPoint, parent_compH: AEGP_CompH, new_lightPH: *mut AEGP_LayerH) -> A_Err>§AEGP_CreateComp: Option<unsafe extern "C" fn(parent_folderH0: AEGP_ItemH, nameZ: *const A_char, widthL: A_long, heightL: A_long, pixel_aspect_ratioPRt: *const A_Ratio, durationPT: *const A_Time, frameratePRt: *const A_Ratio, new_compPH: *mut AEGP_CompH) -> A_Err>§AEGP_GetNewCollectionFromCompSelection: Option<unsafe extern "C" fn(plugin_id: AEGP_PluginID, compH: AEGP_CompH, collectionPH: *mut AEGP_Collection2H) -> A_Err>§AEGP_SetSelection: Option<unsafe extern "C" fn(compH: AEGP_CompH, collectionH: AEGP_Collection2H) -> A_Err>§AEGP_GetCompDisplayStartTime: Option<unsafe extern "C" fn(compH: AEGP_CompH, start_timePT: *mut A_Time) -> A_Err>§AEGP_SetCompDisplayStartTime: Option<unsafe extern "C" fn(compH: AEGP_CompH, start_timePT: *const A_Time) -> A_Err>§AEGP_SetCompDuration: Option<unsafe extern "C" fn(compH: AEGP_CompH, durationPT: *const A_Time) -> A_Err>§AEGP_CreateNullInComp: Option<unsafe extern "C" fn(nameZ: *const A_char, parent_compH: AEGP_CompH, durationPT0: *const A_Time, new_null_solidPH: *mut AEGP_LayerH) -> A_Err>§AEGP_SetCompPixelAspectRatio: Option<unsafe extern "C" fn(compH: AEGP_CompH, pix_aspectratioPRt: *const A_Ratio) -> A_Err>§AEGP_CreateTextLayerInComp: Option<unsafe extern "C" fn(parent_compH: AEGP_CompH, new_text_layerPH: *mut AEGP_LayerH) -> A_Err>§AEGP_SetCompDimensions: Option<unsafe extern "C" fn(compH: AEGP_CompH, widthL: A_long, heightL: A_long) -> A_Err>§AEGP_DuplicateComp: Option<unsafe extern "C" fn(compH: AEGP_CompH, new_compPH: *mut AEGP_CompH) -> A_Err>§AEGP_GetCompFrameDuration: Option<unsafe extern "C" fn(compH: AEGP_CompH, timeP: *mut A_Time) -> A_Err>§AEGP_GetMostRecentlyUsedComp: Option<unsafe extern "C" fn(compPH: *mut AEGP_CompH) -> A_Err>§AEGP_CreateVectorLayerInComp: Option<unsafe extern "C" fn(parent_compH: AEGP_CompH, new_vector_layerPH: *mut AEGP_LayerH) -> A_Err>§AEGP_GetNewCompMarkerStream: Option<unsafe extern "C" fn(aegp_plugin_id: AEGP_PluginID, parent_compH: AEGP_CompH, streamPH: *mut AEGP_StreamRefH) -> A_Err>

Trait Implementations§

Source§

impl Clone for AEGP_CompSuite6

Source§

fn clone(&self) -> AEGP_CompSuite6

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for AEGP_CompSuite6

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Copy for AEGP_CompSuite6

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.