pub struct Dxc { /* private fields */ }Implementations§
Source§impl Dxc
impl Dxc
pub const DXC_VERSION_MAJOR: u32 = 1u32
pub const DXC_VERSION_MINOR: u32 = 8u32
pub const DXC_VERSION_RELEASE: u32 = 2_405u32
pub const DXC_VERSION_COMMIT: u32 = 0u32
pub const DXC_SPIRV_VERSION_MAJOR: u32 = 1u32
pub const DXC_SPIRV_VERSION_MINOR: u32 = 6u32
pub fn find_dxc_library() -> Option<PathBuf>
pub fn new(library_path: Option<PathBuf>) -> Result<Self, HassleError>
pub fn is_dxil_validation_available(&self) -> bool
Trait Implementations§
Source§impl ValidatorImpl for Dxc
impl ValidatorImpl for Dxc
fn validate_shader( &self, shader_source: &str, file_path: &Path, params: &ShaderParams, include_callback: &mut dyn FnMut(&Path) -> Option<String>, ) -> Result<ShaderDiagnosticList, ShaderError>
fn support(&self, _shader_stage: ShaderStage) -> bool
fn get_file_name(&self, path: &Path) -> String
Auto Trait Implementations§
impl Freeze for Dxc
impl RefUnwindSafe for Dxc
impl !Send for Dxc
impl !Sync for Dxc
impl Unpin for Dxc
impl UnwindSafe for Dxc
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