1 module aurora.directx.d2d1.d2d1effects_2; 2 3 version(Windows): 4 5 public import aurora.directx.d2d1.d2d1effects_1; 6 7 public: 8 9 const IID CLSID_D2D1Contrast = {0xb648a78a, 0x0ed5, 0x4f80, [0xa9, 0x4a, 0x8e, 0x82, 0x5a, 0xca, 0x6b, 0x77]}; 10 const IID CLSID_D2D1RgbToHue = {0x23f3e5ec, 0x91e8, 0x4d3d, [0xad, 0x0a, 0xaf, 0xad, 0xc1, 0x00, 0x4a, 0xa1]}; 11 const IID CLSID_D2D1HueToRgb = {0x7b78a6bd, 0x0141, 0x4def, [0x8a, 0x52, 0x63, 0x56, 0xee, 0x0c, 0xbd, 0xd5]}; 12 const IID CLSID_D2D1ChromaKey = {0x74C01F5B, 0x2A0D, 0x408C, [0x88, 0xE2, 0xC7, 0xA3, 0xC7, 0x19, 0x77, 0x42]}; 13 const IID CLSID_D2D1Emboss = {0xb1c5eb2b, 0x0348, 0x43f0, [0x81, 0x07, 0x49, 0x57, 0xca, 0xcb, 0xa2, 0xae]}; 14 const IID CLSID_D2D1Exposure = {0xb56c8cfa, 0xf634, 0x41ee, [0xbe, 0xe0, 0xff, 0xa6, 0x17, 0x10, 0x60, 0x04]}; 15 const IID CLSID_D2D1Grayscale = {0x36DDE0EB, 0x3725, 0x42E0, [0x83, 0x6D, 0x52, 0xFB, 0x20, 0xAE, 0xE6, 0x44]}; 16 const IID CLSID_D2D1Invert = {0xe0c3784d, 0xcb39, 0x4e84, [0xb6, 0xfd, 0x6b, 0x72, 0xf0, 0x81, 0x02, 0x63]}; 17 const IID CLSID_D2D1Posterize = {0x2188945e, 0x33a3, 0x4366, [0xb7, 0xbc, 0x08, 0x6b, 0xd0, 0x2d, 0x08, 0x84]}; 18 const IID CLSID_D2D1Sepia = {0x3a1af410, 0x5f1d, 0x4dbe, [0x84, 0xdf, 0x91, 0x5d, 0xa7, 0x9b, 0x71, 0x53]}; 19 const IID CLSID_D2D1Sharpen = {0xC9B887CB, 0xC5FF, 0x4DC5, [0x97, 0x79, 0x27, 0x3D, 0xCF, 0x41, 0x7C, 0x7D]}; 20 const IID CLSID_D2D1Straighten = {0x4da47b12, 0x79a3, 0x4fb0, [0x82, 0x37, 0xbb, 0xc3, 0xb2, 0xa4, 0xde, 0x08]}; 21 const IID CLSID_D2D1TemperatureTint = {0x89176087, 0x8AF9, 0x4A08, [0xAE, 0xB1, 0x89, 0x5F, 0x38, 0xDB, 0x17, 0x66]}; 22 const IID CLSID_D2D1Vignette = {0xc00c40be, 0x5e67, 0x4ca3, [0x95, 0xb4, 0xf4, 0xb0, 0x2c, 0x11, 0x51, 0x35]}; 23 const IID CLSID_D2D1EdgeDetection = {0xEFF583CA, 0xCB07, 0x4AA9, [0xAC, 0x5D, 0x2C, 0xC4, 0x4C, 0x76, 0x46, 0x0F]}; 24 const IID CLSID_D2D1HighlightsShadows = {0xCADC8384, 0x323F, 0x4C7E, [0xA3, 0x61, 0x2E, 0x2B, 0x24, 0xDF, 0x6E, 0xE4]}; 25 const IID CLSID_D2D1LookupTable3D = {0x349E0EDA, 0x0088, 0x4A79, [0x9C, 0xA3, 0xC7, 0xE3, 0x00, 0x20, 0x20, 0x20]}; 26 const IID CLSID_D2D1Opacity = {0x811d79a4, 0xde28, 0x4454, [0x80, 0x94, 0xc6, 0x46, 0x85, 0xf8, 0xbd, 0x4c]}; 27 const IID CLSID_D2D1AlphaMask = {0xc80ecff0, 0x3fd5, 0x4f05, [0x83, 0x28, 0xc5, 0xd1, 0x72, 0x4b, 0x4f, 0x0a]}; 28 const IID CLSID_D2D1CrossFade = {0x12f575e8, 0x4db1, 0x485f, [0x9a, 0x84, 0x03, 0xa0, 0x7d, 0xd3, 0x82, 0x9f]}; 29 const IID CLSID_D2D1Tint = {0x36312b17, 0xf7dd, 0x4014, [0x91, 0x5d, 0xff, 0xca, 0x76, 0x8c, 0xf2, 0x11]}; 30 31 enum D2D1_CONTRAST_PROP 32 { 33 CONTRAST = 0, 34 CLAMP_INPUT = 1, 35 FORCE_DWORD = 0xffffffff 36 } 37 38 enum D2D1_RGBTOHUE_PROP 39 { 40 OUTPUT_COLOR_SPACE = 0, 41 FORCE_DWORD = 0xffffffff 42 } 43 44 enum D2D1_RGBTOHUE_OUTPUT_COLOR_SPACE 45 { 46 HUE_SATURATION_VALUE = 0, 47 HUE_SATURATION_LIGHTNESS = 1, 48 FORCE_DWORD = 0xffffffff 49 } 50 51 enum D2D1_HUETORGB_PROP 52 { 53 INPUT_COLOR_SPACE = 0, 54 FORCE_DWORD = 0xffffffff 55 } 56 57 enum D2D1_HUETORGB_INPUT_COLOR_SPACE 58 { 59 HUE_SATURATION_VALUE = 0, 60 HUE_SATURATION_LIGHTNESS = 1, 61 FORCE_DWORD = 0xffffffff 62 } 63 64 enum D2D1_CHROMAKEY_PROP 65 { 66 COLOR = 0, 67 TOLERANCE = 1, 68 INVERT_ALPHA = 2, 69 FEATHER = 3, 70 FORCE_DWORD = 0xffffffff 71 } 72 73 enum D2D1_EMBOSS_PROP 74 { 75 HEIGHT = 0, 76 DIRECTION = 1, 77 FORCE_DWORD = 0xffffffff 78 } 79 80 enum D2D1_EXPOSURE_PROP 81 { 82 EXPOSURE_VALUE = 0, 83 FORCE_DWORD = 0xffffffff 84 } 85 86 enum D2D1_POSTERIZE_PROP 87 { 88 RED_VALUE_COUNT = 0, 89 GREEN_VALUE_COUNT = 1, 90 BLUE_VALUE_COUNT = 2, 91 FORCE_DWORD = 0xffffffff 92 } 93 94 enum D2D1_SEPIA_PROP 95 { 96 INTENSITY = 0, 97 ALPHA_MODE = 1, 98 FORCE_DWORD = 0xffffffff 99 } 100 101 enum D2D1_SHARPEN_PROP 102 { 103 SHARPNESS = 0, 104 THRESHOLD = 1, 105 FORCE_DWORD = 0xffffffff 106 } 107 108 enum D2D1_STRAIGHTEN_PROP 109 { 110 ANGLE = 0, 111 MAINTAIN_SIZE = 1, 112 SCALE_MODE = 2, 113 FORCE_DWORD = 0xffffffff 114 } 115 116 enum D2D1_STRAIGHTEN_SCALE_MODE 117 { 118 NEAREST_NEIGHBOR = 0, 119 LINEAR = 1, 120 CUBIC = 2, 121 MULTI_SAMPLE_LINEAR = 3, 122 ANISOTROPIC = 4, 123 FORCE_DWORD = 0xffffffff 124 } 125 126 enum D2D1_TEMPERATUREANDTINT_PROP 127 { 128 TEMPERATURE = 0, 129 TINT = 1, 130 FORCE_DWORD = 0xffffffff 131 } 132 133 enum D2D1_VIGNETTE_PROP 134 { 135 COLOR = 0, 136 TRANSITION_SIZE = 1, 137 STRENGTH = 2, 138 FORCE_DWORD = 0xffffffff 139 } 140 141 enum D2D1_EDGEDETECTION_PROP 142 { 143 STRENGTH = 0, 144 BLUR_RADIUS = 1, 145 MODE = 2, 146 OVERLAY_EDGES = 3, 147 ALPHA_MODE = 4, 148 FORCE_DWORD = 0xffffffff 149 } 150 151 enum D2D1_EDGEDETECTION_MODE 152 { 153 SOBEL = 0, 154 PREWITT = 1, 155 FORCE_DWORD = 0xffffffff 156 } 157 158 enum D2D1_HIGHLIGHTSANDSHADOWS_PROP 159 { 160 HIGHLIGHTS = 0, 161 SHADOWS = 1, 162 CLARITY = 2, 163 INPUT_GAMMA = 3, 164 MASK_BLUR_RADIUS = 4, 165 FORCE_DWORD = 0xffffffff 166 } 167 168 enum D2D1_HIGHLIGHTSANDSHADOWS_INPUT_GAMMA 169 { 170 LINEAR = 0, 171 SRGB = 1, 172 FORCE_DWORD = 0xffffffff 173 } 174 175 enum D2D1_LOOKUPTABLE3D_PROP 176 { 177 LUT = 0, 178 ALPHA_MODE = 1, 179 FORCE_DWORD = 0xffffffff 180 } 181 182 enum D2D1_OPACITY_PROP 183 { 184 OPACITY = 0, 185 FORCE_DWORD = 0xffffffff 186 } 187 188 enum D2D1_CROSSFADE_PROP 189 { 190 WEIGHT = 0, 191 FORCE_DWORD = 0xffffffff 192 } 193 194 enum D2D1_TINT_PROP 195 { 196 COLOR = 0, 197 CLAMP_OUTPUT = 1, 198 FORCE_DWORD = 0xffffffff 199 }