pub struct ExtExtendedDynamicStateFn {
pub cmd_set_cull_mode_ext: unsafe extern "system" fn(CommandBuffer, CullModeFlags),
pub cmd_set_front_face_ext: unsafe extern "system" fn(CommandBuffer, FrontFace),
pub cmd_set_primitive_topology_ext: unsafe extern "system" fn(CommandBuffer, PrimitiveTopology),
pub cmd_set_viewport_with_count_ext: unsafe extern "system" fn(CommandBuffer, u32, *const Viewport),
pub cmd_set_scissor_with_count_ext: unsafe extern "system" fn(CommandBuffer, u32, *const Rect2D),
pub cmd_bind_vertex_buffers2_ext: unsafe extern "system" fn(CommandBuffer, u32, u32, *const Buffer, *const u64, *const u64, *const u64),
pub cmd_set_depth_test_enable_ext: unsafe extern "system" fn(CommandBuffer, u32),
pub cmd_set_depth_write_enable_ext: unsafe extern "system" fn(CommandBuffer, u32),
pub cmd_set_depth_compare_op_ext: unsafe extern "system" fn(CommandBuffer, CompareOp),
pub cmd_set_depth_bounds_test_enable_ext: unsafe extern "system" fn(CommandBuffer, u32),
pub cmd_set_stencil_test_enable_ext: unsafe extern "system" fn(CommandBuffer, u32),
pub cmd_set_stencil_op_ext: unsafe extern "system" fn(CommandBuffer, StencilFaceFlags, StencilOp, StencilOp, StencilOp, CompareOp),
}Fields
cmd_set_cull_mode_ext: unsafe extern "system" fn(CommandBuffer, CullModeFlags)cmd_set_front_face_ext: unsafe extern "system" fn(CommandBuffer, FrontFace)cmd_set_primitive_topology_ext: unsafe extern "system" fn(CommandBuffer, PrimitiveTopology)cmd_set_viewport_with_count_ext: unsafe extern "system" fn(CommandBuffer, u32, *const Viewport)cmd_set_scissor_with_count_ext: unsafe extern "system" fn(CommandBuffer, u32, *const Rect2D)cmd_bind_vertex_buffers2_ext: unsafe extern "system" fn(CommandBuffer, u32, u32, *const Buffer, *const u64, *const u64, *const u64)cmd_set_depth_test_enable_ext: unsafe extern "system" fn(CommandBuffer, u32)cmd_set_depth_write_enable_ext: unsafe extern "system" fn(CommandBuffer, u32)cmd_set_depth_compare_op_ext: unsafe extern "system" fn(CommandBuffer, CompareOp)cmd_set_depth_bounds_test_enable_ext: unsafe extern "system" fn(CommandBuffer, u32)cmd_set_stencil_test_enable_ext: unsafe extern "system" fn(CommandBuffer, u32)cmd_set_stencil_op_ext: unsafe extern "system" fn(CommandBuffer, StencilFaceFlags, StencilOp, StencilOp, StencilOp, CompareOp)Implementations
sourceimpl ExtExtendedDynamicStateFn
impl ExtExtendedDynamicStateFn
pub fn load<F>(_f: F) -> ExtExtendedDynamicStateFn where
F: FnMut(&CStr) -> *const c_void,
sourcepub unsafe fn cmd_set_cull_mode_ext(
&self,
command_buffer: CommandBuffer,
cull_mode: CullModeFlags
)
pub unsafe fn cmd_set_cull_mode_ext(
&self,
command_buffer: CommandBuffer,
cull_mode: CullModeFlags
)
sourcepub unsafe fn cmd_set_front_face_ext(
&self,
command_buffer: CommandBuffer,
front_face: FrontFace
)
pub unsafe fn cmd_set_front_face_ext(
&self,
command_buffer: CommandBuffer,
front_face: FrontFace
)
sourcepub unsafe fn cmd_set_primitive_topology_ext(
&self,
command_buffer: CommandBuffer,
primitive_topology: PrimitiveTopology
)
pub unsafe fn cmd_set_primitive_topology_ext(
&self,
command_buffer: CommandBuffer,
primitive_topology: PrimitiveTopology
)
sourcepub unsafe fn cmd_set_viewport_with_count_ext(
&self,
command_buffer: CommandBuffer,
viewport_count: u32,
p_viewports: *const Viewport
)
pub unsafe fn cmd_set_viewport_with_count_ext(
&self,
command_buffer: CommandBuffer,
viewport_count: u32,
p_viewports: *const Viewport
)
sourcepub unsafe fn cmd_set_scissor_with_count_ext(
&self,
command_buffer: CommandBuffer,
scissor_count: u32,
p_scissors: *const Rect2D
)
pub unsafe fn cmd_set_scissor_with_count_ext(
&self,
command_buffer: CommandBuffer,
scissor_count: u32,
p_scissors: *const Rect2D
)
sourcepub unsafe fn cmd_bind_vertex_buffers2_ext(
&self,
command_buffer: CommandBuffer,
first_binding: u32,
binding_count: u32,
p_buffers: *const Buffer,
p_offsets: *const u64,
p_sizes: *const u64,
p_strides: *const u64
)
pub unsafe fn cmd_bind_vertex_buffers2_ext(
&self,
command_buffer: CommandBuffer,
first_binding: u32,
binding_count: u32,
p_buffers: *const Buffer,
p_offsets: *const u64,
p_sizes: *const u64,
p_strides: *const u64
)
sourcepub unsafe fn cmd_set_depth_test_enable_ext(
&self,
command_buffer: CommandBuffer,
depth_test_enable: u32
)
pub unsafe fn cmd_set_depth_test_enable_ext(
&self,
command_buffer: CommandBuffer,
depth_test_enable: u32
)
sourcepub unsafe fn cmd_set_depth_write_enable_ext(
&self,
command_buffer: CommandBuffer,
depth_write_enable: u32
)
pub unsafe fn cmd_set_depth_write_enable_ext(
&self,
command_buffer: CommandBuffer,
depth_write_enable: u32
)
sourcepub unsafe fn cmd_set_depth_compare_op_ext(
&self,
command_buffer: CommandBuffer,
depth_compare_op: CompareOp
)
pub unsafe fn cmd_set_depth_compare_op_ext(
&self,
command_buffer: CommandBuffer,
depth_compare_op: CompareOp
)
sourcepub unsafe fn cmd_set_depth_bounds_test_enable_ext(
&self,
command_buffer: CommandBuffer,
depth_bounds_test_enable: u32
)
pub unsafe fn cmd_set_depth_bounds_test_enable_ext(
&self,
command_buffer: CommandBuffer,
depth_bounds_test_enable: u32
)
sourcepub unsafe fn cmd_set_stencil_test_enable_ext(
&self,
command_buffer: CommandBuffer,
stencil_test_enable: u32
)
pub unsafe fn cmd_set_stencil_test_enable_ext(
&self,
command_buffer: CommandBuffer,
stencil_test_enable: u32
)
sourcepub unsafe fn cmd_set_stencil_op_ext(
&self,
command_buffer: CommandBuffer,
face_mask: StencilFaceFlags,
fail_op: StencilOp,
pass_op: StencilOp,
depth_fail_op: StencilOp,
compare_op: CompareOp
)
pub unsafe fn cmd_set_stencil_op_ext(
&self,
command_buffer: CommandBuffer,
face_mask: StencilFaceFlags,
fail_op: StencilOp,
pass_op: StencilOp,
depth_fail_op: StencilOp,
compare_op: CompareOp
)
Trait Implementations
sourceimpl Clone for ExtExtendedDynamicStateFn
impl Clone for ExtExtendedDynamicStateFn
sourcepub fn clone(&self) -> ExtExtendedDynamicStateFn
pub fn clone(&self) -> ExtExtendedDynamicStateFn
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
impl Send for ExtExtendedDynamicStateFn
impl Sync for ExtExtendedDynamicStateFn
Auto Trait Implementations
impl RefUnwindSafe for ExtExtendedDynamicStateFn
impl Unpin for ExtExtendedDynamicStateFn
impl UnwindSafe for ExtExtendedDynamicStateFn
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<T> Pointable for T
impl<T> Pointable for T
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more