FeatureDataOptions

Struct FeatureDataOptions 

Source
pub struct FeatureDataOptions(/* private fields */);
Expand description

Wrapper around D3D12_FEATURE_DATA_D3D12_OPTIONS structure

Implementations§

Source§

impl FeatureDataOptions

Source

pub fn set_double_precision_float_shader_ops( &mut self, double_precision_float_shader_ops: bool, ) -> &mut Self

Source

pub fn with_double_precision_float_shader_ops( self, double_precision_float_shader_ops: bool, ) -> Self

Source

pub fn double_precision_float_shader_ops(&self) -> bool

Source

pub fn set_output_merger_logic_op( &mut self, output_merger_logic_op: bool, ) -> &mut Self

Source

pub fn with_output_merger_logic_op(self, output_merger_logic_op: bool) -> Self

Source

pub fn output_merger_logic_op(&self) -> bool

Source

pub fn set_min_precision_support( &mut self, min_precision_support: ShaderMinPrecisionSupport, ) -> &mut Self

Source

pub fn with_min_precision_support( self, min_precision_support: ShaderMinPrecisionSupport, ) -> Self

Source

pub fn min_precision_support(&self) -> ShaderMinPrecisionSupport

Source

pub fn set_tiled_resources_tier( &mut self, tiled_resources_tier: TiledResourcesTier, ) -> &mut Self

Source

pub fn with_tiled_resources_tier( self, tiled_resources_tier: TiledResourcesTier, ) -> Self

Source

pub fn tiled_resources_tier(&self) -> TiledResourcesTier

Source

pub fn set_resource_binding_tier( &mut self, resource_binding_tier: ResourceBindingTier, ) -> &mut Self

Source

pub fn with_resource_binding_tier( self, resource_binding_tier: ResourceBindingTier, ) -> Self

Source

pub fn resource_binding_tier(&self) -> ResourceBindingTier

Source

pub fn set_ps_specified_stencil_ref_supported( &mut self, ps_specified_stencil_ref_supported: bool, ) -> &mut Self

Source

pub fn with_ps_specified_stencil_ref_supported( self, ps_specified_stencil_ref_supported: bool, ) -> Self

Source

pub fn ps_specified_stencil_ref_supported(&self) -> bool

Source

pub fn set_typed_uav_load_additional_formats( &mut self, typed_uav_load_additional_formats: bool, ) -> &mut Self

Source

pub fn with_typed_uav_load_additional_formats( self, typed_uav_load_additional_formats: bool, ) -> Self

Source

pub fn typed_uav_load_additional_formats(&self) -> bool

Source

pub fn set_rovs_supported(&mut self, rovs_supported: bool) -> &mut Self

Source

pub fn with_rovs_supported(self, rovs_supported: bool) -> Self

Source

pub fn rovs_supported(&self) -> bool

Source

pub fn set_conservative_rasterization_tier( &mut self, conservative_rasterization_tier: ConservativeRasterizationTier, ) -> &mut Self

Source

pub fn with_conservative_rasterization_tier( self, conservative_rasterization_tier: ConservativeRasterizationTier, ) -> Self

Source

pub fn conservative_rasterization_tier(&self) -> ConservativeRasterizationTier

Source

pub fn set_max_gpu_virtual_address_bits_per_resource( &mut self, max_gpu_virtual_address_bits_per_resource: u32, ) -> &mut Self

Source

pub fn with_max_gpu_virtual_address_bits_per_resource( self, max_gpu_virtual_address_bits_per_resource: u32, ) -> Self

Source

pub fn max_gpu_virtual_address_bits_per_resource(&self) -> u32

Source

pub fn set_standard_swizzle_64_kb_supported( &mut self, standard_swizzle_64_kb_supported: bool, ) -> &mut Self

Source

pub fn with_standard_swizzle_64_kb_supported( self, standard_swizzle_64_kb_supported: bool, ) -> Self

Source

pub fn standard_swizzle_64_kb_supported(&self) -> bool

Source

pub fn set_cross_node_sharing_tier( &mut self, cross_node_sharing_tier: CrossNodeSharingTier, ) -> &mut Self

Source

pub fn with_cross_node_sharing_tier( self, cross_node_sharing_tier: CrossNodeSharingTier, ) -> Self

Source

pub fn cross_node_sharing_tier(&self) -> CrossNodeSharingTier

Source

pub fn set_cross_adapter_row_major_texture_supported( &mut self, cross_adapter_row_major_texture_supported: bool, ) -> &mut Self

Source

pub fn with_cross_adapter_row_major_texture_supported( self, cross_adapter_row_major_texture_supported: bool, ) -> Self

Source

pub fn cross_adapter_row_major_texture_supported(&self) -> bool

Source

pub fn set_vp_and_rt_array_index_from_any_shader_feeding_rasterizer_supported_without_gs_emulation( &mut self, vp_and_rt_array_index_from_any_shader_feeding_rasterizer_supported_without_gs_emulation: bool, ) -> &mut Self

Source

pub fn with_vp_and_rt_array_index_from_any_shader_feeding_rasterizer_supported_without_gs_emulation( self, vp_and_rt_array_index_from_any_shader_feeding_rasterizer_supported_without_gs_emulation: bool, ) -> Self

Source

pub fn vp_and_rt_array_index_from_any_shader_feeding_rasterizer_supported_without_gs_emulation( &self, ) -> bool

Source

pub fn set_resource_heap_tier( &mut self, resource_heap_tier: ResourceHeapTier, ) -> &mut Self

Source

pub fn with_resource_heap_tier( self, resource_heap_tier: ResourceHeapTier, ) -> Self

Source

pub fn resource_heap_tier(&self) -> ResourceHeapTier

Trait Implementations§

Source§

impl Clone for FeatureDataOptions

Source§

fn clone(&self) -> FeatureDataOptions

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for FeatureDataOptions

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Default for FeatureDataOptions

Source§

fn default() -> FeatureDataOptions

Returns the “default value” for a type. Read more
Source§

impl Hash for FeatureDataOptions

Source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · Source§

fn hash_slice<H>(data: &[Self], state: &mut H)
where H: Hasher, Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
Source§

impl Ord for FeatureDataOptions

Source§

fn cmp(&self, other: &FeatureDataOptions) -> Ordering

This method returns an Ordering between self and other. Read more
1.21.0 · Source§

fn max(self, other: Self) -> Self
where Self: Sized,

Compares and returns the maximum of two values. Read more
1.21.0 · Source§

fn min(self, other: Self) -> Self
where Self: Sized,

Compares and returns the minimum of two values. Read more
1.50.0 · Source§

fn clamp(self, min: Self, max: Self) -> Self
where Self: Sized,

Restrict a value to a certain interval. Read more
Source§

impl PartialEq for FeatureDataOptions

Source§

fn eq(&self, other: &FeatureDataOptions) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl PartialOrd for FeatureDataOptions

Source§

fn partial_cmp(&self, other: &FeatureDataOptions) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · Source§

fn lt(&self, other: &Rhs) -> bool

Tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · Source§

fn le(&self, other: &Rhs) -> bool

Tests less than or equal to (for self and other) and is used by the <= operator. Read more
1.0.0 · Source§

fn gt(&self, other: &Rhs) -> bool

Tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 · Source§

fn ge(&self, other: &Rhs) -> bool

Tests greater than or equal to (for self and other) and is used by the >= operator. Read more
Source§

impl Copy for FeatureDataOptions

Source§

impl Eq for FeatureDataOptions

Source§

impl StructuralPartialEq for FeatureDataOptions

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.