Struct mltg_bindings::Windows::Win32::Graphics::Direct2D::ID2D1EffectContext2 [−][src]
#[repr(transparent)]pub struct ID2D1EffectContext2(_);
Implementations
pub unsafe fn GetMaximumSupportedFeatureLevel(
&self,
featurelevels: *const D3D_FEATURE_LEVEL,
featurelevelscount: u32
) -> Result<D3D_FEATURE_LEVEL>
pub unsafe fn CreateTransformNodeFromEffect<'a>(
&self,
effect: impl IntoParam<'a, ID2D1Effect>
) -> Result<ID2D1TransformNode>
pub unsafe fn CreateBlendTransform(
&self,
numinputs: u32,
blenddescription: *const D2D1_BLEND_DESCRIPTION
) -> Result<ID2D1BlendTransform>
pub unsafe fn CreateBorderTransform(
&self,
extendmodex: D2D1_EXTEND_MODE,
extendmodey: D2D1_EXTEND_MODE
) -> Result<ID2D1BorderTransform>
pub unsafe fn CreateOffsetTransform<'a>(
&self,
offset: impl IntoParam<'a, POINT>
) -> Result<ID2D1OffsetTransform>
pub unsafe fn CreateBoundsAdjustmentTransform(
&self,
outputrectangle: *const RECT
) -> Result<ID2D1BoundsAdjustmentTransform>
pub unsafe fn LoadPixelShader(
&self,
shaderid: *const Guid,
shaderbuffer: *const u8,
shaderbuffercount: u32
) -> Result<()>
pub unsafe fn LoadVertexShader(
&self,
resourceid: *const Guid,
shaderbuffer: *const u8,
shaderbuffercount: u32
) -> Result<()>
pub unsafe fn LoadComputeShader(
&self,
resourceid: *const Guid,
shaderbuffer: *const u8,
shaderbuffercount: u32
) -> Result<()>
pub unsafe fn CreateResourceTexture(
&self,
resourceid: *const Guid,
resourcetextureproperties: *const D2D1_RESOURCE_TEXTURE_PROPERTIES,
data: *const u8,
strides: *const u32,
datasize: u32
) -> Result<ID2D1ResourceTexture>
pub unsafe fn FindResourceTexture(
&self,
resourceid: *const Guid
) -> Result<ID2D1ResourceTexture>
pub unsafe fn CreateVertexBuffer(
&self,
vertexbufferproperties: *const D2D1_VERTEX_BUFFER_PROPERTIES,
resourceid: *const Guid,
customvertexbufferproperties: *const D2D1_CUSTOM_VERTEX_BUFFER_PROPERTIES
) -> Result<ID2D1VertexBuffer>
pub unsafe fn CreateColorContext(
&self,
space: D2D1_COLOR_SPACE,
profile: *const u8,
profilesize: u32
) -> Result<ID2D1ColorContext>
pub unsafe fn CreateColorContextFromFilename<'a>(
&self,
filename: impl IntoParam<'a, PWSTR>
) -> Result<ID2D1ColorContext>
pub unsafe fn CreateColorContextFromWicColorContext<'a>(
&self,
wiccolorcontext: impl IntoParam<'a, IWICColorContext>
) -> Result<ID2D1ColorContext>
pub unsafe fn CheckFeatureSupport(
&self,
feature: D2D1_FEATURE,
featuresupportdata: *mut c_void,
featuresupportdatasize: u32
) -> Result<()>
pub unsafe fn IsBufferPrecisionSupported(
&self,
bufferprecision: D2D1_BUFFER_PRECISION
) -> BOOL
pub unsafe fn CreateLookupTable3D(
&self,
precision: D2D1_BUFFER_PRECISION,
extents: *const u32,
data: *const u8,
datacount: u32,
strides: *const u32
) -> Result<ID2D1LookupTable3D>
pub unsafe fn CreateColorContextFromDxgiColorSpace(
&self,
colorspace: DXGI_COLOR_SPACE_TYPE
) -> Result<ID2D1ColorContext1>
pub unsafe fn CreateColorContextFromSimpleColorProfile(
&self,
simpleprofile: *const D2D1_SIMPLE_COLOR_PROFILE
) -> Result<ID2D1ColorContext1>
Trait Implementations
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
type Vtable = ID2D1EffectContext2_abi
Returns the vtable for an assumed interface. The name comes from Box::assume_init()
as
it assumes the vtable is implemented by the current interface’s vtable (e.g. a parent interface). Read more
Attempts to cast the current interface to another interface using QueryInterface
.
The name cast
is preferred to query
because there is a WinRT method named query but not one
named cast. Read more
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for ID2D1EffectContext2
impl !Send for ID2D1EffectContext2
impl !Sync for ID2D1EffectContext2
impl Unpin for ID2D1EffectContext2
impl UnwindSafe for ID2D1EffectContext2
Blanket Implementations
Returns a pointer for setting the object’s value via an ABI call.
Casts the ABI representation to a Rust object by taking ownership of the bits.
Mutably borrows from an owned value. Read more