#[repr(C)]pub struct PF_PixelFormatSuite1 {
pub AddSupportedPixelFormat: Option<unsafe extern "C" fn(effect_ref: PF_ProgPtr, pixelFormat: PrPixelFormat) -> PF_Err>,
pub ClearSupportedPixelFormats: Option<unsafe extern "C" fn(effect_ref: PF_ProgPtr) -> PF_Err>,
pub NewWorldOfPixelFormat: Option<unsafe extern "C" fn(effect_ref: PF_ProgPtr, width: A_u_long, height: A_u_long, flags: PF_NewWorldFlags, pixelFormat: PrPixelFormat, world: *mut PF_EffectWorld) -> PF_Err>,
pub DisposeWorld: Option<unsafe extern "C" fn(effect_ref: PF_ProgPtr, world: *mut PF_EffectWorld) -> PF_Err>,
pub GetPixelFormat: Option<unsafe extern "C" fn(inWorld: *mut PF_EffectWorld, pixelFormat: *mut PrPixelFormat) -> PF_Err>,
pub GetBlackForPixelFormat: Option<unsafe extern "C" fn(pixelFormat: PrPixelFormat, pixelData: *mut c_void) -> PF_Err>,
pub GetWhiteForPixelFormat: Option<unsafe extern "C" fn(pixelFormat: PrPixelFormat, pixelData: *mut c_void) -> PF_Err>,
pub ConvertColorToPixelFormattedData: Option<unsafe extern "C" fn(pixelFormat: PrPixelFormat, alpha: f32, red: f32, green: f32, blue: f32, pixelData: *mut c_void) -> PF_Err>,
}Fields§
§AddSupportedPixelFormat: Option<unsafe extern "C" fn(effect_ref: PF_ProgPtr, pixelFormat: PrPixelFormat) -> PF_Err>§ClearSupportedPixelFormats: Option<unsafe extern "C" fn(effect_ref: PF_ProgPtr) -> PF_Err>§NewWorldOfPixelFormat: Option<unsafe extern "C" fn(effect_ref: PF_ProgPtr, width: A_u_long, height: A_u_long, flags: PF_NewWorldFlags, pixelFormat: PrPixelFormat, world: *mut PF_EffectWorld) -> PF_Err>§DisposeWorld: Option<unsafe extern "C" fn(effect_ref: PF_ProgPtr, world: *mut PF_EffectWorld) -> PF_Err>§GetPixelFormat: Option<unsafe extern "C" fn(inWorld: *mut PF_EffectWorld, pixelFormat: *mut PrPixelFormat) -> PF_Err>§GetBlackForPixelFormat: Option<unsafe extern "C" fn(pixelFormat: PrPixelFormat, pixelData: *mut c_void) -> PF_Err>§GetWhiteForPixelFormat: Option<unsafe extern "C" fn(pixelFormat: PrPixelFormat, pixelData: *mut c_void) -> PF_Err>§ConvertColorToPixelFormattedData: Option<unsafe extern "C" fn(pixelFormat: PrPixelFormat, alpha: f32, red: f32, green: f32, blue: f32, pixelData: *mut c_void) -> PF_Err>Trait Implementations§
Source§impl Clone for PF_PixelFormatSuite1
impl Clone for PF_PixelFormatSuite1
Source§fn clone(&self) -> PF_PixelFormatSuite1
fn clone(&self) -> PF_PixelFormatSuite1
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PF_PixelFormatSuite1
impl Debug for PF_PixelFormatSuite1
impl Copy for PF_PixelFormatSuite1
Auto Trait Implementations§
impl Freeze for PF_PixelFormatSuite1
impl RefUnwindSafe for PF_PixelFormatSuite1
impl Send for PF_PixelFormatSuite1
impl Sync for PF_PixelFormatSuite1
impl Unpin for PF_PixelFormatSuite1
impl UnwindSafe for PF_PixelFormatSuite1
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more