Struct thindx::d3d::CompilerStripFlags
source · [−]#[repr(transparent)]pub struct CompilerStripFlags(_);Expand description
[docs.microsoft.com] DWORD / D3DCOMPILER_STRIP_FLAGS / D3DCOMPILER_STRIP_*
Flags controlling what data is stripped by d3d::Compiler::strip_shader
Implementations
sourceimpl CompilerStrip
impl CompilerStrip
sourcepub const fn from_unchecked(d3d: D3DCOMPILER_STRIP_FLAGS) -> Self
pub const fn from_unchecked(d3d: D3DCOMPILER_STRIP_FLAGS) -> Self
Convert from an underlying [winapi] D3D... type.
This is probably safe… probably…
sourcepub const fn into_inner(self) -> D3DCOMPILER_STRIP_FLAGS
pub const fn into_inner(self) -> D3DCOMPILER_STRIP_FLAGS
Convert back into an underlying [winapi] D3D... type.
sourceimpl CompilerStrip
impl CompilerStrip
sourcepub const None: CompilerStrip = CompilerStrip(0)
pub const None: CompilerStrip = CompilerStrip(0)
Strip nothing
sourcepub const ReflectionData: CompilerStrip = CompilerStrip(D3DCOMPILER_STRIP_REFLECTION_DATA)
pub const ReflectionData: CompilerStrip = CompilerStrip(D3DCOMPILER_STRIP_REFLECTION_DATA)
Strip reflection data (presumably disables d3d::Compiler::reflect11 and friends?)
sourcepub const DebugInfo: CompilerStrip = CompilerStrip(D3DCOMPILER_STRIP_DEBUG_INFO)
pub const DebugInfo: CompilerStrip = CompilerStrip(D3DCOMPILER_STRIP_DEBUG_INFO)
Strip debug information (file/line/name info? d3d::Blob::DebugInfo? Possibly d3d::Blob::Pdb sections as well?)
sourcepub const TestBlobs: CompilerStrip = CompilerStrip(D3DCOMPILER_STRIP_TEST_BLOBS)
pub const TestBlobs: CompilerStrip = CompilerStrip(D3DCOMPILER_STRIP_TEST_BLOBS)
Strip test blobs (e.g. Blob::Test*)
sourcepub const PrivateData: CompilerStrip = CompilerStrip(D3DCOMPILER_STRIP_PRIVATE_DATA)
pub const PrivateData: CompilerStrip = CompilerStrip(D3DCOMPILER_STRIP_PRIVATE_DATA)
Strip d3d::Blob::PrivateData sections
sourcepub const RootSignature: CompilerStrip = CompilerStrip(D3DCOMPILER_STRIP_ROOT_SIGNATURE)
pub const RootSignature: CompilerStrip = CompilerStrip(D3DCOMPILER_STRIP_ROOT_SIGNATURE)
Strip the root signature (d3d::Blob::RootSignature). Refer to Specifying Root Signatures in HLSL for more information on using Direct3D12 with HLSL.
Trait Implementations
sourceimpl BitOr<CompilerStripFlags> for CompilerStrip
impl BitOr<CompilerStripFlags> for CompilerStrip
type Output = CompilerStripFlags
type Output = CompilerStripFlags
The resulting type after applying the | operator.
sourceimpl BitOrAssign<CompilerStripFlags> for CompilerStrip
impl BitOrAssign<CompilerStripFlags> for CompilerStrip
sourcefn bitor_assign(&mut self, other: Self)
fn bitor_assign(&mut self, other: Self)
Performs the |= operation. Read more
sourceimpl Clone for CompilerStripFlags
impl Clone for CompilerStripFlags
sourcefn clone(&self) -> CompilerStripFlags
fn clone(&self) -> CompilerStripFlags
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
sourceimpl Debug for CompilerStrip
impl Debug for CompilerStrip
sourceimpl Default for CompilerStrip
impl Default for CompilerStrip
sourceimpl From<CompilerStripFlags> for D3DCOMPILER_STRIP_FLAGS
impl From<CompilerStripFlags> for D3DCOMPILER_STRIP_FLAGS
sourcefn from(value: CompilerStrip) -> Self
fn from(value: CompilerStrip) -> Self
Converts to this type from the input type.
sourceimpl Hash for CompilerStripFlags
impl Hash for CompilerStripFlags
sourceimpl Ord for CompilerStripFlags
impl Ord for CompilerStripFlags
sourceimpl PartialEq<CompilerStripFlags> for CompilerStripFlags
impl PartialEq<CompilerStripFlags> for CompilerStripFlags
sourcefn eq(&self, other: &CompilerStripFlags) -> bool
fn eq(&self, other: &CompilerStripFlags) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &CompilerStripFlags) -> bool
fn ne(&self, other: &CompilerStripFlags) -> bool
This method tests for !=.
sourceimpl PartialOrd<CompilerStripFlags> for CompilerStripFlags
impl PartialOrd<CompilerStripFlags> for CompilerStripFlags
sourcefn partial_cmp(&self, other: &CompilerStripFlags) -> Option<Ordering>
fn partial_cmp(&self, other: &CompilerStripFlags) -> Option<Ordering>
This method returns an ordering between self and other values if one exists. Read more
1.0.0 · sourcefn lt(&self, other: &Rhs) -> bool
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for self and other) and is used by the <=
operator. Read more
sourceimpl Zeroable for CompilerStripFlags
impl Zeroable for CompilerStripFlags
impl Copy for CompilerStripFlags
impl Eq for CompilerStripFlags
impl Pod for CompilerStripFlags
impl StructuralEq for CompilerStripFlags
impl StructuralPartialEq for CompilerStripFlags
Auto Trait Implementations
impl RefUnwindSafe for CompilerStripFlags
impl Send for CompilerStripFlags
impl Sync for CompilerStripFlags
impl Unpin for CompilerStripFlags
impl UnwindSafe for CompilerStripFlags
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more