RetroArch/gfx/include/dxsdk/d2d1effectauthor_1.h
2019-02-03 16:00:50 -08:00

93 lines
2.9 KiB
C

//---------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
//
// This file is automatically generated. Please do not edit it directly.
//
// File name: D2D1EffectAuthor_1.h
//---------------------------------------------------------------------------
#ifdef _MSC_VER
#pragma once
#endif // #ifdef _MSC_VER
#ifndef _D2D1_EFFECT_AUTHOR_1_H_
#define _D2D1_EFFECT_AUTHOR_1_H_
#ifndef _D2D1_3_H_
#include <d2d1_3.h>
#endif // #ifndef _D2D1_3_H_
#ifndef _D2D1_EFFECT_AUTHOR_H_
#include <d2d1effectauthor.h>
#endif // #ifndef _D2D1_EFFECT_AUTHOR_H_
EXTERN_C CONST IID IID_ID2D1EffectContext1;
EXTERN_C CONST IID IID_ID2D1EffectContext2;
#ifndef D2D_USE_C_DEFINITIONS
/// <summary>
/// The internal context handed to effect authors to create transforms from effects
/// and any other operation tied to context which is not useful to the application
/// facing API.
/// </summary>
interface DX_DECLARE_INTERFACE("84ab595a-fc81-4546-bacd-e8ef4d8abe7a") ID2D1EffectContext1 : public ID2D1EffectContext
{
/// <summary>
/// Creates a 3D lookup table for mapping a 3-channel input to a 3-channel output.
/// The table data must be provided in 4-channel format.
/// </summary>
STDMETHOD(CreateLookupTable3D)(
D2D1_BUFFER_PRECISION precision,
_In_reads_(3) CONST UINT32 *extents,
_In_reads_(dataCount) CONST BYTE *data,
UINT32 dataCount,
_In_reads_(2) CONST UINT32 *strides,
_COM_Outptr_ ID2D1LookupTable3D **lookupTable
) PURE;
}; // interface ID2D1EffectContext1
#if NTDDI_VERSION >= NTDDI_WIN10_RS2
/// <summary>
/// The internal context handed to effect authors to create transforms from effects
/// and any other operation tied to context which is not useful to the application
/// facing API.
/// </summary>
interface DX_DECLARE_INTERFACE("577ad2a0-9fc7-4dda-8b18-dab810140052") ID2D1EffectContext2 : public ID2D1EffectContext1
{
/// <summary>
/// Creates a color context from a DXGI color space type. It is only valid to use
/// this with the Color Management Effect in 'Best' mode.
/// </summary>
STDMETHOD(CreateColorContextFromDxgiColorSpace)(
DXGI_COLOR_SPACE_TYPE colorSpace,
_COM_Outptr_ ID2D1ColorContext1 **colorContext
) PURE;
/// <summary>
/// Creates a color context from a simple color profile. It is only valid to use
/// this with the Color Management Effect in 'Best' mode.
/// </summary>
STDMETHOD(CreateColorContextFromSimpleColorProfile)(
_In_ CONST D2D1_SIMPLE_COLOR_PROFILE *simpleProfile,
_COM_Outptr_ ID2D1ColorContext1 **colorContext
) PURE;
}; // interface ID2D1EffectContext2
#endif
#endif
#ifdef D2D_USE_C_DEFINITIONS
typedef interface ID2D1EffectContext1 ID2D1EffectContext1;
#if NTDDI_VERSION >= NTDDI_WIN10_RS2
typedef interface ID2D1EffectContext2 ID2D1EffectContext2;
#endif
#endif
#endif // #ifndef _D2D1_EFFECT_AUTHOR_1_H_