#[repr(C)]pub struct FILTER_PROC_VIDEO {
pub scene: *const SCENE_INFO,
pub object: *const OBJECT_INFO,
pub get_image_data: unsafe extern "C" fn(buffer: *mut PIXEL_RGBA),
pub set_image_data: unsafe extern "C" fn(buffer: *const PIXEL_RGBA, width: i32, height: i32),
}Expand description
画像フィルタ処理用構造体
Fields§
§scene: *const SCENE_INFOシーン情報
object: *const OBJECT_INFOオブジェクト情報
get_image_data: unsafe extern "C" fn(buffer: *mut PIXEL_RGBA)現在の画像のデータを取得する(VRAMからデータを取得します) buffer: 画像データの格納先へのポインタ
set_image_data: unsafe extern "C" fn(buffer: *const PIXEL_RGBA, width: i32, height: i32)現在の画像のデータを設定します(VRAMへデータを書き込みます) buffer: 画像データへのポインタ width,height: 画像サイズ
Auto Trait Implementations§
impl Freeze for FILTER_PROC_VIDEO
impl RefUnwindSafe for FILTER_PROC_VIDEO
impl !Send for FILTER_PROC_VIDEO
impl !Sync for FILTER_PROC_VIDEO
impl Unpin for FILTER_PROC_VIDEO
impl UnwindSafe for FILTER_PROC_VIDEO
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