#[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§
impl Freeze for ID2D1EffectContextVtbl
impl RefUnwindSafe for ID2D1EffectContextVtbl
impl Send for ID2D1EffectContextVtbl
impl Sync for ID2D1EffectContextVtbl
impl Unpin for ID2D1EffectContextVtbl
impl UnwindSafe for ID2D1EffectContextVtbl
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more