// // main.qml // examples/utilities/tools/render // // Created by Zach Pomerantz on 2/8/2016 // Copyright 2016 High Fidelity, Inc. // // Distributed under the Apache License, Version 2.0. // See the accompanying file LICENSE or https://www.apache.org/licenses/LICENSE-2.0.html // import QtQuick 2.5 import QtQuick.Controls 1.4 Column { spacing: 8 Column { id: drawcall Repeater { model: [ "Opaque:DrawOpaqueDeferred", "Transparent:DrawTransparentDeferred", "Opaque Overlays:DrawOverlay3DOpaque", "Transparent Overlays:DrawOverlay3DTransparent" ] ConfigSlider { label: qsTr(modelData.split(":")[0]) integral: true config: Render.getConfig(modelData.split(":")[1]) property: "maxDrawn" max: config.numDrawn min: -1 } } } }