pub struct Options10Feature(/* private fields */);Expand description
Indicates whether or not the SUM combiner can be used, and whether or not SV_ShadingRate can be set from a mesh shader.
For more information: D3D12_FEATURE_DATA_D3D12_OPTIONS10 structure
Implementations§
Source§impl Options10Feature
impl Options10Feature
pub fn variable_rate_shading_sum_combiner_supported(&self) -> bool
pub fn mesh_shader_per_primitive_shading_rate_supported(&self) -> bool
Trait Implementations§
Source§impl Clone for Options10Feature
impl Clone for Options10Feature
Source§fn clone(&self) -> Options10Feature
fn clone(&self) -> Options10Feature
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 Options10Feature
impl Debug for Options10Feature
Source§impl Default for Options10Feature
impl Default for Options10Feature
Source§fn default() -> Options10Feature
fn default() -> Options10Feature
Returns the “default value” for a type. Read more
Source§impl FeatureObject for Options10Feature
impl FeatureObject for Options10Feature
const TYPE: FeatureType = FeatureType::Options10
Source§impl PartialEq for Options10Feature
impl PartialEq for Options10Feature
impl Copy for Options10Feature
impl StructuralPartialEq for Options10Feature
Auto Trait Implementations§
impl Freeze for Options10Feature
impl RefUnwindSafe for Options10Feature
impl Send for Options10Feature
impl Sync for Options10Feature
impl Unpin for Options10Feature
impl UnwindSafe for Options10Feature
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