Follow QRenderSurfaceSelector API changes.

Change-Id: I3369147a6b3ce33f75c5fa88bff9d74bafce83b6
Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
This commit is contained in:
Volker Krause 2016-03-29 10:56:21 +02:00 committed by Sean Harmer
parent b1301c298f
commit 3f0e379657
3 changed files with 3 additions and 3 deletions

View File

@ -53,7 +53,7 @@ import Qt3D.Render 2.0
Viewport {
property alias camera: cameraSelector.camera
property alias window: surfaceSelector.window
property alias window: surfaceSelector.surface
RenderSurfaceSelector {
id: surfaceSelector

View File

@ -58,7 +58,7 @@ RenderSettings {
property alias topRightCamera: cameraSelectorTopRightViewport.camera;
property alias bottomLeftCamera: cameraSelectorBottomLeftViewport.camera;
property alias bottomRightCamera: cameraSelectorBottomRightViewport.camera;
property alias window: surfaceSelector.window
property alias window: surfaceSelector.surface
activeFrameGraph: RenderSurfaceSelector {
id: surfaceSelector

View File

@ -56,7 +56,7 @@ TechniqueFilter {
// Expose camera to allow user to choose which camera to use for rendering
property alias camera: cameraSelector.camera
property alias window: surfaceSelector.window
property alias window: surfaceSelector.surface
// Select the forward rendering Technique of any used Effect
matchAll: [ FilterKey { name: "renderingStyle"; value: "forward" } ]