Struct hassle_rs::ffi::IDxcCompiler2
source · #[repr(C)]pub struct IDxcCompiler2 { /* private fields */ }
Implementations§
source§impl IDxcCompiler2
impl IDxcCompiler2
pub unsafe fn compile_with_debug(
&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,
debug_blob_name: *mut LPWSTR,
debug_blob: *mut *mut IDxcBlob
) -> HRESULT
Methods from Deref<Target = 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.
Trait Implementations§
source§impl ComInterface for IDxcCompiler2
impl ComInterface for IDxcCompiler2
source§impl Debug for IDxcCompiler2
impl Debug for IDxcCompiler2
source§impl Deref for IDxcCompiler2
impl Deref for IDxcCompiler2
§type Target = IDxcCompiler
type Target = IDxcCompiler
The resulting type after dereferencing.
source§fn deref(&self) -> &IDxcCompiler
fn deref(&self) -> &IDxcCompiler
Dereferences the value.