#[repr(C)]pub struct RuntimeConfig {
pub runtime_data_cbv: dxil_spirv_runtime_conf_runtime_cbv,
pub push_constant_cbv: dxil_spirv_runtime_conf_push_cbv,
pub zero_based_vertex_instance_id: bool,
pub zero_based_compute_workgroup_id: bool,
pub yz_flip: dxil_spirv_runtime_conf_flip_conf,
pub declared_read_only_images_as_srvs: bool,
pub inferred_read_only_images_as_srvs: bool,
pub force_sample_rate_shading: bool,
pub lower_view_index: bool,
pub lower_view_index_to_rt_layer: bool,
pub shader_model_max: dxil_shader_model,
}Expand description
Runtime configuration options for the SPIR-V compilation.
Fields§
§runtime_data_cbv: dxil_spirv_runtime_conf_runtime_cbv§push_constant_cbv: dxil_spirv_runtime_conf_push_cbv§zero_based_vertex_instance_id: bool§zero_based_compute_workgroup_id: bool§yz_flip: dxil_spirv_runtime_conf_flip_conf§declared_read_only_images_as_srvs: bool§inferred_read_only_images_as_srvs: bool§force_sample_rate_shading: bool§lower_view_index: bool§lower_view_index_to_rt_layer: bool§shader_model_max: dxil_shader_modelTrait Implementations§
Source§impl Clone for dxil_spirv_runtime_conf
impl Clone for dxil_spirv_runtime_conf
Source§fn clone(&self) -> dxil_spirv_runtime_conf
fn clone(&self) -> dxil_spirv_runtime_conf
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 dxil_spirv_runtime_conf
impl Debug for dxil_spirv_runtime_conf
Source§impl Default for dxil_spirv_runtime_conf
impl Default for dxil_spirv_runtime_conf
Source§fn default() -> dxil_spirv_runtime_conf
fn default() -> dxil_spirv_runtime_conf
Returns the “default value” for a type. Read more
impl Copy for dxil_spirv_runtime_conf
Auto Trait Implementations§
impl Freeze for dxil_spirv_runtime_conf
impl RefUnwindSafe for dxil_spirv_runtime_conf
impl Send for dxil_spirv_runtime_conf
impl Sync for dxil_spirv_runtime_conf
impl Unpin for dxil_spirv_runtime_conf
impl UnwindSafe for dxil_spirv_runtime_conf
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