Struct AEGP_LayerSuite8

Source
#[repr(C)]
pub struct AEGP_LayerSuite8 {
Show 50 fields pub AEGP_GetCompNumLayers: Option<unsafe extern "C" fn(compH: AEGP_CompH, num_layersPL: *mut A_long) -> A_Err>, pub AEGP_GetCompLayerByIndex: Option<unsafe extern "C" fn(compH: AEGP_CompH, layer_indexL: A_long, layerPH: *mut AEGP_LayerH) -> A_Err>, pub AEGP_GetActiveLayer: Option<unsafe extern "C" fn(layerPH: *mut AEGP_LayerH) -> A_Err>, pub AEGP_GetLayerIndex: Option<unsafe extern "C" fn(layerH: AEGP_LayerH, layer_indexPL: *mut A_long) -> A_Err>, pub AEGP_GetLayerSourceItem: Option<unsafe extern "C" fn(layerH: AEGP_LayerH, source_itemPH: *mut AEGP_ItemH) -> A_Err>, pub AEGP_GetLayerSourceItemID: Option<unsafe extern "C" fn(layerH: AEGP_LayerH, source_item_idPL: *mut A_long) -> A_Err>, pub AEGP_GetLayerParentComp: Option<unsafe extern "C" fn(layerH: AEGP_LayerH, compPH: *mut AEGP_CompH) -> A_Err>, pub AEGP_GetLayerName: Option<unsafe extern "C" fn(pluginID: AEGP_PluginID, layerH: AEGP_LayerH, utf_layer_namePH0: *mut AEGP_MemHandle, utf_source_namePH0: *mut AEGP_MemHandle) -> A_Err>, pub AEGP_GetLayerQuality: Option<unsafe extern "C" fn(layerH: AEGP_LayerH, qualityP: *mut AEGP_LayerQuality) -> A_Err>, pub AEGP_SetLayerQuality: Option<unsafe extern "C" fn(layerH: AEGP_LayerH, quality: AEGP_LayerQuality) -> A_Err>, pub AEGP_GetLayerFlags: Option<unsafe extern "C" fn(layerH: AEGP_LayerH, layer_flagsP: *mut AEGP_LayerFlags) -> A_Err>, pub AEGP_SetLayerFlag: Option<unsafe extern "C" fn(layerH: AEGP_LayerH, single_flag: AEGP_LayerFlags, valueB: A_Boolean) -> A_Err>, pub AEGP_IsLayerVideoReallyOn: Option<unsafe extern "C" fn(layerH: AEGP_LayerH, onPB: *mut A_Boolean) -> A_Err>, pub AEGP_IsLayerAudioReallyOn: Option<unsafe extern "C" fn(layerH: AEGP_LayerH, onPB: *mut A_Boolean) -> A_Err>, pub AEGP_GetLayerCurrentTime: Option<unsafe extern "C" fn(layerH: AEGP_LayerH, time_mode: AEGP_LTimeMode, curr_timePT: *mut A_Time) -> A_Err>, pub AEGP_GetLayerInPoint: Option<unsafe extern "C" fn(layerH: AEGP_LayerH, time_mode: AEGP_LTimeMode, in_pointPT: *mut A_Time) -> A_Err>, pub AEGP_GetLayerDuration: Option<unsafe extern "C" fn(layerH: AEGP_LayerH, time_mode: AEGP_LTimeMode, durationPT: *mut A_Time) -> A_Err>, pub AEGP_SetLayerInPointAndDuration: Option<unsafe extern "C" fn(layerH: AEGP_LayerH, time_mode: AEGP_LTimeMode, in_pointPT: *const A_Time, durationPT: *const A_Time) -> A_Err>, pub AEGP_GetLayerOffset: Option<unsafe extern "C" fn(layerH: AEGP_LayerH, offsetPT: *mut A_Time) -> A_Err>, pub AEGP_SetLayerOffset: Option<unsafe extern "C" fn(layerH: AEGP_LayerH, offsetPT: *const A_Time) -> A_Err>, pub AEGP_GetLayerStretch: Option<unsafe extern "C" fn(layerH: AEGP_LayerH, stretchPRt: *mut A_Ratio) -> A_Err>, pub AEGP_SetLayerStretch: Option<unsafe extern "C" fn(layerH: AEGP_LayerH, stretchPRt: *const A_Ratio) -> A_Err>, pub AEGP_GetLayerTransferMode: Option<unsafe extern "C" fn(layerH: AEGP_LayerH, transfer_modeP: *mut AEGP_LayerTransferMode) -> A_Err>, pub AEGP_SetLayerTransferMode: Option<unsafe extern "C" fn(layerH: AEGP_LayerH, transfer_modeP: *const AEGP_LayerTransferMode) -> A_Err>, pub AEGP_IsAddLayerValid: Option<unsafe extern "C" fn(item_to_addH: AEGP_ItemH, into_compH: AEGP_CompH, validPB: *mut A_Boolean) -> A_Err>, pub AEGP_AddLayer: Option<unsafe extern "C" fn(item_to_addH: AEGP_ItemH, into_compH: AEGP_CompH, added_layerPH0: *mut AEGP_LayerH) -> A_Err>, pub AEGP_ReorderLayer: Option<unsafe extern "C" fn(layerH: AEGP_LayerH, layer_indexL: A_long) -> A_Err>, pub AEGP_GetLayerMaskedBounds: Option<unsafe extern "C" fn(layerH: AEGP_LayerH, time_mode: AEGP_LTimeMode, timePT: *const A_Time, boundsPR: *mut A_FloatRect) -> A_Err>, pub AEGP_GetLayerObjectType: Option<unsafe extern "C" fn(layerH: AEGP_LayerH, object_type: *mut AEGP_ObjectType) -> A_Err>, pub AEGP_IsLayer3D: Option<unsafe extern "C" fn(layerH: AEGP_LayerH, is_3DPB: *mut A_Boolean) -> A_Err>, pub AEGP_IsLayer2D: Option<unsafe extern "C" fn(layerH: AEGP_LayerH, is_2DPB: *mut A_Boolean) -> A_Err>, pub AEGP_IsVideoActive: Option<unsafe extern "C" fn(layerH: AEGP_LayerH, time_mode: AEGP_LTimeMode, timePT: *const A_Time, is_activePB: *mut A_Boolean) -> A_Err>, pub AEGP_IsLayerUsedAsTrackMatte: Option<unsafe extern "C" fn(layerH: AEGP_LayerH, fill_must_be_activeB: A_Boolean, is_track_mattePB: *mut A_Boolean) -> A_Err>, pub AEGP_DoesLayerHaveTrackMatte: Option<unsafe extern "C" fn(layerH: AEGP_LayerH, has_track_mattePB: *mut A_Boolean) -> A_Err>, pub AEGP_ConvertCompToLayerTime: Option<unsafe extern "C" fn(layerH: AEGP_LayerH, comp_timePT: *const A_Time, layer_timePT: *mut A_Time) -> A_Err>, pub AEGP_ConvertLayerToCompTime: Option<unsafe extern "C" fn(layerH: AEGP_LayerH, layer_timePT: *const A_Time, comp_timePT: *mut A_Time) -> A_Err>, pub AEGP_GetLayerDancingRandValue: Option<unsafe extern "C" fn(layerH: AEGP_LayerH, comp_timePT: *const A_Time, rand_valuePL: *mut A_long) -> A_Err>, pub AEGP_GetLayerID: Option<unsafe extern "C" fn(layerH: AEGP_LayerH, id_valP: *mut AEGP_LayerIDVal) -> A_Err>, pub AEGP_GetLayerToWorldXform: Option<unsafe extern "C" fn(aegp_layerH: AEGP_LayerH, comp_timeP: *const A_Time, transform: *mut A_Matrix4) -> A_Err>, pub AEGP_GetLayerToWorldXformFromView: Option<unsafe extern "C" fn(aegp_layerH: AEGP_LayerH, view_timeP: *const A_Time, comp_timeP: *const A_Time, transform: *mut A_Matrix4) -> A_Err>, pub AEGP_SetLayerName: Option<unsafe extern "C" fn(aegp_layerH: AEGP_LayerH, new_nameZ: *const A_UTF16Char) -> A_Err>, pub AEGP_GetLayerParent: Option<unsafe extern "C" fn(layerH: AEGP_LayerH, parent_layerPH: *mut AEGP_LayerH) -> A_Err>, pub AEGP_SetLayerParent: Option<unsafe extern "C" fn(layerH: AEGP_LayerH, parent_layerH0: AEGP_LayerH) -> A_Err>, pub AEGP_DeleteLayer: Option<unsafe extern "C" fn(layerH: AEGP_LayerH) -> A_Err>, pub AEGP_DuplicateLayer: Option<unsafe extern "C" fn(orig_layerH: AEGP_LayerH, duplicate_layerPH: *mut AEGP_LayerH) -> A_Err>, pub AEGP_GetLayerFromLayerID: Option<unsafe extern "C" fn(parent_compH: AEGP_CompH, id: AEGP_LayerIDVal, layerPH: *mut AEGP_LayerH) -> A_Err>, pub AEGP_GetLayerLabel: Option<unsafe extern "C" fn(layerH: AEGP_LayerH, labelP: *mut AEGP_LabelID) -> A_Err>, pub AEGP_SetLayerLabel: Option<unsafe extern "C" fn(layerH: AEGP_LayerH, label: AEGP_LabelID) -> A_Err>, pub AEGP_GetLayerSamplingQuality: Option<unsafe extern "C" fn(layerH: AEGP_LayerH, qualityP: *mut AEGP_LayerSamplingQuality) -> A_Err>, pub AEGP_SetLayerSamplingQuality: Option<unsafe extern "C" fn(layerH: AEGP_LayerH, quality: AEGP_LayerSamplingQuality) -> A_Err>,
}

Fields§

§AEGP_GetCompNumLayers: Option<unsafe extern "C" fn(compH: AEGP_CompH, num_layersPL: *mut A_long) -> A_Err>§AEGP_GetCompLayerByIndex: Option<unsafe extern "C" fn(compH: AEGP_CompH, layer_indexL: A_long, layerPH: *mut AEGP_LayerH) -> A_Err>§AEGP_GetActiveLayer: Option<unsafe extern "C" fn(layerPH: *mut AEGP_LayerH) -> A_Err>§AEGP_GetLayerIndex: Option<unsafe extern "C" fn(layerH: AEGP_LayerH, layer_indexPL: *mut A_long) -> A_Err>§AEGP_GetLayerSourceItem: Option<unsafe extern "C" fn(layerH: AEGP_LayerH, source_itemPH: *mut AEGP_ItemH) -> A_Err>§AEGP_GetLayerSourceItemID: Option<unsafe extern "C" fn(layerH: AEGP_LayerH, source_item_idPL: *mut A_long) -> A_Err>§AEGP_GetLayerParentComp: Option<unsafe extern "C" fn(layerH: AEGP_LayerH, compPH: *mut AEGP_CompH) -> A_Err>§AEGP_GetLayerName: Option<unsafe extern "C" fn(pluginID: AEGP_PluginID, layerH: AEGP_LayerH, utf_layer_namePH0: *mut AEGP_MemHandle, utf_source_namePH0: *mut AEGP_MemHandle) -> A_Err>§AEGP_GetLayerQuality: Option<unsafe extern "C" fn(layerH: AEGP_LayerH, qualityP: *mut AEGP_LayerQuality) -> A_Err>§AEGP_SetLayerQuality: Option<unsafe extern "C" fn(layerH: AEGP_LayerH, quality: AEGP_LayerQuality) -> A_Err>§AEGP_GetLayerFlags: Option<unsafe extern "C" fn(layerH: AEGP_LayerH, layer_flagsP: *mut AEGP_LayerFlags) -> A_Err>§AEGP_SetLayerFlag: Option<unsafe extern "C" fn(layerH: AEGP_LayerH, single_flag: AEGP_LayerFlags, valueB: A_Boolean) -> A_Err>§AEGP_IsLayerVideoReallyOn: Option<unsafe extern "C" fn(layerH: AEGP_LayerH, onPB: *mut A_Boolean) -> A_Err>§AEGP_IsLayerAudioReallyOn: Option<unsafe extern "C" fn(layerH: AEGP_LayerH, onPB: *mut A_Boolean) -> A_Err>§AEGP_GetLayerCurrentTime: Option<unsafe extern "C" fn(layerH: AEGP_LayerH, time_mode: AEGP_LTimeMode, curr_timePT: *mut A_Time) -> A_Err>§AEGP_GetLayerInPoint: Option<unsafe extern "C" fn(layerH: AEGP_LayerH, time_mode: AEGP_LTimeMode, in_pointPT: *mut A_Time) -> A_Err>§AEGP_GetLayerDuration: Option<unsafe extern "C" fn(layerH: AEGP_LayerH, time_mode: AEGP_LTimeMode, durationPT: *mut A_Time) -> A_Err>§AEGP_SetLayerInPointAndDuration: Option<unsafe extern "C" fn(layerH: AEGP_LayerH, time_mode: AEGP_LTimeMode, in_pointPT: *const A_Time, durationPT: *const A_Time) -> A_Err>§AEGP_GetLayerOffset: Option<unsafe extern "C" fn(layerH: AEGP_LayerH, offsetPT: *mut A_Time) -> A_Err>§AEGP_SetLayerOffset: Option<unsafe extern "C" fn(layerH: AEGP_LayerH, offsetPT: *const A_Time) -> A_Err>§AEGP_GetLayerStretch: Option<unsafe extern "C" fn(layerH: AEGP_LayerH, stretchPRt: *mut A_Ratio) -> A_Err>§AEGP_SetLayerStretch: Option<unsafe extern "C" fn(layerH: AEGP_LayerH, stretchPRt: *const A_Ratio) -> A_Err>§AEGP_GetLayerTransferMode: Option<unsafe extern "C" fn(layerH: AEGP_LayerH, transfer_modeP: *mut AEGP_LayerTransferMode) -> A_Err>§AEGP_SetLayerTransferMode: Option<unsafe extern "C" fn(layerH: AEGP_LayerH, transfer_modeP: *const AEGP_LayerTransferMode) -> A_Err>§AEGP_IsAddLayerValid: Option<unsafe extern "C" fn(item_to_addH: AEGP_ItemH, into_compH: AEGP_CompH, validPB: *mut A_Boolean) -> A_Err>§AEGP_AddLayer: Option<unsafe extern "C" fn(item_to_addH: AEGP_ItemH, into_compH: AEGP_CompH, added_layerPH0: *mut AEGP_LayerH) -> A_Err>§AEGP_ReorderLayer: Option<unsafe extern "C" fn(layerH: AEGP_LayerH, layer_indexL: A_long) -> A_Err>§AEGP_GetLayerMaskedBounds: Option<unsafe extern "C" fn(layerH: AEGP_LayerH, time_mode: AEGP_LTimeMode, timePT: *const A_Time, boundsPR: *mut A_FloatRect) -> A_Err>§AEGP_GetLayerObjectType: Option<unsafe extern "C" fn(layerH: AEGP_LayerH, object_type: *mut AEGP_ObjectType) -> A_Err>§AEGP_IsLayer3D: Option<unsafe extern "C" fn(layerH: AEGP_LayerH, is_3DPB: *mut A_Boolean) -> A_Err>§AEGP_IsLayer2D: Option<unsafe extern "C" fn(layerH: AEGP_LayerH, is_2DPB: *mut A_Boolean) -> A_Err>§AEGP_IsVideoActive: Option<unsafe extern "C" fn(layerH: AEGP_LayerH, time_mode: AEGP_LTimeMode, timePT: *const A_Time, is_activePB: *mut A_Boolean) -> A_Err>§AEGP_IsLayerUsedAsTrackMatte: Option<unsafe extern "C" fn(layerH: AEGP_LayerH, fill_must_be_activeB: A_Boolean, is_track_mattePB: *mut A_Boolean) -> A_Err>§AEGP_DoesLayerHaveTrackMatte: Option<unsafe extern "C" fn(layerH: AEGP_LayerH, has_track_mattePB: *mut A_Boolean) -> A_Err>§AEGP_ConvertCompToLayerTime: Option<unsafe extern "C" fn(layerH: AEGP_LayerH, comp_timePT: *const A_Time, layer_timePT: *mut A_Time) -> A_Err>§AEGP_ConvertLayerToCompTime: Option<unsafe extern "C" fn(layerH: AEGP_LayerH, layer_timePT: *const A_Time, comp_timePT: *mut A_Time) -> A_Err>§AEGP_GetLayerDancingRandValue: Option<unsafe extern "C" fn(layerH: AEGP_LayerH, comp_timePT: *const A_Time, rand_valuePL: *mut A_long) -> A_Err>§AEGP_GetLayerID: Option<unsafe extern "C" fn(layerH: AEGP_LayerH, id_valP: *mut AEGP_LayerIDVal) -> A_Err>§AEGP_GetLayerToWorldXform: Option<unsafe extern "C" fn(aegp_layerH: AEGP_LayerH, comp_timeP: *const A_Time, transform: *mut A_Matrix4) -> A_Err>§AEGP_GetLayerToWorldXformFromView: Option<unsafe extern "C" fn(aegp_layerH: AEGP_LayerH, view_timeP: *const A_Time, comp_timeP: *const A_Time, transform: *mut A_Matrix4) -> A_Err>§AEGP_SetLayerName: Option<unsafe extern "C" fn(aegp_layerH: AEGP_LayerH, new_nameZ: *const A_UTF16Char) -> A_Err>§AEGP_GetLayerParent: Option<unsafe extern "C" fn(layerH: AEGP_LayerH, parent_layerPH: *mut AEGP_LayerH) -> A_Err>§AEGP_SetLayerParent: Option<unsafe extern "C" fn(layerH: AEGP_LayerH, parent_layerH0: AEGP_LayerH) -> A_Err>§AEGP_DeleteLayer: Option<unsafe extern "C" fn(layerH: AEGP_LayerH) -> A_Err>§AEGP_DuplicateLayer: Option<unsafe extern "C" fn(orig_layerH: AEGP_LayerH, duplicate_layerPH: *mut AEGP_LayerH) -> A_Err>§AEGP_GetLayerFromLayerID: Option<unsafe extern "C" fn(parent_compH: AEGP_CompH, id: AEGP_LayerIDVal, layerPH: *mut AEGP_LayerH) -> A_Err>§AEGP_GetLayerLabel: Option<unsafe extern "C" fn(layerH: AEGP_LayerH, labelP: *mut AEGP_LabelID) -> A_Err>§AEGP_SetLayerLabel: Option<unsafe extern "C" fn(layerH: AEGP_LayerH, label: AEGP_LabelID) -> A_Err>§AEGP_GetLayerSamplingQuality: Option<unsafe extern "C" fn(layerH: AEGP_LayerH, qualityP: *mut AEGP_LayerSamplingQuality) -> A_Err>§AEGP_SetLayerSamplingQuality: Option<unsafe extern "C" fn(layerH: AEGP_LayerH, quality: AEGP_LayerSamplingQuality) -> A_Err>

Trait Implementations§

Source§

impl Clone for AEGP_LayerSuite8

Source§

fn clone(&self) -> AEGP_LayerSuite8

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_LayerSuite8

Source§

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

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

impl Copy for AEGP_LayerSuite8

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.