diff options
author | Antti Määttä <antti.maatta@qt.io> | 2020-10-04 13:22:50 +0300 |
---|---|---|
committer | Antti Määttä <antti.maatta@qt.io> | 2020-10-14 12:26:00 +0300 |
commit | 4ff4abea88534aabdab9201140c7e610f0c709b9 (patch) | |
tree | 70eb1e4fef41d421fc8719c3a8482067e279050d /res | |
parent | ef7e3400211d275077596dd848898adb876efb6e (diff) |
Implement image filtering
This is needed to support custom material texture filter modes when
they are being implemented using images.
Task-number: QT3DS-4183
Change-Id: I9f16a9347379872a8f04ebdd08785df345939a70
Reviewed-by: Kaj Grönholm <kaj.gronholm@qt.io>
Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
Diffstat (limited to 'res')
-rw-r--r-- | res/DataModelMetadata/en-us/MetaData.xml | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/res/DataModelMetadata/en-us/MetaData.xml b/res/DataModelMetadata/en-us/MetaData.xml index b793df7..4e3268a 100644 --- a/res/DataModelMetadata/en-us/MetaData.xml +++ b/res/DataModelMetadata/en-us/MetaData.xml @@ -128,6 +128,8 @@ <Property name="positionv" formalName="V Position" description="Offset of the image along the V\ndirection of the material" /> <Property name="pivotu" formalName="U Pivot" description="Offset the image in the U direction\nwithout affecting rotation center" /> <Property name="pivotv" formalName="V Pivot" description="Offset the image in the V direction\nwithout affecting rotation center" /> + <Property name="minfilter" formalName="Minification Filter" default="LinearMipmapLinear" description="The minification filter of the image" list="Nearest:Linear:NearestMipmapNearest:NearestMipmapLinear:LinearMipmapNearest:LinearMipmapLinear" /> + <Property name="magfilter" formalName="Magnification Filter" default="Linear" description="The magnification filter of the image" list="Nearest:Linear" /> <!-- Texture subpresentation is not set to controllable as it does not currently work in runtime --> <Property name="subpresentation" formalName="Sub-Presentation" description="Presentation or QML stream\nto use instead of the image" type="Renderable" /> |