Class GraphicsBinding

Base class for graphics bindings.

class Microsoft::Azure::RemoteRendering::GraphicsBinding

Methods

GetLastFrameStatistics

Retrieves the last frame's statistics.

A Result.NoConnection error occurs if this is called while there is no connection to the server.

auto GetLastFrameStatistics(Microsoft::Azure::RemoteRendering::FrameStatistics* stats) noexcept -> Microsoft::Azure::RemoteRendering::Result;

Parameters

Name Type Description
stats FrameStatistics

Returns

Type Description
Result Result.Success, Result.NotInitialized, Result.Fail, Result.NoConnection

See also

SetPoseMode

Set the pose mode.

/// A Result.NotSupported error occurs if PoseMode.Remote is used on Android.

auto SetPoseMode(Microsoft::Azure::RemoteRendering::PoseMode mode) noexcept -> Microsoft::Azure::RemoteRendering::Result;

Parameters

Name Type Description
mode PoseMode

Returns

Type Description
Result Result.Success, Result.NotInitialized, Result.Fail, Result.NotSupported

Properties

Api

The derived graphics binding that this instance can be cast to.

This may only be called when the RemoteRenderingClient is initialized.

auto GetApi() const noexcept -> Microsoft::Azure::RemoteRendering::GraphicsApiType;

See also