[][src]Struct winapi::um::d2d1effectauthor::ID2D1EffectContext

#[repr(C)]pub struct ID2D1EffectContext {
    pub lpVtbl: *const ID2D1EffectContextVtbl,
}

Fields

lpVtbl: *const ID2D1EffectContextVtbl

Implementations

impl ID2D1EffectContext[src]

pub unsafe fn GetDpi(&self, dpiX: *mut FLOAT, dpiY: *mut FLOAT)[src]

pub unsafe fn CreateEffect(
    &self,
    effectId: REFCLSID,
    effect: *mut *mut ID2D1Effect
) -> HRESULT
[src]

pub unsafe fn GetMaximumSupportedFeatureLevel(
    &self,
    featureLevels: *const D3D_FEATURE_LEVEL,
    featureLevelsCount: UINT32,
    maximumSupportedFeatureLevel: *mut D3D_FEATURE_LEVEL
) -> HRESULT
[src]

pub unsafe fn CreateTransformNodeFromEffect(
    &self,
    effect: *mut ID2D1Effect,
    transformNode: *mut *mut ID2D1TransformNode
) -> HRESULT
[src]

pub unsafe fn CreateBlendTransform(
    &self,
    numInputs: UINT32,
    blendDescription: D2D1_BLEND_DESCRIPTION,
    transform: *mut *mut ID2D1BlendTransform
) -> HRESULT
[src]

pub unsafe fn CreateBorderTransform(
    &self,
    extendModeX: D2D1_EXTEND_MODE,
    extendModeY: D2D1_EXTEND_MODE,
    transform: *mut *mut ID2D1BorderTransform
) -> HRESULT
[src]

pub unsafe fn CreateOffsetTransform(
    &self,
    offset: D2D_POINT_2L,
    transform: *mut *mut ID2D1OffsetTransform
) -> HRESULT
[src]

pub unsafe fn CreateBoundsAdjustmentTransform(
    &self,
    outputRectangle: *mut D2D_RECT_L,
    transform: ID2D1BoundsAdjustmentTransform
) -> HRESULT
[src]

pub unsafe fn LoadPixelShader(
    &self,
    shaderId: REFGUID,
    shaderBuffer: *const BYTE,
    shaderBufferCount: UINT32
) -> HRESULT
[src]

pub unsafe fn LoadVertexShader(
    &self,
    resourceId: REFGUID,
    shaderBuffer: *const BYTE,
    shaderBufferCount: UINT32
) -> HRESULT
[src]

pub unsafe fn LoadComputeShader(
    &self,
    resourceId: REFGUID,
    shaderBuffer: *const BYTE,
    shaderBufferCount: UINT32
) -> HRESULT
[src]

pub unsafe fn IsShaderLoaded(&self, shaderId: REFGUID) -> BOOL[src]

pub unsafe fn CreateResourceTexture(
    &self,
    resourceId: *const GUID,
    resourceTextureProperties: *const D2D1_RESOURCE_TEXTURE_PROPERTIES,
    data: *const BYTE,
    strides: *const UINT32,
    dataSize: UINT32,
    resourceTexture: *mut *mut ID2D1ResourceTexture
) -> HRESULT
[src]

pub unsafe fn FindResourceTexture(
    &self,
    resourceId: *const GUID,
    resourceTexture: *mut *mut ID2D1ResourceTexture
) -> HRESULT
[src]

pub unsafe fn CreateVertexBuffer(
    &self,
    vertexBufferProperties: *const D2D1_VERTEX_BUFFER_PROPERTIES,
    resourceId: *const GUID,
    customVertexBufferProperties: *const D2D1_CUSTOM_VERTEX_BUFFER_PROPERTIES,
    buffer: *mut *mut ID2D1VertexBuffer
) -> HRESULT
[src]

pub unsafe fn FindVertexBuffer(
    &self,
    resourceId: *const GUID,
    buffer: *mut *mut ID2D1VertexBuffer
) -> HRESULT
[src]

pub unsafe fn CreateColorContext(
    &self,
    space: D2D1_COLOR_SPACE,
    profile: *const BYTE,
    profileSize: UINT32,
    colorContext: *mut *mut ID2D1ColorContext
) -> HRESULT
[src]

pub unsafe fn CreateColorContextFromFilename(
    &self,
    filename: PCWSTR,
    colorContext: *mut *mut ID2D1ColorContext
) -> HRESULT
[src]

pub unsafe fn CreateColorContextFromWicColorContext(
    &self,
    wicColorContext: *mut IWICColorContext,
    colorContext: *mut *mut ID2D1ColorContext
) -> HRESULT
[src]

pub unsafe fn CheckFeatureSupport(
    &self,
    feature: D2D1_FEATURE,
    featureSupportData: *mut c_void,
    featureSupportDataSize: UINT32
) -> HRESULT
[src]

pub unsafe fn IsBufferPrecisionSupported(
    &self,
    bufferPrecision: D2D1_BUFFER_PRECISION
) -> BOOL
[src]

Methods from Deref<Target = IUnknown>

pub unsafe fn QueryInterface(
    &self,
    riid: REFIID,
    ppvObject: *mut *mut c_void
) -> HRESULT
[src]

pub unsafe fn AddRef(&self) -> ULONG[src]

pub unsafe fn Release(&self) -> ULONG[src]

Trait Implementations

impl Deref for ID2D1EffectContext[src]

type Target = IUnknown

The resulting type after dereferencing.

impl Interface for ID2D1EffectContext[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

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

The type returned in the event of a conversion error.