AEGP_CanvasSuite4

Struct AEGP_CanvasSuite4 

Source
#[repr(C)]
pub struct AEGP_CanvasSuite4 {
Show 41 fields pub AEGP_GetCompToRender: Option<unsafe extern "C" fn(render_contextH: PR_RenderContextH, compPH: *mut AEGP_CompH) -> A_Err>, pub AEGP_GetNumLayersToRender: Option<unsafe extern "C" fn(render_contextH: PR_RenderContextH, num_to_renderPL: *mut A_long) -> A_Err>, pub AEGP_GetNthLayerContextToRender: Option<unsafe extern "C" fn(render_contextH: PR_RenderContextH, n: A_long, layer_contextPH: *mut AEGP_RenderLayerContextH) -> A_Err>, pub AEGP_GetLayerFromLayerContext: Option<unsafe extern "C" fn(render_contextH: PR_RenderContextH, layer_contextH: AEGP_RenderLayerContextH, layerPH: *mut AEGP_LayerH) -> A_Err>, pub AEGP_GetTopLayerFromLayerContext: Option<unsafe extern "C" fn(render_contextH: PR_RenderContextH, layer_contextH: AEGP_RenderLayerContextH, layerPH: *mut AEGP_LayerH) -> A_Err>, pub AEGP_GetCompRenderTime: Option<unsafe extern "C" fn(render_contextH: PR_RenderContextH, time: *mut A_Time, time_step: *mut A_Time) -> A_Err>, pub AEGP_GetCompDestinationBuffer: Option<unsafe extern "C" fn(render_contextH: PR_RenderContextH, compH: AEGP_CompH, dst: *mut AEGP_WorldH) -> A_Err>, pub AEGP_GetROI: Option<unsafe extern "C" fn(render_contextH: PR_RenderContextH, roiPR: *mut A_LegacyRect) -> A_Err>, pub AEGP_RenderTexture: Option<unsafe extern "C" fn(render_contextH: PR_RenderContextH, layer_contextH: AEGP_RenderLayerContextH, render_hints: AEGP_RenderHints, suggested_scaleP0: *mut A_FloatPoint, suggested_src_rectP0: *mut A_FloatRect, src_matrixP0: *mut A_Matrix3, dstPH: *mut AEGP_WorldH) -> A_Err>, pub AEGP_DisposeTexture: Option<unsafe extern "C" fn(render_contextH: PR_RenderContextH, layer_contextH: AEGP_RenderLayerContextH, dstH0: AEGP_WorldH) -> A_Err>, pub AEGP_GetFieldRender: Option<unsafe extern "C" fn(render_contextH: PR_RenderContextH, field: *mut PF_Field) -> A_Err>, pub AEGP_ReportArtisanProgress: Option<unsafe extern "C" fn(render_contextH: PR_RenderContextH, countL: A_long, totalL: A_long) -> A_Err>, pub AEGP_GetRenderDownsampleFactor: Option<unsafe extern "C" fn(render_contextH: PR_RenderContextH, dsfP: *mut AEGP_DownsampleFactor) -> A_Err>, pub AEGP_SetRenderDownsampleFactor: Option<unsafe extern "C" fn(render_contextH: PR_RenderContextH, dsfP: *mut AEGP_DownsampleFactor) -> A_Err>, pub AEGP_IsBlankCanvas: Option<unsafe extern "C" fn(render_contextH: PR_RenderContextH, is_blankPB: *mut A_Boolean) -> A_Err>, pub AEGP_GetRenderLayerToWorldXform: Option<unsafe extern "C" fn(render_contextH: PR_RenderContextH, layer_contextH: AEGP_RenderLayerContextH, comp_timeP: *const A_Time, transform: *mut A_Matrix4) -> A_Err>, pub AEGP_GetRenderLayerBounds: Option<unsafe extern "C" fn(render_contextH: PR_RenderContextH, layer_contextH: AEGP_RenderLayerContextH, comp_timeP: *const A_Time, boundsP: *mut A_LegacyRect) -> A_Err>, pub AEGP_GetRenderOpacity: Option<unsafe extern "C" fn(render_contextH: PR_RenderContextH, layer_contextH: AEGP_RenderLayerContextH, comp_timePT: *const A_Time, opacityPF: *mut A_FpLong) -> A_Err>, pub AEGP_IsRenderLayerActive: Option<unsafe extern "C" fn(render_contextH: PR_RenderContextH, layer_contextH: AEGP_RenderLayerContextH, comp_timePT: *const A_Time, activePB: *mut A_Boolean) -> A_Err>, pub AEGP_SetArtisanLayerProgress: Option<unsafe extern "C" fn(render_contextH: PR_RenderContextH, countL: A_long, num_layersL: A_long) -> A_Err>, pub AEGP_RenderLayerPlus: Option<unsafe extern "C" fn(render_contextH: PR_RenderContextH, layerH: AEGP_LayerH, layer_contextH: AEGP_RenderLayerContextH, render_hints: AEGP_RenderHints, render_bufferPH: *mut AEGP_WorldH) -> A_Err>, pub AEGP_GetTrackMatteContext: Option<unsafe extern "C" fn(render_contextH: PR_RenderContextH, fill_contextH: AEGP_RenderLayerContextH, matte_contextPH: *mut AEGP_RenderLayerContextH) -> A_Err>, pub AEGP_RenderTextureWithReceipt: Option<unsafe extern "C" fn(render_contextH: PR_RenderContextH, layer_contextH: AEGP_RenderLayerContextH, render_hints: AEGP_RenderHints, suggested_scaleP0: *mut A_FloatPoint, suggested_src_rectP0: *mut A_FloatRect, src_matrixP0: *mut A_Matrix3, render_receiptPH: *mut AEGP_RenderReceiptH, dstPH: *mut AEGP_WorldH) -> A_Err>, pub AEGP_RenderLayerPlusWithReceipt: Option<unsafe extern "C" fn(render_contextH: PR_RenderContextH, layerH: AEGP_LayerH, layer_contextH: AEGP_RenderLayerContextH, render_hints: AEGP_RenderHints, render_receiptPH: *mut AEGP_RenderReceiptH, render_bufferPH: *mut AEGP_WorldH) -> A_Err>, pub AEGP_DisposeRenderReceipt: Option<unsafe extern "C" fn(render_receiptH: AEGP_RenderReceiptH) -> A_Err>, pub AEGP_CheckRenderReceipt: Option<unsafe extern "C" fn(current_render_contextH: PR_RenderContextH, current_layer_contextH: AEGP_RenderLayerContextH, old_render_receiptH: AEGP_RenderReceiptH, check_aceB: A_Boolean, receipt_statusP: *mut AEGP_RenderReceiptStatus) -> A_Err>, pub AEGP_GetNumBinsToRender: Option<unsafe extern "C" fn(render_contextH: PR_RenderContextH, num_bins_to_renderPL: *mut A_long) -> A_Err>, pub AEGP_SetNthBin: Option<unsafe extern "C" fn(render_contextH: PR_RenderContextH, n: A_long) -> A_Err>, pub AEGP_GetBinType: Option<unsafe extern "C" fn(render_contextH: PR_RenderContextH, bin_typeP: *mut AEGP_BinType) -> A_Err>, pub AEGP_GetRenderLayerToWorldXform2D3D: Option<unsafe extern "C" fn(render_contextH: PR_RenderContextH, layer_contextH: AEGP_RenderLayerContextH, comp_timeP: *const A_Time, only_2dB: A_Boolean, transform: *mut A_Matrix4) -> A_Err>, pub AEGP_GetPlatformWindowRef: Option<unsafe extern "C" fn(render_contextH: PR_RenderContextH, window_refP: *mut AEGP_PlatformWindowRef) -> A_Err>, pub AEGP_GetViewportScale: Option<unsafe extern "C" fn(render_contextH: PR_RenderContextH, scale_xPF: *mut A_FpLong, scale_yPF: *mut A_FpLong) -> A_Err>, pub AEGP_GetViewportOrigin: Option<unsafe extern "C" fn(render_contextH: PR_RenderContextH, origin_xPL: *mut A_long, origin_yPL: *mut A_long) -> A_Err>, pub AEGP_GetViewportRect: Option<unsafe extern "C" fn(render_contextH: PR_RenderContextH, viewport_rectPR: *mut A_LegacyRect) -> A_Err>, pub AEGP_GetFallowColor: Option<unsafe extern "C" fn(render_contextH: PR_RenderContextH, fallow_colorP: *mut PF_Pixel8) -> A_Err>, pub AEGP_GetInteractiveBuffer: Option<unsafe extern "C" fn(render_contextH: PR_RenderContextH, buffer: *mut AEGP_WorldH) -> A_Err>, pub AEGP_GetInteractiveCheckerboard: Option<unsafe extern "C" fn(render_contextH: PR_RenderContextH, checkerboard_onPB: *mut A_Boolean) -> A_Err>, pub AEGP_GetInteractiveCheckerboardColors: Option<unsafe extern "C" fn(render_contextH: PR_RenderContextH, checkerboard_color1P: *mut PF_Pixel, checkerboard_color2P: *mut PF_Pixel) -> A_Err>, pub AEGP_GetInteractiveCheckerboardSize: Option<unsafe extern "C" fn(render_contextH: PR_RenderContextH, checkerboard_widthPLu: *mut A_u_long, checkerboard_heightPLu: *mut A_u_long) -> A_Err>, pub AEGP_GetInteractiveCachedBuffer: Option<unsafe extern "C" fn(render_contextH: PR_RenderContextH, buffer: *mut AEGP_WorldH) -> A_Err>, pub AEGP_ArtisanMustRenderAsLayer: Option<unsafe extern "C" fn(render_contextH: PR_RenderContextH, layer_contextH: AEGP_RenderLayerContextH, use_render_texturePB: *mut A_Boolean) -> A_Err>,
}

Fields§

§AEGP_GetCompToRender: Option<unsafe extern "C" fn(render_contextH: PR_RenderContextH, compPH: *mut AEGP_CompH) -> A_Err>§AEGP_GetNumLayersToRender: Option<unsafe extern "C" fn(render_contextH: PR_RenderContextH, num_to_renderPL: *mut A_long) -> A_Err>§AEGP_GetNthLayerContextToRender: Option<unsafe extern "C" fn(render_contextH: PR_RenderContextH, n: A_long, layer_contextPH: *mut AEGP_RenderLayerContextH) -> A_Err>§AEGP_GetLayerFromLayerContext: Option<unsafe extern "C" fn(render_contextH: PR_RenderContextH, layer_contextH: AEGP_RenderLayerContextH, layerPH: *mut AEGP_LayerH) -> A_Err>§AEGP_GetTopLayerFromLayerContext: Option<unsafe extern "C" fn(render_contextH: PR_RenderContextH, layer_contextH: AEGP_RenderLayerContextH, layerPH: *mut AEGP_LayerH) -> A_Err>

With collapsed geometrics “on” this gives the layer in the root comp contining the layer context. With collapsed geometrics off this is the same as AEGP_GetLayerFromLayerContext.

§AEGP_GetCompRenderTime: Option<unsafe extern "C" fn(render_contextH: PR_RenderContextH, time: *mut A_Time, time_step: *mut A_Time) -> A_Err>§AEGP_GetCompDestinationBuffer: Option<unsafe extern "C" fn(render_contextH: PR_RenderContextH, compH: AEGP_CompH, dst: *mut AEGP_WorldH) -> A_Err>§AEGP_GetROI: Option<unsafe extern "C" fn(render_contextH: PR_RenderContextH, roiPR: *mut A_LegacyRect) -> A_Err>§AEGP_RenderTexture: Option<unsafe extern "C" fn(render_contextH: PR_RenderContextH, layer_contextH: AEGP_RenderLayerContextH, render_hints: AEGP_RenderHints, suggested_scaleP0: *mut A_FloatPoint, suggested_src_rectP0: *mut A_FloatRect, src_matrixP0: *mut A_Matrix3, dstPH: *mut AEGP_WorldH) -> A_Err>§AEGP_DisposeTexture: Option<unsafe extern "C" fn(render_contextH: PR_RenderContextH, layer_contextH: AEGP_RenderLayerContextH, dstH0: AEGP_WorldH) -> A_Err>§AEGP_GetFieldRender: Option<unsafe extern "C" fn(render_contextH: PR_RenderContextH, field: *mut PF_Field) -> A_Err>§AEGP_ReportArtisanProgress: Option<unsafe extern "C" fn(render_contextH: PR_RenderContextH, countL: A_long, totalL: A_long) -> A_Err>§AEGP_GetRenderDownsampleFactor: Option<unsafe extern "C" fn(render_contextH: PR_RenderContextH, dsfP: *mut AEGP_DownsampleFactor) -> A_Err>§AEGP_SetRenderDownsampleFactor: Option<unsafe extern "C" fn(render_contextH: PR_RenderContextH, dsfP: *mut AEGP_DownsampleFactor) -> A_Err>§AEGP_IsBlankCanvas: Option<unsafe extern "C" fn(render_contextH: PR_RenderContextH, is_blankPB: *mut A_Boolean) -> A_Err>§AEGP_GetRenderLayerToWorldXform: Option<unsafe extern "C" fn(render_contextH: PR_RenderContextH, layer_contextH: AEGP_RenderLayerContextH, comp_timeP: *const A_Time, transform: *mut A_Matrix4) -> A_Err>§AEGP_GetRenderLayerBounds: Option<unsafe extern "C" fn(render_contextH: PR_RenderContextH, layer_contextH: AEGP_RenderLayerContextH, comp_timeP: *const A_Time, boundsP: *mut A_LegacyRect) -> A_Err>§AEGP_GetRenderOpacity: Option<unsafe extern "C" fn(render_contextH: PR_RenderContextH, layer_contextH: AEGP_RenderLayerContextH, comp_timePT: *const A_Time, opacityPF: *mut A_FpLong) -> A_Err>§AEGP_IsRenderLayerActive: Option<unsafe extern "C" fn(render_contextH: PR_RenderContextH, layer_contextH: AEGP_RenderLayerContextH, comp_timePT: *const A_Time, activePB: *mut A_Boolean) -> A_Err>§AEGP_SetArtisanLayerProgress: Option<unsafe extern "C" fn(render_contextH: PR_RenderContextH, countL: A_long, num_layersL: A_long) -> A_Err>§AEGP_RenderLayerPlus: Option<unsafe extern "C" fn(render_contextH: PR_RenderContextH, layerH: AEGP_LayerH, layer_contextH: AEGP_RenderLayerContextH, render_hints: AEGP_RenderHints, render_bufferPH: *mut AEGP_WorldH) -> A_Err>§AEGP_GetTrackMatteContext: Option<unsafe extern "C" fn(render_contextH: PR_RenderContextH, fill_contextH: AEGP_RenderLayerContextH, matte_contextPH: *mut AEGP_RenderLayerContextH) -> A_Err>§AEGP_RenderTextureWithReceipt: Option<unsafe extern "C" fn(render_contextH: PR_RenderContextH, layer_contextH: AEGP_RenderLayerContextH, render_hints: AEGP_RenderHints, suggested_scaleP0: *mut A_FloatPoint, suggested_src_rectP0: *mut A_FloatRect, src_matrixP0: *mut A_Matrix3, render_receiptPH: *mut AEGP_RenderReceiptH, dstPH: *mut AEGP_WorldH) -> A_Err>§AEGP_RenderLayerPlusWithReceipt: Option<unsafe extern "C" fn(render_contextH: PR_RenderContextH, layerH: AEGP_LayerH, layer_contextH: AEGP_RenderLayerContextH, render_hints: AEGP_RenderHints, render_receiptPH: *mut AEGP_RenderReceiptH, render_bufferPH: *mut AEGP_WorldH) -> A_Err>§AEGP_DisposeRenderReceipt: Option<unsafe extern "C" fn(render_receiptH: AEGP_RenderReceiptH) -> A_Err>§AEGP_CheckRenderReceipt: Option<unsafe extern "C" fn(current_render_contextH: PR_RenderContextH, current_layer_contextH: AEGP_RenderLayerContextH, old_render_receiptH: AEGP_RenderReceiptH, check_aceB: A_Boolean, receipt_statusP: *mut AEGP_RenderReceiptStatus) -> A_Err>§AEGP_GetNumBinsToRender: Option<unsafe extern "C" fn(render_contextH: PR_RenderContextH, num_bins_to_renderPL: *mut A_long) -> A_Err>§AEGP_SetNthBin: Option<unsafe extern "C" fn(render_contextH: PR_RenderContextH, n: A_long) -> A_Err>§AEGP_GetBinType: Option<unsafe extern "C" fn(render_contextH: PR_RenderContextH, bin_typeP: *mut AEGP_BinType) -> A_Err>§AEGP_GetRenderLayerToWorldXform2D3D: Option<unsafe extern "C" fn(render_contextH: PR_RenderContextH, layer_contextH: AEGP_RenderLayerContextH, comp_timeP: *const A_Time, only_2dB: A_Boolean, transform: *mut A_Matrix4) -> A_Err>§AEGP_GetPlatformWindowRef: Option<unsafe extern "C" fn(render_contextH: PR_RenderContextH, window_refP: *mut AEGP_PlatformWindowRef) -> A_Err>§AEGP_GetViewportScale: Option<unsafe extern "C" fn(render_contextH: PR_RenderContextH, scale_xPF: *mut A_FpLong, scale_yPF: *mut A_FpLong) -> A_Err>§AEGP_GetViewportOrigin: Option<unsafe extern "C" fn(render_contextH: PR_RenderContextH, origin_xPL: *mut A_long, origin_yPL: *mut A_long) -> A_Err>§AEGP_GetViewportRect: Option<unsafe extern "C" fn(render_contextH: PR_RenderContextH, viewport_rectPR: *mut A_LegacyRect) -> A_Err>§AEGP_GetFallowColor: Option<unsafe extern "C" fn(render_contextH: PR_RenderContextH, fallow_colorP: *mut PF_Pixel8) -> A_Err>§AEGP_GetInteractiveBuffer: Option<unsafe extern "C" fn(render_contextH: PR_RenderContextH, buffer: *mut AEGP_WorldH) -> A_Err>§AEGP_GetInteractiveCheckerboard: Option<unsafe extern "C" fn(render_contextH: PR_RenderContextH, checkerboard_onPB: *mut A_Boolean) -> A_Err>§AEGP_GetInteractiveCheckerboardColors: Option<unsafe extern "C" fn(render_contextH: PR_RenderContextH, checkerboard_color1P: *mut PF_Pixel, checkerboard_color2P: *mut PF_Pixel) -> A_Err>§AEGP_GetInteractiveCheckerboardSize: Option<unsafe extern "C" fn(render_contextH: PR_RenderContextH, checkerboard_widthPLu: *mut A_u_long, checkerboard_heightPLu: *mut A_u_long) -> A_Err>§AEGP_GetInteractiveCachedBuffer: Option<unsafe extern "C" fn(render_contextH: PR_RenderContextH, buffer: *mut AEGP_WorldH) -> A_Err>§AEGP_ArtisanMustRenderAsLayer: Option<unsafe extern "C" fn(render_contextH: PR_RenderContextH, layer_contextH: AEGP_RenderLayerContextH, use_render_texturePB: *mut A_Boolean) -> A_Err>

Trait Implementations§

Source§

impl Clone for AEGP_CanvasSuite4

Source§

fn clone(&self) -> AEGP_CanvasSuite4

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_CanvasSuite4

Source§

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

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

impl Copy for AEGP_CanvasSuite4

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.