pub enum SpirvMetadata {
None,
NameVariables,
Full,
}
Variants§
None
Strip all names and other debug information from SPIR-V output.
NameVariables
Only include OpName
s for public interface variables (uniforms and the like), to allow
shader reflection.
Full
Include all OpName
s for everything, and OpLine
s. Significantly increases binary size.
Trait Implementations§
Source§impl Clone for SpirvMetadata
impl Clone for SpirvMetadata
Source§fn clone(&self) -> SpirvMetadata
fn clone(&self) -> SpirvMetadata
Returns a copy 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 SpirvMetadata
impl Debug for SpirvMetadata
Source§impl PartialEq for SpirvMetadata
impl PartialEq for SpirvMetadata
impl Copy for SpirvMetadata
impl Eq for SpirvMetadata
impl StructuralPartialEq for SpirvMetadata
Auto Trait Implementations§
impl Freeze for SpirvMetadata
impl RefUnwindSafe for SpirvMetadata
impl Send for SpirvMetadata
impl Sync for SpirvMetadata
impl Unpin for SpirvMetadata
impl UnwindSafe for SpirvMetadata
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