ID2D1EffectContextVtbl

Struct ID2D1EffectContextVtbl 

Source
#[repr(C)]
pub struct ID2D1EffectContextVtbl {
Show 22 fields pub parent: IUnknownVtbl, pub GetDpi: unsafe extern "system" fn(This: *mut ID2D1EffectContext, dpiX: *mut FLOAT, dpiY: *mut FLOAT), pub CreateEffect: unsafe extern "system" fn(This: *mut ID2D1EffectContext, effectId: REFCLSID, effect: *mut *mut ID2D1Effect) -> HRESULT, pub GetMaximumSupportedFeatureLevel: unsafe extern "system" fn(This: *mut ID2D1EffectContext, featureLevels: *const D3D_FEATURE_LEVEL, featureLevelsCount: UINT32, maximumSupportedFeatureLevel: *mut D3D_FEATURE_LEVEL) -> HRESULT, pub CreateTransformNodeFromEffect: unsafe extern "system" fn(This: *mut ID2D1EffectContext, effect: *mut ID2D1Effect, transformNode: *mut *mut ID2D1TransformNode) -> HRESULT, pub CreateBlendTransform: unsafe extern "system" fn(This: *mut ID2D1EffectContext, numInputs: UINT32, blendDescription: D2D1_BLEND_DESCRIPTION, transform: *mut *mut ID2D1BlendTransform) -> HRESULT, pub CreateBorderTransform: unsafe extern "system" fn(This: *mut ID2D1EffectContext, extendModeX: D2D1_EXTEND_MODE, extendModeY: D2D1_EXTEND_MODE, transform: *mut *mut ID2D1BorderTransform) -> HRESULT, pub CreateOffsetTransform: unsafe extern "system" fn(This: *mut ID2D1EffectContext, offset: D2D_POINT_2L, transform: *mut *mut ID2D1OffsetTransform) -> HRESULT, pub CreateBoundsAdjustmentTransform: unsafe extern "system" fn(This: *mut ID2D1EffectContext, outputRectangle: *mut D2D_RECT_L, transform: ID2D1BoundsAdjustmentTransform) -> HRESULT, pub LoadPixelShader: unsafe extern "system" fn(This: *mut ID2D1EffectContext, shaderId: REFGUID, shaderBuffer: *const BYTE, shaderBufferCount: UINT32) -> HRESULT, pub LoadVertexShader: unsafe extern "system" fn(This: *mut ID2D1EffectContext, resourceId: REFGUID, shaderBuffer: *const BYTE, shaderBufferCount: UINT32) -> HRESULT, pub LoadComputeShader: unsafe extern "system" fn(This: *mut ID2D1EffectContext, resourceId: REFGUID, shaderBuffer: *const BYTE, shaderBufferCount: UINT32) -> HRESULT, pub IsShaderLoaded: unsafe extern "system" fn(This: *mut ID2D1EffectContext, shaderId: REFGUID) -> BOOL, pub CreateResourceTexture: unsafe extern "system" fn(This: *mut ID2D1EffectContext, resourceId: *const GUID, resourceTextureProperties: *const D2D1_RESOURCE_TEXTURE_PROPERTIES, data: *const BYTE, strides: *const UINT32, dataSize: UINT32, resourceTexture: *mut *mut ID2D1ResourceTexture) -> HRESULT, pub FindResourceTexture: unsafe extern "system" fn(This: *mut ID2D1EffectContext, resourceId: *const GUID, resourceTexture: *mut *mut ID2D1ResourceTexture) -> HRESULT, pub CreateVertexBuffer: unsafe extern "system" fn(This: *mut ID2D1EffectContext, vertexBufferProperties: *const D2D1_VERTEX_BUFFER_PROPERTIES, resourceId: *const GUID, customVertexBufferProperties: *const D2D1_CUSTOM_VERTEX_BUFFER_PROPERTIES, buffer: *mut *mut ID2D1VertexBuffer) -> HRESULT, pub FindVertexBuffer: unsafe extern "system" fn(This: *mut ID2D1EffectContext, resourceId: *const GUID, buffer: *mut *mut ID2D1VertexBuffer) -> HRESULT, pub CreateColorContext: unsafe extern "system" fn(This: *mut ID2D1EffectContext, space: D2D1_COLOR_SPACE, profile: *const BYTE, profileSize: UINT32, colorContext: *mut *mut ID2D1ColorContext) -> HRESULT, pub CreateColorContextFromFilename: unsafe extern "system" fn(This: *mut ID2D1EffectContext, filename: PCWSTR, colorContext: *mut *mut ID2D1ColorContext) -> HRESULT, pub CreateColorContextFromWicColorContext: unsafe extern "system" fn(This: *mut ID2D1EffectContext, wicColorContext: *mut IWICColorContext, colorContext: *mut *mut ID2D1ColorContext) -> HRESULT, pub CheckFeatureSupport: unsafe extern "system" fn(This: *mut ID2D1EffectContext, feature: D2D1_FEATURE, featureSupportData: *mut c_void, featureSupportDataSize: UINT32) -> HRESULT, pub IsBufferPrecisionSupported: unsafe extern "system" fn(This: *mut ID2D1EffectContext, bufferPrecision: D2D1_BUFFER_PRECISION) -> BOOL,
}

Fields§

§parent: IUnknownVtbl§GetDpi: unsafe extern "system" fn(This: *mut ID2D1EffectContext, dpiX: *mut FLOAT, dpiY: *mut FLOAT)§CreateEffect: unsafe extern "system" fn(This: *mut ID2D1EffectContext, effectId: REFCLSID, effect: *mut *mut ID2D1Effect) -> HRESULT§GetMaximumSupportedFeatureLevel: unsafe extern "system" fn(This: *mut ID2D1EffectContext, featureLevels: *const D3D_FEATURE_LEVEL, featureLevelsCount: UINT32, maximumSupportedFeatureLevel: *mut D3D_FEATURE_LEVEL) -> HRESULT§CreateTransformNodeFromEffect: unsafe extern "system" fn(This: *mut ID2D1EffectContext, effect: *mut ID2D1Effect, transformNode: *mut *mut ID2D1TransformNode) -> HRESULT§CreateBlendTransform: unsafe extern "system" fn(This: *mut ID2D1EffectContext, numInputs: UINT32, blendDescription: D2D1_BLEND_DESCRIPTION, transform: *mut *mut ID2D1BlendTransform) -> HRESULT§CreateBorderTransform: unsafe extern "system" fn(This: *mut ID2D1EffectContext, extendModeX: D2D1_EXTEND_MODE, extendModeY: D2D1_EXTEND_MODE, transform: *mut *mut ID2D1BorderTransform) -> HRESULT§CreateOffsetTransform: unsafe extern "system" fn(This: *mut ID2D1EffectContext, offset: D2D_POINT_2L, transform: *mut *mut ID2D1OffsetTransform) -> HRESULT§CreateBoundsAdjustmentTransform: unsafe extern "system" fn(This: *mut ID2D1EffectContext, outputRectangle: *mut D2D_RECT_L, transform: ID2D1BoundsAdjustmentTransform) -> HRESULT§LoadPixelShader: unsafe extern "system" fn(This: *mut ID2D1EffectContext, shaderId: REFGUID, shaderBuffer: *const BYTE, shaderBufferCount: UINT32) -> HRESULT§LoadVertexShader: unsafe extern "system" fn(This: *mut ID2D1EffectContext, resourceId: REFGUID, shaderBuffer: *const BYTE, shaderBufferCount: UINT32) -> HRESULT§LoadComputeShader: unsafe extern "system" fn(This: *mut ID2D1EffectContext, resourceId: REFGUID, shaderBuffer: *const BYTE, shaderBufferCount: UINT32) -> HRESULT§IsShaderLoaded: unsafe extern "system" fn(This: *mut ID2D1EffectContext, shaderId: REFGUID) -> BOOL§CreateResourceTexture: unsafe extern "system" fn(This: *mut ID2D1EffectContext, resourceId: *const GUID, resourceTextureProperties: *const D2D1_RESOURCE_TEXTURE_PROPERTIES, data: *const BYTE, strides: *const UINT32, dataSize: UINT32, resourceTexture: *mut *mut ID2D1ResourceTexture) -> HRESULT§FindResourceTexture: unsafe extern "system" fn(This: *mut ID2D1EffectContext, resourceId: *const GUID, resourceTexture: *mut *mut ID2D1ResourceTexture) -> HRESULT§CreateVertexBuffer: unsafe extern "system" fn(This: *mut ID2D1EffectContext, vertexBufferProperties: *const D2D1_VERTEX_BUFFER_PROPERTIES, resourceId: *const GUID, customVertexBufferProperties: *const D2D1_CUSTOM_VERTEX_BUFFER_PROPERTIES, buffer: *mut *mut ID2D1VertexBuffer) -> HRESULT§FindVertexBuffer: unsafe extern "system" fn(This: *mut ID2D1EffectContext, resourceId: *const GUID, buffer: *mut *mut ID2D1VertexBuffer) -> HRESULT§CreateColorContext: unsafe extern "system" fn(This: *mut ID2D1EffectContext, space: D2D1_COLOR_SPACE, profile: *const BYTE, profileSize: UINT32, colorContext: *mut *mut ID2D1ColorContext) -> HRESULT§CreateColorContextFromFilename: unsafe extern "system" fn(This: *mut ID2D1EffectContext, filename: PCWSTR, colorContext: *mut *mut ID2D1ColorContext) -> HRESULT§CreateColorContextFromWicColorContext: unsafe extern "system" fn(This: *mut ID2D1EffectContext, wicColorContext: *mut IWICColorContext, colorContext: *mut *mut ID2D1ColorContext) -> HRESULT§CheckFeatureSupport: unsafe extern "system" fn(This: *mut ID2D1EffectContext, feature: D2D1_FEATURE, featureSupportData: *mut c_void, featureSupportDataSize: UINT32) -> HRESULT§IsBufferPrecisionSupported: unsafe extern "system" fn(This: *mut ID2D1EffectContext, bufferPrecision: D2D1_BUFFER_PRECISION) -> 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>,

Source§

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>,

Source§

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.