Struct hassle_rs::ffi::IDxcCompiler
source · #[repr(C)]pub struct IDxcCompiler { /* private fields */ }
Implementations§
source§impl IDxcCompiler
impl IDxcCompiler
pub unsafe fn compile(
&self,
blob: *const IDxcBlob,
source_name: LPCWSTR,
entry_point: LPCWSTR,
target_profile: LPCWSTR,
arguments: *const LPCWSTR,
arg_count: u32,
defines: *const DxcDefine,
def_count: u32,
include_handler: *const IDxcIncludeHandler,
result: *mut *mut IDxcOperationResult
) -> HRESULT
pub unsafe fn preprocess(
&self,
blob: *const IDxcBlob,
source_name: LPCWSTR,
arguments: *const LPCWSTR,
arg_count: u32,
defines: *const DxcDefine,
def_count: u32,
include_handler: *const IDxcIncludeHandler,
result: *mut *mut IDxcOperationResult
) -> HRESULT
pub unsafe fn disassemble(
&self,
blob: *const IDxcBlob,
disassembly: *mut *mut IDxcBlobEncoding
) -> HRESULT
Methods from Deref<Target = IUnknown>§
sourcepub unsafe fn query_interface(&self, iid: &IID, object: *mut *mut c_void) -> i32
pub unsafe fn query_interface(&self, iid: &IID, object: *mut *mut c_void) -> i32
Retrieves pointers to the supported interfaces on an object.
Use ComPtr::from
instead.