Struct hassle_rs::wrapper::DxcCompiler
source · pub struct DxcCompiler { /* private fields */ }
Implementations§
source§impl DxcCompiler
impl DxcCompiler
pub fn compile( &self, blob: &DxcBlobEncoding, source_name: &str, entry_point: &str, target_profile: &str, args: &[&str], include_handler: Option<&mut dyn DxcIncludeHandler>, defines: &[(&str, Option<&str>)] ) -> Result<DxcOperationResult, (DxcOperationResult, HRESULT)>
pub fn compile_with_debug( &self, blob: &DxcBlobEncoding, source_name: &str, entry_point: &str, target_profile: &str, args: &[&str], include_handler: Option<&mut dyn DxcIncludeHandler>, defines: &[(&str, Option<&str>)] ) -> Result<(DxcOperationResult, String, DxcBlob), (DxcOperationResult, HRESULT)>
pub fn preprocess( &self, blob: &DxcBlobEncoding, source_name: &str, args: &[&str], include_handler: Option<&mut dyn DxcIncludeHandler>, defines: &[(&str, Option<&str>)] ) -> Result<DxcOperationResult, (DxcOperationResult, HRESULT)>
pub fn disassemble(&self, blob: &DxcBlob) -> Result<DxcBlobEncoding>
Auto Trait Implementations§
impl RefUnwindSafe for DxcCompiler
impl !Send for DxcCompiler
impl !Sync for DxcCompiler
impl Unpin for DxcCompiler
impl UnwindSafe for DxcCompiler
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