Struct windows::Win32::Graphics::Direct2D::ID2D1EffectContext_Vtbl

#[repr(C)]
pub struct ID2D1EffectContext_Vtbl {
Show 22 fields pub base__: IUnknown_Vtbl, pub GetDpi: unsafe extern "system" fn(_: *mut c_void, _: *mut f32, _: *mut f32), pub CreateEffect: unsafe extern "system" fn(_: *mut c_void, _: *const GUID, _: *mut *mut c_void) -> HRESULT, pub GetMaximumSupportedFeatureLevel: unsafe extern "system" fn(_: *mut c_void, _: *const D3D_FEATURE_LEVEL, _: u32, _: *mut D3D_FEATURE_LEVEL) -> HRESULT, pub CreateTransformNodeFromEffect: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: *mut *mut c_void) -> HRESULT, pub CreateBlendTransform: unsafe extern "system" fn(_: *mut c_void, _: u32, _: *const D2D1_BLEND_DESCRIPTION, _: *mut *mut c_void) -> HRESULT, pub CreateBorderTransform: unsafe extern "system" fn(_: *mut c_void, _: D2D1_EXTEND_MODE, _: D2D1_EXTEND_MODE, _: *mut *mut c_void) -> HRESULT, pub CreateOffsetTransform: unsafe extern "system" fn(_: *mut c_void, _: POINT, _: *mut *mut c_void) -> HRESULT, pub CreateBoundsAdjustmentTransform: unsafe extern "system" fn(_: *mut c_void, _: *const RECT, _: *mut *mut c_void) -> HRESULT, pub LoadPixelShader: unsafe extern "system" fn(_: *mut c_void, _: *const GUID, _: *const u8, _: u32) -> HRESULT, pub LoadVertexShader: unsafe extern "system" fn(_: *mut c_void, _: *const GUID, _: *const u8, _: u32) -> HRESULT, pub LoadComputeShader: unsafe extern "system" fn(_: *mut c_void, _: *const GUID, _: *const u8, _: u32) -> HRESULT, pub IsShaderLoaded: unsafe extern "system" fn(_: *mut c_void, _: *const GUID) -> BOOL, pub CreateResourceTexture: unsafe extern "system" fn(_: *mut c_void, _: *const GUID, _: *const D2D1_RESOURCE_TEXTURE_PROPERTIES, _: *const u8, _: *const u32, _: u32, _: *mut *mut c_void) -> HRESULT, pub FindResourceTexture: unsafe extern "system" fn(_: *mut c_void, _: *const GUID, _: *mut *mut c_void) -> HRESULT, pub CreateVertexBuffer: unsafe extern "system" fn(_: *mut c_void, _: *const D2D1_VERTEX_BUFFER_PROPERTIES, _: *const GUID, _: *const D2D1_CUSTOM_VERTEX_BUFFER_PROPERTIES, _: *mut *mut c_void) -> HRESULT, pub FindVertexBuffer: unsafe extern "system" fn(_: *mut c_void, _: *const GUID, _: *mut *mut c_void) -> HRESULT, pub CreateColorContext: unsafe extern "system" fn(_: *mut c_void, _: D2D1_COLOR_SPACE, _: *const u8, _: u32, _: *mut *mut c_void) -> HRESULT, pub CreateColorContextFromFilename: unsafe extern "system" fn(_: *mut c_void, _: PCWSTR, _: *mut *mut c_void) -> HRESULT, pub CreateColorContextFromWicColorContext: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: *mut *mut c_void) -> HRESULT, pub CheckFeatureSupport: unsafe extern "system" fn(_: *mut c_void, _: D2D1_FEATURE, _: *mut c_void, _: u32) -> HRESULT, pub IsBufferPrecisionSupported: unsafe extern "system" fn(_: *mut c_void, _: D2D1_BUFFER_PRECISION) -> BOOL,
}

Fields§

§base__: IUnknown_Vtbl§GetDpi: unsafe extern "system" fn(_: *mut c_void, _: *mut f32, _: *mut f32)§CreateEffect: unsafe extern "system" fn(_: *mut c_void, _: *const GUID, _: *mut *mut c_void) -> HRESULT§GetMaximumSupportedFeatureLevel: unsafe extern "system" fn(_: *mut c_void, _: *const D3D_FEATURE_LEVEL, _: u32, _: *mut D3D_FEATURE_LEVEL) -> HRESULT§CreateTransformNodeFromEffect: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: *mut *mut c_void) -> HRESULT§CreateBlendTransform: unsafe extern "system" fn(_: *mut c_void, _: u32, _: *const D2D1_BLEND_DESCRIPTION, _: *mut *mut c_void) -> HRESULT§CreateBorderTransform: unsafe extern "system" fn(_: *mut c_void, _: D2D1_EXTEND_MODE, _: D2D1_EXTEND_MODE, _: *mut *mut c_void) -> HRESULT§CreateOffsetTransform: unsafe extern "system" fn(_: *mut c_void, _: POINT, _: *mut *mut c_void) -> HRESULT§CreateBoundsAdjustmentTransform: unsafe extern "system" fn(_: *mut c_void, _: *const RECT, _: *mut *mut c_void) -> HRESULT§LoadPixelShader: unsafe extern "system" fn(_: *mut c_void, _: *const GUID, _: *const u8, _: u32) -> HRESULT§LoadVertexShader: unsafe extern "system" fn(_: *mut c_void, _: *const GUID, _: *const u8, _: u32) -> HRESULT§LoadComputeShader: unsafe extern "system" fn(_: *mut c_void, _: *const GUID, _: *const u8, _: u32) -> HRESULT§IsShaderLoaded: unsafe extern "system" fn(_: *mut c_void, _: *const GUID) -> BOOL§CreateResourceTexture: unsafe extern "system" fn(_: *mut c_void, _: *const GUID, _: *const D2D1_RESOURCE_TEXTURE_PROPERTIES, _: *const u8, _: *const u32, _: u32, _: *mut *mut c_void) -> HRESULT§FindResourceTexture: unsafe extern "system" fn(_: *mut c_void, _: *const GUID, _: *mut *mut c_void) -> HRESULT§CreateVertexBuffer: unsafe extern "system" fn(_: *mut c_void, _: *const D2D1_VERTEX_BUFFER_PROPERTIES, _: *const GUID, _: *const D2D1_CUSTOM_VERTEX_BUFFER_PROPERTIES, _: *mut *mut c_void) -> HRESULT§FindVertexBuffer: unsafe extern "system" fn(_: *mut c_void, _: *const GUID, _: *mut *mut c_void) -> HRESULT§CreateColorContext: unsafe extern "system" fn(_: *mut c_void, _: D2D1_COLOR_SPACE, _: *const u8, _: u32, _: *mut *mut c_void) -> HRESULT§CreateColorContextFromFilename: unsafe extern "system" fn(_: *mut c_void, _: PCWSTR, _: *mut *mut c_void) -> HRESULT§CreateColorContextFromWicColorContext: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: *mut *mut c_void) -> HRESULT§CheckFeatureSupport: unsafe extern "system" fn(_: *mut c_void, _: D2D1_FEATURE, _: *mut c_void, _: u32) -> HRESULT§IsBufferPrecisionSupported: unsafe extern "system" fn(_: *mut c_void, _: D2D1_BUFFER_PRECISION) -> BOOL

Implementations§

§

impl ID2D1EffectContext_Vtbl

pub const fn new<Identity, const OFFSET: isize>() -> ID2D1EffectContext_Vtbl
where Identity: ID2D1EffectContext_Impl + IUnknownImpl,

pub fn matches(iid: &GUID) -> bool

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.