[−][src]Struct tm_rs::ffi::tm_shader_api
Fields
create_constant_buffer_instances: Option<unsafe extern "C" fn(*mut tm_shader_io_o, u32, *mut tm_shader_constant_buffer_instance_t)>
create_constant_buffer_instances_from_template: Option<unsafe extern "C" fn(*mut tm_shader_io_o, *mut tm_renderer_resource_command_buffer_o, u32, *mut tm_shader_constant_buffer_instance_t, tm_shader_constant_buffer_instance_t)>
destroy_constant_buffer_instances: Option<unsafe extern "C" fn(*mut tm_shader_io_o, *mut tm_shader_constant_buffer_instance_t, u32)>
create_resource_binder_instances: Option<unsafe extern "C" fn(*mut tm_shader_io_o, u32, *mut tm_shader_resource_binder_instance_t)>
destroy_resource_binder_instances: Option<unsafe extern "C" fn(*mut tm_shader_io_o, *mut tm_shader_resource_binder_instance_t, u32)>
reflect_constants: Option<unsafe extern "C" fn(*mut tm_shader_io_o, *mut u32, *mut tm_shader_constant_t, *mut u32)>
lookup_constant: Option<unsafe extern "C" fn(*mut tm_shader_io_o, u64, *mut tm_shader_constant_t, *mut u32) -> bool>
update_constants: Option<unsafe extern "C" fn(*mut tm_shader_io_o, *mut tm_renderer_resource_command_buffer_o, *const tm_shader_constant_update_t, u32)>
update_constants_raw: Option<unsafe extern "C" fn(*mut tm_shader_io_o, *mut tm_renderer_resource_command_buffer_o, *const u32, *mut *const c_void, u32, u32, u32)>
update_constant_buffer_instances_from_template: Option<unsafe extern "C" fn(*mut tm_shader_io_o, *mut tm_renderer_resource_command_buffer_o, u32, *mut tm_shader_constant_buffer_instance_t, tm_shader_constant_buffer_instance_t)>
reflect_resources: Option<unsafe extern "C" fn(*mut tm_shader_io_o, *mut u32, *mut tm_shader_resource_t, *mut u32)>
lookup_resource: Option<unsafe extern "C" fn(*mut tm_shader_io_o, u64, *mut tm_shader_resource_t, *mut u32) -> bool>
update_resources: Option<unsafe extern "C" fn(*mut tm_shader_io_o, *mut tm_renderer_resource_command_buffer_o, *mut tm_shader_resource_update_t, u32)>
max_passes: Option<unsafe extern "C" fn(*mut tm_shader_o) -> u8>
assemble_shader_infos: Option<unsafe extern "C" fn(*mut tm_shader_o, *const u32, u32, *const tm_shader_system_context_o, u64, *mut tm_renderer_resource_command_buffer_o, *const tm_shader_constant_buffer_instance_t, *const tm_shader_resource_binder_instance_t, u32, *mut tm_renderer_shader_info_t) -> u8>
shader_io: Option<unsafe extern "C" fn(*mut tm_shader_o) -> *mut tm_shader_io_o>
system_io: Option<unsafe extern "C" fn(*mut tm_shader_system_o) -> *mut tm_shader_io_o>
name: Option<unsafe extern "C" fn(*mut tm_shader_o) -> u64>
Trait Implementations
impl Clone for tm_shader_api
[src]
pub fn clone(&self) -> tm_shader_api
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for tm_shader_api
[src]
Auto Trait Implementations
impl RefUnwindSafe for tm_shader_api
impl Send for tm_shader_api
impl Sync for tm_shader_api
impl Unpin for tm_shader_api
impl UnwindSafe for tm_shader_api
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Any for T where
T: Any,
[src]
T: Any,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> CloneAny for T where
T: Clone + Any,
[src]
T: Clone + Any,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,