#[repr(C)]pub struct FILTER_PROC_VIDEO {Show 38 fields
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),
pub get_image_texture2d: unsafe extern "C" fn() -> *mut c_void,
pub get_framebuffer_texture2d: unsafe extern "C" fn() -> *mut c_void,
pub edit: *mut EDIT_SECTION,
pub param: *mut OBJECT_IMAGE_PARAM,
pub get_output_image_param: unsafe extern "C" fn(object: OBJECT_HANDLE, offset: f64, param: *mut OBJECT_IMAGE_PARAM, param_size: i32) -> bool,
pub get_image_object: unsafe extern "C" fn(layer: i32, offset: f64) -> OBJECT_HANDLE,
pub draw_image: unsafe extern "C" fn(image: LPCWSTR, x: f32, y: f32, z: f32, rx: f32, ry: f32, rz: f32, sx: f32, sy: f32, sz: f32, alpha: f32) -> bool,
pub draw_poly: unsafe extern "C" fn(vertex_type: VERTEX_TYPE, vertex_list: *const c_void, vertex_num: i32, image: LPCWSTR) -> bool,
pub set_default_anchor: unsafe extern "C" fn(width: i32, height: i32),
pub set_blend_mode: unsafe extern "C" fn(blend: BLEND_MODE),
pub set_material_shine: unsafe extern "C" fn(shine: f32),
pub set_sampler_mode: unsafe extern "C" fn(sampler: SAMPLER_MODE),
pub set_culling_state: unsafe extern "C" fn(culling: bool),
pub set_billboard_mode: unsafe extern "C" fn(billboard: BILLBOARD_MODE),
pub create_image_resource: unsafe extern "C" fn(image: LPCWSTR, buffer: *const PIXEL_RGBA, width: i32, height: i32),
pub get_image_resource_texture2d: unsafe extern "C" fn(resource: LPCWSTR) -> *mut c_void,
pub copy_image_resource: unsafe extern "C" fn(dst_resource: LPCWSTR, src_resource: LPCWSTR) -> bool,
pub clear_image_resource: unsafe extern "C" fn(resource: LPCWSTR, color: PIXEL_RGBA) -> bool,
pub draw_image_to_resource: unsafe extern "C" fn(dst_resource: LPCWSTR, src_resource: LPCWSTR, x: f32, y: f32, z: f32, rx: f32, ry: f32, rz: f32, sx: f32, sy: f32, sz: f32, alpha: f32) -> bool,
pub draw_poly_to_resource: unsafe extern "C" fn(dst_resource: LPCWSTR, vertex_type: VERTEX_TYPE, vertex_list: *const c_void, vertex_num: i32, src_resource: LPCWSTR) -> bool,
pub exec_pixelshader_file: unsafe extern "C" fn(cso_file: LPCWSTR, target: LPCWSTR, resource_list: *mut LPCWSTR, resource_num: i32, constant: *mut c_void, constant_size: i32, blend_state: *mut c_void, sampler_state: *mut c_void) -> bool,
pub exec_computeshader_file: unsafe extern "C" fn(cso_file: LPCWSTR, target_list: *mut LPCWSTR, target_num: i32, resource_list: *mut LPCWSTR, resource_num: i32, constant: *mut c_void, constant_size: i32, count_x: i32, count_y: i32, count_z: i32, sampler_state: *mut c_void) -> bool,
pub get_blend_state: unsafe extern "C" fn(blend: BLEND_STATE_MODE) -> *mut c_void,
pub get_sampler_state: unsafe extern "C" fn(sampler: SAMPLER_MODE) -> *mut c_void,
pub exec_pixelshader_data: unsafe extern "C" fn(data: *const u8, data_size: i32, target: LPCWSTR, resource_list: *mut LPCWSTR, resource_num: i32, constant: *mut c_void, constant_size: i32, blend_state: *mut c_void, sampler_state: *mut c_void) -> bool,
pub exec_computeshader_data: unsafe extern "C" fn(data: *const u8, data_size: i32, target_list: *mut LPCWSTR, target_num: i32, resource_list: *mut LPCWSTR, resource_num: i32, constant: *mut c_void, constant_size: i32, count_x: i32, count_y: i32, count_z: i32, sampler_state: *mut c_void) -> bool,
pub get_image_resource_size: unsafe extern "C" fn(resource: LPCWSTR, width: *mut i32, height: *mut i32) -> bool,
pub get_image_resource_data: unsafe extern "C" fn(resource: LPCWSTR, buffer: *mut c_void, width: i32, height: i32, pitch: i32, format: OUTPUT_PIXEL_FORMAT) -> bool,
pub set_image_resource_data: unsafe extern "C" fn(resource: LPCWSTR, buffer: *const c_void, width: i32, height: i32, pitch: i32, format: INPUT_PIXEL_FORMAT) -> bool,
pub deprecated_get_font: unsafe extern "C" fn(font: LPCWSTR) -> *mut c_void,
pub set_filter_item_data_size: unsafe extern "C" fn(filter_item_data: *mut c_void, size: i32),
pub userdata: *mut c_void,
pub release_image_resource: unsafe extern "C" fn(resource: LPCWSTR) -> bool,
pub exec_effect: unsafe extern "C" fn(name: LPCWSTR, param_list: *mut EFFECT_ITEM_PARAM, param_num: i32, resource: LPCWSTR) -> bool,
}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: 画像サイズ
get_image_texture2d: unsafe extern "C" fn() -> *mut c_void§get_framebuffer_texture2d: unsafe extern "C" fn() -> *mut c_void§edit: *mut EDIT_SECTION編集セクション関数
param: *mut OBJECT_IMAGE_PARAM現在のオブジェクトの画像パラメータ情報
get_output_image_param: unsafe extern "C" fn(object: OBJECT_HANDLE, offset: f64, param: *mut OBJECT_IMAGE_PARAM, param_size: i32) -> bool指定オブジェクトの画像出力項目のパラメータを取得する
get_image_object: unsafe extern "C" fn(layer: i32, offset: f64) -> OBJECT_HANDLE指定のレイヤーにある画像オブジェクトを取得します
draw_image: unsafe extern "C" fn(image: LPCWSTR, x: f32, y: f32, z: f32, rx: f32, ry: f32, rz: f32, sx: f32, sy: f32, sz: f32, alpha: f32) -> bool指定の画像リソースをフレームバッファに描画します
draw_poly: unsafe extern "C" fn(vertex_type: VERTEX_TYPE, vertex_list: *const c_void, vertex_num: i32, image: LPCWSTR) -> bool指定の頂点リストのポリゴンをフレームバッファに描画します
set_default_anchor: unsafe extern "C" fn(width: i32, height: i32)標準のアンカー枠を設定します
set_blend_mode: unsafe extern "C" fn(blend: BLEND_MODE)描画時の合成モードを設定します
set_material_shine: unsafe extern "C" fn(shine: f32)描画時の光沢度を設定します
set_sampler_mode: unsafe extern "C" fn(sampler: SAMPLER_MODE)描画時のサンプラーを設定します
set_culling_state: unsafe extern "C" fn(culling: bool)描画時に裏面を非表示にするかを設定します
set_billboard_mode: unsafe extern "C" fn(billboard: BILLBOARD_MODE)描画時にオブジェクトをカメラの方向に向けるかを設定します
create_image_resource: unsafe extern "C" fn(image: LPCWSTR, buffer: *const PIXEL_RGBA, width: i32, height: i32)画像リソースを作成する
get_image_resource_texture2d: unsafe extern "C" fn(resource: LPCWSTR) -> *mut c_void指定の画像リソースのD3D画像リソースのポインタを取得する
copy_image_resource: unsafe extern "C" fn(dst_resource: LPCWSTR, src_resource: LPCWSTR) -> bool画像リソースをコピーする
clear_image_resource: unsafe extern "C" fn(resource: LPCWSTR, color: PIXEL_RGBA) -> bool画像リソースをクリアする
draw_image_to_resource: unsafe extern "C" fn(dst_resource: LPCWSTR, src_resource: LPCWSTR, x: f32, y: f32, z: f32, rx: f32, ry: f32, rz: f32, sx: f32, sy: f32, sz: f32, alpha: f32) -> bool指定の画像リソースを描画先の画像リソースに描画します
draw_poly_to_resource: unsafe extern "C" fn(dst_resource: LPCWSTR, vertex_type: VERTEX_TYPE, vertex_list: *const c_void, vertex_num: i32, src_resource: LPCWSTR) -> bool指定の頂点リストのポリゴンを描画先の画像リソースに描画します
exec_pixelshader_file: unsafe extern "C" fn(cso_file: LPCWSTR, target: LPCWSTR, resource_list: *mut LPCWSTR, resource_num: i32, constant: *mut c_void, constant_size: i32, blend_state: *mut c_void, sampler_state: *mut c_void) -> boolピクセルシェーダーを実行します
exec_computeshader_file: unsafe extern "C" fn(cso_file: LPCWSTR, target_list: *mut LPCWSTR, target_num: i32, resource_list: *mut LPCWSTR, resource_num: i32, constant: *mut c_void, constant_size: i32, count_x: i32, count_y: i32, count_z: i32, sampler_state: *mut c_void) -> boolコンピュートシェーダーを実行します
get_blend_state: unsafe extern "C" fn(blend: BLEND_STATE_MODE) -> *mut c_void定義済みのD3Dの出力ブレンドのリソースのポインタを取得する
get_sampler_state: unsafe extern "C" fn(sampler: SAMPLER_MODE) -> *mut c_void定義済みのD3Dのサンプラーのリソースのポインタを取得する
exec_pixelshader_data: unsafe extern "C" fn(data: *const u8, data_size: i32, target: LPCWSTR, resource_list: *mut LPCWSTR, resource_num: i32, constant: *mut c_void, constant_size: i32, blend_state: *mut c_void, sampler_state: *mut c_void) -> boolピクセルシェーダーを実行します
exec_computeshader_data: unsafe extern "C" fn(data: *const u8, data_size: i32, target_list: *mut LPCWSTR, target_num: i32, resource_list: *mut LPCWSTR, resource_num: i32, constant: *mut c_void, constant_size: i32, count_x: i32, count_y: i32, count_z: i32, sampler_state: *mut c_void) -> boolコンピュートシェーダーを実行します
get_image_resource_size: unsafe extern "C" fn(resource: LPCWSTR, width: *mut i32, height: *mut i32) -> bool指定の画像リソースのサイズを取得する
get_image_resource_data: unsafe extern "C" fn(resource: LPCWSTR, buffer: *mut c_void, width: i32, height: i32, pitch: i32, format: OUTPUT_PIXEL_FORMAT) -> bool画像リソースから指定フォーマットの画像データを取得する
set_image_resource_data: unsafe extern "C" fn(resource: LPCWSTR, buffer: *const c_void, width: i32, height: i32, pitch: i32, format: INPUT_PIXEL_FORMAT) -> bool画像リソースに指定フォーマットの画像データを設定する
deprecated_get_font: unsafe extern "C" fn(font: LPCWSTR) -> *mut c_void冗長なので廃止します ※EDIT_SECTIONに移動しました
冗長なので廃止します ※EDIT_SECTIONに移動しました
set_filter_item_data_size: unsafe extern "C" fn(filter_item_data: *mut c_void, size: i32)指定の汎用データ項目のデータサイズを変更します
userdata: *mut c_voidfunc_create で返却したユーザーデータのポインタ
release_image_resource: unsafe extern "C" fn(resource: LPCWSTR) -> bool画像リソースを解放します
exec_effect: unsafe extern "C" fn(name: LPCWSTR, param_list: *mut EFFECT_ITEM_PARAM, param_num: i32, resource: LPCWSTR) -> bool指定のエフェクトを実行します