winrt-Windows.UI.Composition.Effects 2.3.0__tar.gz → 3.0.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {winrt_windows_ui_composition_effects-2.3.0 → winrt_windows_ui_composition_effects-3.0.0}/PKG-INFO +4 -4
- {winrt_windows_ui_composition_effects-2.3.0 → winrt_windows_ui_composition_effects-3.0.0}/all-requirements.txt +2 -2
- {winrt_windows_ui_composition_effects-2.3.0 → winrt_windows_ui_composition_effects-3.0.0}/py.Windows.UI.Composition.Effects.cpp +90 -31
- {winrt_windows_ui_composition_effects-2.3.0 → winrt_windows_ui_composition_effects-3.0.0}/pyproject.toml +2 -2
- winrt_windows_ui_composition_effects-3.0.0/pywinrt-version.txt +1 -0
- {winrt_windows_ui_composition_effects-2.3.0 → winrt_windows_ui_composition_effects-3.0.0}/requirements.txt +2 -2
- {winrt_windows_ui_composition_effects-2.3.0 → winrt_windows_ui_composition_effects-3.0.0}/setup.py +1 -1
- winrt_windows_ui_composition_effects-3.0.0/winrt/_winrt_windows_ui_composition_effects.pyi +63 -0
- {winrt_windows_ui_composition_effects-2.3.0 → winrt_windows_ui_composition_effects-3.0.0}/winrt/windows/ui/composition/effects/__init__.py +4 -3
- {winrt_windows_ui_composition_effects-2.3.0 → winrt_windows_ui_composition_effects-3.0.0}/winrt_Windows.UI.Composition.Effects.egg-info/PKG-INFO +4 -4
- winrt_windows_ui_composition_effects-3.0.0/winrt_Windows.UI.Composition.Effects.egg-info/requires.txt +4 -0
- winrt_windows_ui_composition_effects-2.3.0/pywinrt-version.txt +0 -1
- winrt_windows_ui_composition_effects-2.3.0/winrt/_winrt_windows_ui_composition_effects.pyi +0 -51
- winrt_windows_ui_composition_effects-2.3.0/winrt_Windows.UI.Composition.Effects.egg-info/requires.txt +0 -4
- {winrt_windows_ui_composition_effects-2.3.0 → winrt_windows_ui_composition_effects-3.0.0}/README.md +0 -0
- {winrt_windows_ui_composition_effects-2.3.0 → winrt_windows_ui_composition_effects-3.0.0}/setup.cfg +0 -0
- {winrt_windows_ui_composition_effects-2.3.0 → winrt_windows_ui_composition_effects-3.0.0}/winrt/windows/ui/composition/effects/py.typed +0 -0
- {winrt_windows_ui_composition_effects-2.3.0 → winrt_windows_ui_composition_effects-3.0.0}/winrt_Windows.UI.Composition.Effects.egg-info/SOURCES.txt +0 -0
- {winrt_windows_ui_composition_effects-2.3.0 → winrt_windows_ui_composition_effects-3.0.0}/winrt_Windows.UI.Composition.Effects.egg-info/dependency_links.txt +0 -0
- {winrt_windows_ui_composition_effects-2.3.0 → winrt_windows_ui_composition_effects-3.0.0}/winrt_Windows.UI.Composition.Effects.egg-info/top_level.txt +0 -0
{winrt_windows_ui_composition_effects-2.3.0 → winrt_windows_ui_composition_effects-3.0.0}/PKG-INFO
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: winrt-Windows.UI.Composition.Effects
|
|
3
|
-
Version:
|
|
3
|
+
Version: 3.0.0
|
|
4
4
|
Summary: Python projection of Windows Runtime (WinRT) APIs
|
|
5
5
|
License: MIT
|
|
6
6
|
Project-URL: Documentation, https://pywinrt.readthedocs.io
|
|
@@ -10,11 +10,11 @@ Classifier: Operating System :: Microsoft :: Windows
|
|
|
10
10
|
Classifier: Programming Language :: Python :: 3
|
|
11
11
|
Classifier: Programming Language :: Python :: Implementation :: CPython
|
|
12
12
|
Classifier: Intended Audience :: Developers
|
|
13
|
-
Requires-Python:
|
|
13
|
+
Requires-Python: >=3.9
|
|
14
14
|
Description-Content-Type: text/markdown
|
|
15
|
-
Requires-Dist: winrt-runtime==
|
|
15
|
+
Requires-Dist: winrt-runtime==3.0.0
|
|
16
16
|
Provides-Extra: all
|
|
17
|
-
Requires-Dist: winrt-Windows.Graphics.Effects[all]==
|
|
17
|
+
Requires-Dist: winrt-Windows.Graphics.Effects[all]==3.0.0; extra == "all"
|
|
18
18
|
|
|
19
19
|
<!-- warning: Please don't edit this file. It was automatically generated. -->
|
|
20
20
|
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
# WARNING: Please don't edit this file. It was generated by Python/WinRT
|
|
1
|
+
# WARNING: Please don't edit this file. It was generated by Python/WinRT v3.0.0
|
|
2
2
|
|
|
3
|
-
winrt-Windows.Graphics.Effects[all]==
|
|
3
|
+
winrt-Windows.Graphics.Effects[all]==3.0.0
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// WARNING: Please don't edit this file. It was generated by Python/WinRT
|
|
1
|
+
// WARNING: Please don't edit this file. It was generated by Python/WinRT v3.0.0
|
|
2
2
|
|
|
3
3
|
#include "py.Windows.UI.Composition.Effects.h"
|
|
4
4
|
|
|
@@ -8,13 +8,13 @@ namespace py::cpp::Windows::UI::Composition::Effects
|
|
|
8
8
|
|
|
9
9
|
static PyObject* _new_SceneLightingEffect(PyTypeObject* type, PyObject* args, PyObject* kwds) noexcept
|
|
10
10
|
{
|
|
11
|
-
if (kwds
|
|
11
|
+
if (kwds)
|
|
12
12
|
{
|
|
13
13
|
py::set_invalid_kwd_args_error();
|
|
14
14
|
return nullptr;
|
|
15
15
|
}
|
|
16
16
|
|
|
17
|
-
auto arg_count =
|
|
17
|
+
auto arg_count = PyTuple_GET_SIZE(args);
|
|
18
18
|
if (arg_count == 0)
|
|
19
19
|
{
|
|
20
20
|
try
|
|
@@ -60,7 +60,11 @@ namespace py::cpp::Windows::UI::Composition::Effects
|
|
|
60
60
|
return nullptr;
|
|
61
61
|
}
|
|
62
62
|
|
|
63
|
-
return py::convert(
|
|
63
|
+
return py::convert([&]()
|
|
64
|
+
{
|
|
65
|
+
auto _gil = release_gil();
|
|
66
|
+
return self->obj.Name();
|
|
67
|
+
}());
|
|
64
68
|
}
|
|
65
69
|
catch (...)
|
|
66
70
|
{
|
|
@@ -71,7 +75,7 @@ namespace py::cpp::Windows::UI::Composition::Effects
|
|
|
71
75
|
|
|
72
76
|
static int SceneLightingEffect_put_Name(py::wrapper::Windows::UI::Composition::Effects::SceneLightingEffect* self, PyObject* arg, void* /*unused*/) noexcept
|
|
73
77
|
{
|
|
74
|
-
if (arg
|
|
78
|
+
if (!arg)
|
|
75
79
|
{
|
|
76
80
|
PyErr_SetString(PyExc_AttributeError, "can't delete attribute");
|
|
77
81
|
return -1;
|
|
@@ -94,7 +98,11 @@ namespace py::cpp::Windows::UI::Composition::Effects
|
|
|
94
98
|
|
|
95
99
|
auto param0 = py::convert_to<winrt::hstring>(arg);
|
|
96
100
|
|
|
97
|
-
|
|
101
|
+
{
|
|
102
|
+
auto _gil = release_gil();
|
|
103
|
+
self->obj.Name(param0);
|
|
104
|
+
}
|
|
105
|
+
|
|
98
106
|
return 0;
|
|
99
107
|
}
|
|
100
108
|
catch (...)
|
|
@@ -121,7 +129,11 @@ namespace py::cpp::Windows::UI::Composition::Effects
|
|
|
121
129
|
return nullptr;
|
|
122
130
|
}
|
|
123
131
|
|
|
124
|
-
return py::convert(
|
|
132
|
+
return py::convert([&]()
|
|
133
|
+
{
|
|
134
|
+
auto _gil = release_gil();
|
|
135
|
+
return self->obj.SpecularShine();
|
|
136
|
+
}());
|
|
125
137
|
}
|
|
126
138
|
catch (...)
|
|
127
139
|
{
|
|
@@ -132,7 +144,7 @@ namespace py::cpp::Windows::UI::Composition::Effects
|
|
|
132
144
|
|
|
133
145
|
static int SceneLightingEffect_put_SpecularShine(py::wrapper::Windows::UI::Composition::Effects::SceneLightingEffect* self, PyObject* arg, void* /*unused*/) noexcept
|
|
134
146
|
{
|
|
135
|
-
if (arg
|
|
147
|
+
if (!arg)
|
|
136
148
|
{
|
|
137
149
|
PyErr_SetString(PyExc_AttributeError, "can't delete attribute");
|
|
138
150
|
return -1;
|
|
@@ -155,7 +167,11 @@ namespace py::cpp::Windows::UI::Composition::Effects
|
|
|
155
167
|
|
|
156
168
|
auto param0 = py::convert_to<float>(arg);
|
|
157
169
|
|
|
158
|
-
|
|
170
|
+
{
|
|
171
|
+
auto _gil = release_gil();
|
|
172
|
+
self->obj.SpecularShine(param0);
|
|
173
|
+
}
|
|
174
|
+
|
|
159
175
|
return 0;
|
|
160
176
|
}
|
|
161
177
|
catch (...)
|
|
@@ -182,7 +198,11 @@ namespace py::cpp::Windows::UI::Composition::Effects
|
|
|
182
198
|
return nullptr;
|
|
183
199
|
}
|
|
184
200
|
|
|
185
|
-
return py::convert(
|
|
201
|
+
return py::convert([&]()
|
|
202
|
+
{
|
|
203
|
+
auto _gil = release_gil();
|
|
204
|
+
return self->obj.SpecularAmount();
|
|
205
|
+
}());
|
|
186
206
|
}
|
|
187
207
|
catch (...)
|
|
188
208
|
{
|
|
@@ -193,7 +213,7 @@ namespace py::cpp::Windows::UI::Composition::Effects
|
|
|
193
213
|
|
|
194
214
|
static int SceneLightingEffect_put_SpecularAmount(py::wrapper::Windows::UI::Composition::Effects::SceneLightingEffect* self, PyObject* arg, void* /*unused*/) noexcept
|
|
195
215
|
{
|
|
196
|
-
if (arg
|
|
216
|
+
if (!arg)
|
|
197
217
|
{
|
|
198
218
|
PyErr_SetString(PyExc_AttributeError, "can't delete attribute");
|
|
199
219
|
return -1;
|
|
@@ -216,7 +236,11 @@ namespace py::cpp::Windows::UI::Composition::Effects
|
|
|
216
236
|
|
|
217
237
|
auto param0 = py::convert_to<float>(arg);
|
|
218
238
|
|
|
219
|
-
|
|
239
|
+
{
|
|
240
|
+
auto _gil = release_gil();
|
|
241
|
+
self->obj.SpecularAmount(param0);
|
|
242
|
+
}
|
|
243
|
+
|
|
220
244
|
return 0;
|
|
221
245
|
}
|
|
222
246
|
catch (...)
|
|
@@ -243,7 +267,11 @@ namespace py::cpp::Windows::UI::Composition::Effects
|
|
|
243
267
|
return nullptr;
|
|
244
268
|
}
|
|
245
269
|
|
|
246
|
-
return py::convert(
|
|
270
|
+
return py::convert([&]()
|
|
271
|
+
{
|
|
272
|
+
auto _gil = release_gil();
|
|
273
|
+
return self->obj.NormalMapSource();
|
|
274
|
+
}());
|
|
247
275
|
}
|
|
248
276
|
catch (...)
|
|
249
277
|
{
|
|
@@ -254,7 +282,7 @@ namespace py::cpp::Windows::UI::Composition::Effects
|
|
|
254
282
|
|
|
255
283
|
static int SceneLightingEffect_put_NormalMapSource(py::wrapper::Windows::UI::Composition::Effects::SceneLightingEffect* self, PyObject* arg, void* /*unused*/) noexcept
|
|
256
284
|
{
|
|
257
|
-
if (arg
|
|
285
|
+
if (!arg)
|
|
258
286
|
{
|
|
259
287
|
PyErr_SetString(PyExc_AttributeError, "can't delete attribute");
|
|
260
288
|
return -1;
|
|
@@ -277,7 +305,11 @@ namespace py::cpp::Windows::UI::Composition::Effects
|
|
|
277
305
|
|
|
278
306
|
auto param0 = py::convert_to<winrt::Windows::Graphics::Effects::IGraphicsEffectSource>(arg);
|
|
279
307
|
|
|
280
|
-
|
|
308
|
+
{
|
|
309
|
+
auto _gil = release_gil();
|
|
310
|
+
self->obj.NormalMapSource(param0);
|
|
311
|
+
}
|
|
312
|
+
|
|
281
313
|
return 0;
|
|
282
314
|
}
|
|
283
315
|
catch (...)
|
|
@@ -304,7 +336,11 @@ namespace py::cpp::Windows::UI::Composition::Effects
|
|
|
304
336
|
return nullptr;
|
|
305
337
|
}
|
|
306
338
|
|
|
307
|
-
return py::convert(
|
|
339
|
+
return py::convert([&]()
|
|
340
|
+
{
|
|
341
|
+
auto _gil = release_gil();
|
|
342
|
+
return self->obj.DiffuseAmount();
|
|
343
|
+
}());
|
|
308
344
|
}
|
|
309
345
|
catch (...)
|
|
310
346
|
{
|
|
@@ -315,7 +351,7 @@ namespace py::cpp::Windows::UI::Composition::Effects
|
|
|
315
351
|
|
|
316
352
|
static int SceneLightingEffect_put_DiffuseAmount(py::wrapper::Windows::UI::Composition::Effects::SceneLightingEffect* self, PyObject* arg, void* /*unused*/) noexcept
|
|
317
353
|
{
|
|
318
|
-
if (arg
|
|
354
|
+
if (!arg)
|
|
319
355
|
{
|
|
320
356
|
PyErr_SetString(PyExc_AttributeError, "can't delete attribute");
|
|
321
357
|
return -1;
|
|
@@ -338,7 +374,11 @@ namespace py::cpp::Windows::UI::Composition::Effects
|
|
|
338
374
|
|
|
339
375
|
auto param0 = py::convert_to<float>(arg);
|
|
340
376
|
|
|
341
|
-
|
|
377
|
+
{
|
|
378
|
+
auto _gil = release_gil();
|
|
379
|
+
self->obj.DiffuseAmount(param0);
|
|
380
|
+
}
|
|
381
|
+
|
|
342
382
|
return 0;
|
|
343
383
|
}
|
|
344
384
|
catch (...)
|
|
@@ -365,7 +405,11 @@ namespace py::cpp::Windows::UI::Composition::Effects
|
|
|
365
405
|
return nullptr;
|
|
366
406
|
}
|
|
367
407
|
|
|
368
|
-
return py::convert(
|
|
408
|
+
return py::convert([&]()
|
|
409
|
+
{
|
|
410
|
+
auto _gil = release_gil();
|
|
411
|
+
return self->obj.AmbientAmount();
|
|
412
|
+
}());
|
|
369
413
|
}
|
|
370
414
|
catch (...)
|
|
371
415
|
{
|
|
@@ -376,7 +420,7 @@ namespace py::cpp::Windows::UI::Composition::Effects
|
|
|
376
420
|
|
|
377
421
|
static int SceneLightingEffect_put_AmbientAmount(py::wrapper::Windows::UI::Composition::Effects::SceneLightingEffect* self, PyObject* arg, void* /*unused*/) noexcept
|
|
378
422
|
{
|
|
379
|
-
if (arg
|
|
423
|
+
if (!arg)
|
|
380
424
|
{
|
|
381
425
|
PyErr_SetString(PyExc_AttributeError, "can't delete attribute");
|
|
382
426
|
return -1;
|
|
@@ -399,7 +443,11 @@ namespace py::cpp::Windows::UI::Composition::Effects
|
|
|
399
443
|
|
|
400
444
|
auto param0 = py::convert_to<float>(arg);
|
|
401
445
|
|
|
402
|
-
|
|
446
|
+
{
|
|
447
|
+
auto _gil = release_gil();
|
|
448
|
+
self->obj.AmbientAmount(param0);
|
|
449
|
+
}
|
|
450
|
+
|
|
403
451
|
return 0;
|
|
404
452
|
}
|
|
405
453
|
catch (...)
|
|
@@ -426,7 +474,11 @@ namespace py::cpp::Windows::UI::Composition::Effects
|
|
|
426
474
|
return nullptr;
|
|
427
475
|
}
|
|
428
476
|
|
|
429
|
-
return py::convert(
|
|
477
|
+
return py::convert([&]()
|
|
478
|
+
{
|
|
479
|
+
auto _gil = release_gil();
|
|
480
|
+
return self->obj.ReflectanceModel();
|
|
481
|
+
}());
|
|
430
482
|
}
|
|
431
483
|
catch (...)
|
|
432
484
|
{
|
|
@@ -437,7 +489,7 @@ namespace py::cpp::Windows::UI::Composition::Effects
|
|
|
437
489
|
|
|
438
490
|
static int SceneLightingEffect_put_ReflectanceModel(py::wrapper::Windows::UI::Composition::Effects::SceneLightingEffect* self, PyObject* arg, void* /*unused*/) noexcept
|
|
439
491
|
{
|
|
440
|
-
if (arg
|
|
492
|
+
if (!arg)
|
|
441
493
|
{
|
|
442
494
|
PyErr_SetString(PyExc_AttributeError, "can't delete attribute");
|
|
443
495
|
return -1;
|
|
@@ -460,7 +512,11 @@ namespace py::cpp::Windows::UI::Composition::Effects
|
|
|
460
512
|
|
|
461
513
|
auto param0 = py::convert_to<winrt::Windows::UI::Composition::Effects::SceneLightingEffectReflectanceModel>(arg);
|
|
462
514
|
|
|
463
|
-
|
|
515
|
+
{
|
|
516
|
+
auto _gil = release_gil();
|
|
517
|
+
self->obj.ReflectanceModel(param0);
|
|
518
|
+
}
|
|
519
|
+
|
|
464
520
|
return 0;
|
|
465
521
|
}
|
|
466
522
|
catch (...)
|
|
@@ -497,8 +553,7 @@ namespace py::cpp::Windows::UI::Composition::Effects
|
|
|
497
553
|
static PyMethodDef _methods_SceneLightingEffect[] = {
|
|
498
554
|
{ "_assign_array_", _assign_array_SceneLightingEffect, METH_O | METH_STATIC, nullptr },
|
|
499
555
|
{ "_from", reinterpret_cast<PyCFunction>(_from_SceneLightingEffect), METH_O | METH_STATIC, nullptr },
|
|
500
|
-
{ }
|
|
501
|
-
};
|
|
556
|
+
{ }};
|
|
502
557
|
|
|
503
558
|
static PyGetSetDef _getset_SceneLightingEffect[] = {
|
|
504
559
|
{ "name", reinterpret_cast<getter>(SceneLightingEffect_get_Name), reinterpret_cast<setter>(SceneLightingEffect_put_Name), nullptr, nullptr },
|
|
@@ -508,16 +563,14 @@ namespace py::cpp::Windows::UI::Composition::Effects
|
|
|
508
563
|
{ "diffuse_amount", reinterpret_cast<getter>(SceneLightingEffect_get_DiffuseAmount), reinterpret_cast<setter>(SceneLightingEffect_put_DiffuseAmount), nullptr, nullptr },
|
|
509
564
|
{ "ambient_amount", reinterpret_cast<getter>(SceneLightingEffect_get_AmbientAmount), reinterpret_cast<setter>(SceneLightingEffect_put_AmbientAmount), nullptr, nullptr },
|
|
510
565
|
{ "reflectance_model", reinterpret_cast<getter>(SceneLightingEffect_get_ReflectanceModel), reinterpret_cast<setter>(SceneLightingEffect_put_ReflectanceModel), nullptr, nullptr },
|
|
511
|
-
{ }
|
|
512
|
-
};
|
|
566
|
+
{ }};
|
|
513
567
|
|
|
514
568
|
static PyType_Slot _type_slots_SceneLightingEffect[] = {
|
|
515
569
|
{ Py_tp_new, reinterpret_cast<void*>(_new_SceneLightingEffect) },
|
|
516
570
|
{ Py_tp_dealloc, reinterpret_cast<void*>(_dealloc_SceneLightingEffect) },
|
|
517
571
|
{ Py_tp_methods, reinterpret_cast<void*>(_methods_SceneLightingEffect) },
|
|
518
572
|
{ Py_tp_getset, reinterpret_cast<void*>(_getset_SceneLightingEffect) },
|
|
519
|
-
{ }
|
|
520
|
-
};
|
|
573
|
+
{ }};
|
|
521
574
|
|
|
522
575
|
static PyType_Spec type_spec_SceneLightingEffect = {
|
|
523
576
|
"winrt._winrt_windows_ui_composition_effects.SceneLightingEffect",
|
|
@@ -558,6 +611,12 @@ PyMODINIT_FUNC PyInit__winrt_windows_ui_composition_effects(void) noexcept
|
|
|
558
611
|
return nullptr;
|
|
559
612
|
}
|
|
560
613
|
|
|
614
|
+
auto inspectable_meta_type = py::get_inspectable_meta_type();
|
|
615
|
+
if (!inspectable_meta_type)
|
|
616
|
+
{
|
|
617
|
+
return nullptr;
|
|
618
|
+
}
|
|
619
|
+
|
|
561
620
|
auto object_type = py::get_object_type();
|
|
562
621
|
if (!object_type)
|
|
563
622
|
{
|
|
@@ -571,7 +630,7 @@ PyMODINIT_FUNC PyInit__winrt_windows_ui_composition_effects(void) noexcept
|
|
|
571
630
|
return nullptr;
|
|
572
631
|
}
|
|
573
632
|
|
|
574
|
-
py::pytype_handle SceneLightingEffect_type{py::register_python_type(module.get(), &type_spec_SceneLightingEffect, object_bases.get(),
|
|
633
|
+
py::pytype_handle SceneLightingEffect_type{py::register_python_type(module.get(), &type_spec_SceneLightingEffect, object_bases.get(), inspectable_meta_type)};
|
|
575
634
|
if (!SceneLightingEffect_type)
|
|
576
635
|
{
|
|
577
636
|
return nullptr;
|
|
@@ -16,7 +16,7 @@ classifiers = [
|
|
|
16
16
|
"Intended Audience :: Developers",
|
|
17
17
|
]
|
|
18
18
|
dynamic = ["version", "dependencies", "optional-dependencies"]
|
|
19
|
-
requires-python = ">=3.9
|
|
19
|
+
requires-python = ">=3.9"
|
|
20
20
|
|
|
21
21
|
[project.urls]
|
|
22
22
|
# Homepage = "https://github.com/pywinrt/pywinrt"
|
|
@@ -34,7 +34,7 @@ optional-dependencies.all = { file = "all-requirements.txt" }
|
|
|
34
34
|
|
|
35
35
|
[tool.cibuildwheel]
|
|
36
36
|
# use local winrt-sdk build dependency
|
|
37
|
-
environment = { PYTHONPATH="
|
|
37
|
+
environment = { PYTHONPATH="../../winrt-sdk/src" }
|
|
38
38
|
# don't install winrt-sdk from PyPI
|
|
39
39
|
build-frontend = { name = "build[uv]", args = ["--skip-dependency-check", "--no-isolation"] }
|
|
40
40
|
before-build = "uv pip install setuptools"
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
3.0.0
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
# WARNING: Please don't edit this file. It was generated by Python/WinRT
|
|
1
|
+
# WARNING: Please don't edit this file. It was generated by Python/WinRT v3.0.0
|
|
2
2
|
|
|
3
|
-
winrt-runtime==
|
|
3
|
+
winrt-runtime==3.0.0
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
# WARNING: Please don't edit this file. It was generated by Python/WinRT v3.0.0
|
|
2
|
+
|
|
3
|
+
import datetime
|
|
4
|
+
import sys
|
|
5
|
+
import types
|
|
6
|
+
import typing
|
|
7
|
+
import uuid as _uuid
|
|
8
|
+
from builtins import property as _property
|
|
9
|
+
|
|
10
|
+
import winrt._winrt
|
|
11
|
+
import winrt.system
|
|
12
|
+
import winrt.windows.graphics.effects as windows_graphics_effects
|
|
13
|
+
|
|
14
|
+
from winrt.windows.ui.composition.effects import SceneLightingEffectReflectanceModel
|
|
15
|
+
|
|
16
|
+
Self = typing.TypeVar('Self')
|
|
17
|
+
|
|
18
|
+
@typing.final
|
|
19
|
+
class SceneLightingEffect(winrt.system.Object, windows_graphics_effects.IGraphicsEffect, windows_graphics_effects.IGraphicsEffectSource):
|
|
20
|
+
def __new__(cls: typing.Type[Self]) -> Self: ...
|
|
21
|
+
# System.String Windows.UI.Composition.Effects.SceneLightingEffect::get_Name()
|
|
22
|
+
@_property
|
|
23
|
+
def name(self) -> str: ...
|
|
24
|
+
# System.Void Windows.UI.Composition.Effects.SceneLightingEffect::put_Name(System.String)
|
|
25
|
+
@name.setter
|
|
26
|
+
def name(self, value: str) -> None: ...
|
|
27
|
+
# System.Single Windows.UI.Composition.Effects.SceneLightingEffect::get_SpecularShine()
|
|
28
|
+
@_property
|
|
29
|
+
def specular_shine(self) -> winrt.system.Single: ...
|
|
30
|
+
# System.Void Windows.UI.Composition.Effects.SceneLightingEffect::put_SpecularShine(System.Single)
|
|
31
|
+
@specular_shine.setter
|
|
32
|
+
def specular_shine(self, value: winrt.system.Single) -> None: ...
|
|
33
|
+
# System.Single Windows.UI.Composition.Effects.SceneLightingEffect::get_SpecularAmount()
|
|
34
|
+
@_property
|
|
35
|
+
def specular_amount(self) -> winrt.system.Single: ...
|
|
36
|
+
# System.Void Windows.UI.Composition.Effects.SceneLightingEffect::put_SpecularAmount(System.Single)
|
|
37
|
+
@specular_amount.setter
|
|
38
|
+
def specular_amount(self, value: winrt.system.Single) -> None: ...
|
|
39
|
+
# Windows.Graphics.Effects.IGraphicsEffectSource Windows.UI.Composition.Effects.SceneLightingEffect::get_NormalMapSource()
|
|
40
|
+
@_property
|
|
41
|
+
def normal_map_source(self) -> windows_graphics_effects.IGraphicsEffectSource: ...
|
|
42
|
+
# System.Void Windows.UI.Composition.Effects.SceneLightingEffect::put_NormalMapSource(Windows.Graphics.Effects.IGraphicsEffectSource)
|
|
43
|
+
@normal_map_source.setter
|
|
44
|
+
def normal_map_source(self, value: windows_graphics_effects.IGraphicsEffectSource) -> None: ...
|
|
45
|
+
# System.Single Windows.UI.Composition.Effects.SceneLightingEffect::get_DiffuseAmount()
|
|
46
|
+
@_property
|
|
47
|
+
def diffuse_amount(self) -> winrt.system.Single: ...
|
|
48
|
+
# System.Void Windows.UI.Composition.Effects.SceneLightingEffect::put_DiffuseAmount(System.Single)
|
|
49
|
+
@diffuse_amount.setter
|
|
50
|
+
def diffuse_amount(self, value: winrt.system.Single) -> None: ...
|
|
51
|
+
# System.Single Windows.UI.Composition.Effects.SceneLightingEffect::get_AmbientAmount()
|
|
52
|
+
@_property
|
|
53
|
+
def ambient_amount(self) -> winrt.system.Single: ...
|
|
54
|
+
# System.Void Windows.UI.Composition.Effects.SceneLightingEffect::put_AmbientAmount(System.Single)
|
|
55
|
+
@ambient_amount.setter
|
|
56
|
+
def ambient_amount(self, value: winrt.system.Single) -> None: ...
|
|
57
|
+
# Windows.UI.Composition.Effects.SceneLightingEffectReflectanceModel Windows.UI.Composition.Effects.SceneLightingEffect::get_ReflectanceModel()
|
|
58
|
+
@_property
|
|
59
|
+
def reflectance_model(self) -> SceneLightingEffectReflectanceModel: ...
|
|
60
|
+
# System.Void Windows.UI.Composition.Effects.SceneLightingEffect::put_ReflectanceModel(Windows.UI.Composition.Effects.SceneLightingEffectReflectanceModel)
|
|
61
|
+
@reflectance_model.setter
|
|
62
|
+
def reflectance_model(self, value: SceneLightingEffectReflectanceModel) -> None: ...
|
|
63
|
+
|
|
@@ -1,9 +1,11 @@
|
|
|
1
|
-
# WARNING: Please don't edit this file. It was generated by Python/WinRT
|
|
1
|
+
# WARNING: Please don't edit this file. It was generated by Python/WinRT v3.0.0
|
|
2
2
|
|
|
3
3
|
import enum
|
|
4
4
|
|
|
5
5
|
import winrt.system
|
|
6
|
-
from winrt import
|
|
6
|
+
from winrt._winrt_windows_ui_composition_effects import (
|
|
7
|
+
SceneLightingEffect,
|
|
8
|
+
)
|
|
7
9
|
|
|
8
10
|
__all__ = [
|
|
9
11
|
"SceneLightingEffectReflectanceModel",
|
|
@@ -14,4 +16,3 @@ class SceneLightingEffectReflectanceModel(enum.IntEnum):
|
|
|
14
16
|
BLINN_PHONG = 0
|
|
15
17
|
PHYSICALLY_BASED_BLINN_PHONG = 1
|
|
16
18
|
|
|
17
|
-
SceneLightingEffect = _winrt_windows_ui_composition_effects.SceneLightingEffect
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: winrt-Windows.UI.Composition.Effects
|
|
3
|
-
Version:
|
|
3
|
+
Version: 3.0.0
|
|
4
4
|
Summary: Python projection of Windows Runtime (WinRT) APIs
|
|
5
5
|
License: MIT
|
|
6
6
|
Project-URL: Documentation, https://pywinrt.readthedocs.io
|
|
@@ -10,11 +10,11 @@ Classifier: Operating System :: Microsoft :: Windows
|
|
|
10
10
|
Classifier: Programming Language :: Python :: 3
|
|
11
11
|
Classifier: Programming Language :: Python :: Implementation :: CPython
|
|
12
12
|
Classifier: Intended Audience :: Developers
|
|
13
|
-
Requires-Python:
|
|
13
|
+
Requires-Python: >=3.9
|
|
14
14
|
Description-Content-Type: text/markdown
|
|
15
|
-
Requires-Dist: winrt-runtime==
|
|
15
|
+
Requires-Dist: winrt-runtime==3.0.0
|
|
16
16
|
Provides-Extra: all
|
|
17
|
-
Requires-Dist: winrt-Windows.Graphics.Effects[all]==
|
|
17
|
+
Requires-Dist: winrt-Windows.Graphics.Effects[all]==3.0.0; extra == "all"
|
|
18
18
|
|
|
19
19
|
<!-- warning: Please don't edit this file. It was automatically generated. -->
|
|
20
20
|
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
2.3.0
|
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
# WARNING: Please don't edit this file. It was generated by Python/WinRT v2.3.0
|
|
2
|
-
|
|
3
|
-
import datetime
|
|
4
|
-
import sys
|
|
5
|
-
import types
|
|
6
|
-
import typing
|
|
7
|
-
import uuid as _uuid
|
|
8
|
-
from builtins import property as _property
|
|
9
|
-
|
|
10
|
-
import winrt._winrt
|
|
11
|
-
import winrt.system
|
|
12
|
-
import winrt.windows.graphics.effects as windows_graphics_effects
|
|
13
|
-
|
|
14
|
-
from winrt.windows.ui.composition.effects import SceneLightingEffectReflectanceModel
|
|
15
|
-
|
|
16
|
-
Self = typing.TypeVar('Self')
|
|
17
|
-
|
|
18
|
-
@typing.final
|
|
19
|
-
class SceneLightingEffect(winrt.system.Object):
|
|
20
|
-
@staticmethod
|
|
21
|
-
def _from(obj: winrt.system.Object, /) -> SceneLightingEffect: ...
|
|
22
|
-
def __new__(cls: typing.Type[SceneLightingEffect]) -> SceneLightingEffect: ...
|
|
23
|
-
@_property
|
|
24
|
-
def name(self) -> str: ...
|
|
25
|
-
@name.setter
|
|
26
|
-
def name(self, value: str) -> None: ...
|
|
27
|
-
@_property
|
|
28
|
-
def specular_shine(self) -> winrt.system.Single: ...
|
|
29
|
-
@specular_shine.setter
|
|
30
|
-
def specular_shine(self, value: winrt.system.Single) -> None: ...
|
|
31
|
-
@_property
|
|
32
|
-
def specular_amount(self) -> winrt.system.Single: ...
|
|
33
|
-
@specular_amount.setter
|
|
34
|
-
def specular_amount(self, value: winrt.system.Single) -> None: ...
|
|
35
|
-
@_property
|
|
36
|
-
def normal_map_source(self) -> typing.Optional[windows_graphics_effects.IGraphicsEffectSource]: ...
|
|
37
|
-
@normal_map_source.setter
|
|
38
|
-
def normal_map_source(self, value: typing.Optional[windows_graphics_effects.IGraphicsEffectSource]) -> None: ...
|
|
39
|
-
@_property
|
|
40
|
-
def diffuse_amount(self) -> winrt.system.Single: ...
|
|
41
|
-
@diffuse_amount.setter
|
|
42
|
-
def diffuse_amount(self, value: winrt.system.Single) -> None: ...
|
|
43
|
-
@_property
|
|
44
|
-
def ambient_amount(self) -> winrt.system.Single: ...
|
|
45
|
-
@ambient_amount.setter
|
|
46
|
-
def ambient_amount(self, value: winrt.system.Single) -> None: ...
|
|
47
|
-
@_property
|
|
48
|
-
def reflectance_model(self) -> SceneLightingEffectReflectanceModel: ...
|
|
49
|
-
@reflectance_model.setter
|
|
50
|
-
def reflectance_model(self, value: SceneLightingEffectReflectanceModel) -> None: ...
|
|
51
|
-
|
{winrt_windows_ui_composition_effects-2.3.0 → winrt_windows_ui_composition_effects-3.0.0}/README.md
RENAMED
|
File without changes
|
{winrt_windows_ui_composition_effects-2.3.0 → winrt_windows_ui_composition_effects-3.0.0}/setup.cfg
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|