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

GetRemoteFocusPoint

Retrieves the remote focus point.

This focus point must be explicitly set as the focus point to be used.

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

auto GetRemoteFocusPoint(void* coordinateSystem, Microsoft::Azure::RemoteRendering::Float3* position, Microsoft::Azure::RemoteRendering::Float3* normal, Microsoft::Azure::RemoteRendering::Float3* velocity) noexcept -> Microsoft::Azure::RemoteRendering::FocusPointResult;

Parameters

Name Type Description
coordinateSystem System.IntPtr The coordinate frame in which the focus point should be expressed. Passing an invalid coordinate system will result in invalid focus points.
position Float3 The focus point's position in world-space.
normal Float3 The focus point's normal in world-space.
velocity Float3 The focus point's velocity measured in units per second, in world-space.

Returns

Type Description
FocusPointResult How to interpret the point data. If FocusPointResult.Invalid is returned, the data should not be used.

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