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 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