Type Alias pD3DPreprocess

pub type pD3DPreprocess = Option<unsafe extern "system" fn(psrcdata: *const c_void, srcdatasize: usize, pfilename: PCSTR, pdefines: *const D3D_SHADER_MACRO, pinclude: Ref<'_, ID3DInclude>, ppcodetext: OutRef<'_, ID3DBlob>, pperrormsgs: OutRef<'_, ID3DBlob>) -> HRESULT>;

Aliased Type§

pub enum pD3DPreprocess {
    None,
    Some(unsafe extern "system" fn(*const c_void, usize, PCSTR, *const D3D_SHADER_MACRO, Ref<'_, ID3DInclude>, OutRef<'_, ID3DBlob>, OutRef<'_, ID3DBlob>) -> HRESULT),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "system" fn(*const c_void, usize, PCSTR, *const D3D_SHADER_MACRO, Ref<'_, ID3DInclude>, OutRef<'_, ID3DBlob>, OutRef<'_, ID3DBlob>) -> HRESULT)

Some value of type T.