Version: 1.10
LanguageEnglish
  • C#

GameWindowExtensions.GetPipelineId

Suggest a change

Success!

Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.

Close

Submission failed

For some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.

Close

Cancel

Declaration

public static int GetPipelineId(Windowing.GameWindow window);

Parameters

window The GameWindow instance this extension method is implicitly called on.

Returns

int QNX system Screen PipelineId values.

Description

Get the pipelineId for the specified window on QNX. This is an extension method for GameWindow.

Get the pipelineId used by the QNX Screen windowing system for compositing the window with other surfaces.The return value is the direct return value of the Screen service system; see the QNX documentation for details.The value may not be equal to the previously set value. This is based on the QNX system design; please refer to the QNX documentation for details.

using UnityEngine;
using UnityEngine.Windowing;
using UnityEngine.Windowing.QNX;

public class GetPipelineIdExample : MonoBehaviour { void Start() { int pipelineid = GameWindow.Main.GetPipelineId(); Debug.Log($"MainWindow PipelineId is {pipelineid}"); } }