pub struct Options {
pub adjust_coordinate_space: bool,
pub strict_capabilities: bool,
pub block_ctx_dump_prefix: Option<PathBuf>,
}
Fields§
§adjust_coordinate_space: bool
The IR coordinate space matches all the APIs except SPIR-V,
so by default we flip the Y coordinate of the BuiltIn::Position
.
This flag can be used to avoid this.
strict_capabilities: bool
Only allow shaders with the known set of capabilities.
block_ctx_dump_prefix: Option<PathBuf>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Options
impl RefUnwindSafe for Options
impl Send for Options
impl Sync for Options
impl Unpin for Options
impl UnwindSafe for Options
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)