Files
nearby/internal/platform/implementation/windows/generated/winrt/impl/Windows.Graphics.Holographic.2.h
T
2025-07-09 08:58:00 -07:00

163 lines
12 KiB
C++

// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.250303.1
#pragma once
#ifndef WINRT_Windows_Graphics_Holographic_2_H
#define WINRT_Windows_Graphics_Holographic_2_H
#include "winrt/impl/Windows.Foundation.2.h"
#include "winrt/impl/Windows.Foundation.Numerics.2.h"
#include "winrt/impl/Windows.Graphics.DirectX.2.h"
#include "winrt/impl/Windows.UI.Core.2.h"
#include "winrt/impl/Windows.Graphics.Holographic.1.h"
WINRT_EXPORT namespace winrt::Windows::Graphics::Holographic
{
struct HolographicAdapterId
{
uint32_t LowPart {};
int32_t HighPart {};
};
inline bool operator==(HolographicAdapterId const& left, HolographicAdapterId const& right) noexcept
{
return left.LowPart == right.LowPart && left.HighPart == right.HighPart;
}
inline bool operator!=(HolographicAdapterId const& left, HolographicAdapterId const& right) noexcept
{
return !(left == right);
}
struct HolographicFrameId
{
uint64_t Value {};
};
inline bool operator==(HolographicFrameId const& left, HolographicFrameId const& right) noexcept
{
return left.Value == right.Value;
}
inline bool operator!=(HolographicFrameId const& left, HolographicFrameId const& right) noexcept
{
return !(left == right);
}
struct HolographicStereoTransform
{
winrt::Windows::Foundation::Numerics::float4x4 Left {};
winrt::Windows::Foundation::Numerics::float4x4 Right {};
};
inline bool operator==(HolographicStereoTransform const& left, HolographicStereoTransform const& right) noexcept
{
return left.Left == right.Left && left.Right == right.Right;
}
inline bool operator!=(HolographicStereoTransform const& left, HolographicStereoTransform const& right) noexcept
{
return !(left == right);
}
struct WINRT_IMPL_EMPTY_BASES HolographicCamera : winrt::Windows::Graphics::Holographic::IHolographicCamera,
impl::require<HolographicCamera, winrt::Windows::Graphics::Holographic::IHolographicCamera2, winrt::Windows::Graphics::Holographic::IHolographicCamera3, winrt::Windows::Graphics::Holographic::IHolographicCamera4, winrt::Windows::Graphics::Holographic::IHolographicCamera5, winrt::Windows::Graphics::Holographic::IHolographicCamera6>
{
HolographicCamera(std::nullptr_t) noexcept {}
HolographicCamera(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Graphics::Holographic::IHolographicCamera(ptr, take_ownership_from_abi) {}
};
struct WINRT_IMPL_EMPTY_BASES HolographicCameraPose : winrt::Windows::Graphics::Holographic::IHolographicCameraPose,
impl::require<HolographicCameraPose, winrt::Windows::Graphics::Holographic::IHolographicCameraPose2>
{
HolographicCameraPose(std::nullptr_t) noexcept {}
HolographicCameraPose(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Graphics::Holographic::IHolographicCameraPose(ptr, take_ownership_from_abi) {}
};
struct WINRT_IMPL_EMPTY_BASES HolographicCameraRenderingParameters : winrt::Windows::Graphics::Holographic::IHolographicCameraRenderingParameters,
impl::require<HolographicCameraRenderingParameters, winrt::Windows::Graphics::Holographic::IHolographicCameraRenderingParameters2, winrt::Windows::Graphics::Holographic::IHolographicCameraRenderingParameters3, winrt::Windows::Graphics::Holographic::IHolographicCameraRenderingParameters4>
{
HolographicCameraRenderingParameters(std::nullptr_t) noexcept {}
HolographicCameraRenderingParameters(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Graphics::Holographic::IHolographicCameraRenderingParameters(ptr, take_ownership_from_abi) {}
};
struct WINRT_IMPL_EMPTY_BASES HolographicCameraViewportParameters : winrt::Windows::Graphics::Holographic::IHolographicCameraViewportParameters
{
HolographicCameraViewportParameters(std::nullptr_t) noexcept {}
HolographicCameraViewportParameters(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Graphics::Holographic::IHolographicCameraViewportParameters(ptr, take_ownership_from_abi) {}
};
struct WINRT_IMPL_EMPTY_BASES HolographicDisplay : winrt::Windows::Graphics::Holographic::IHolographicDisplay,
impl::require<HolographicDisplay, winrt::Windows::Graphics::Holographic::IHolographicDisplay2, winrt::Windows::Graphics::Holographic::IHolographicDisplay3>
{
HolographicDisplay(std::nullptr_t) noexcept {}
HolographicDisplay(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Graphics::Holographic::IHolographicDisplay(ptr, take_ownership_from_abi) {}
static auto GetDefault();
};
struct WINRT_IMPL_EMPTY_BASES HolographicFrame : winrt::Windows::Graphics::Holographic::IHolographicFrame,
impl::require<HolographicFrame, winrt::Windows::Graphics::Holographic::IHolographicFrame2, winrt::Windows::Graphics::Holographic::IHolographicFrame3>
{
HolographicFrame(std::nullptr_t) noexcept {}
HolographicFrame(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Graphics::Holographic::IHolographicFrame(ptr, take_ownership_from_abi) {}
};
struct WINRT_IMPL_EMPTY_BASES HolographicFramePrediction : winrt::Windows::Graphics::Holographic::IHolographicFramePrediction
{
HolographicFramePrediction(std::nullptr_t) noexcept {}
HolographicFramePrediction(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Graphics::Holographic::IHolographicFramePrediction(ptr, take_ownership_from_abi) {}
};
struct WINRT_IMPL_EMPTY_BASES HolographicFramePresentationMonitor : winrt::Windows::Graphics::Holographic::IHolographicFramePresentationMonitor
{
HolographicFramePresentationMonitor(std::nullptr_t) noexcept {}
HolographicFramePresentationMonitor(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Graphics::Holographic::IHolographicFramePresentationMonitor(ptr, take_ownership_from_abi) {}
};
struct WINRT_IMPL_EMPTY_BASES HolographicFramePresentationReport : winrt::Windows::Graphics::Holographic::IHolographicFramePresentationReport
{
HolographicFramePresentationReport(std::nullptr_t) noexcept {}
HolographicFramePresentationReport(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Graphics::Holographic::IHolographicFramePresentationReport(ptr, take_ownership_from_abi) {}
};
struct WINRT_IMPL_EMPTY_BASES HolographicFrameRenderingReport : winrt::Windows::Graphics::Holographic::IHolographicFrameRenderingReport
{
HolographicFrameRenderingReport(std::nullptr_t) noexcept {}
HolographicFrameRenderingReport(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Graphics::Holographic::IHolographicFrameRenderingReport(ptr, take_ownership_from_abi) {}
};
struct WINRT_IMPL_EMPTY_BASES HolographicFrameScanoutMonitor : winrt::Windows::Graphics::Holographic::IHolographicFrameScanoutMonitor
{
HolographicFrameScanoutMonitor(std::nullptr_t) noexcept {}
HolographicFrameScanoutMonitor(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Graphics::Holographic::IHolographicFrameScanoutMonitor(ptr, take_ownership_from_abi) {}
};
struct WINRT_IMPL_EMPTY_BASES HolographicFrameScanoutReport : winrt::Windows::Graphics::Holographic::IHolographicFrameScanoutReport
{
HolographicFrameScanoutReport(std::nullptr_t) noexcept {}
HolographicFrameScanoutReport(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Graphics::Holographic::IHolographicFrameScanoutReport(ptr, take_ownership_from_abi) {}
};
struct WINRT_IMPL_EMPTY_BASES HolographicQuadLayer : winrt::Windows::Graphics::Holographic::IHolographicQuadLayer,
impl::require<HolographicQuadLayer, winrt::Windows::Foundation::IClosable>
{
HolographicQuadLayer(std::nullptr_t) noexcept {}
HolographicQuadLayer(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Graphics::Holographic::IHolographicQuadLayer(ptr, take_ownership_from_abi) {}
explicit HolographicQuadLayer(winrt::Windows::Foundation::Size const& size);
HolographicQuadLayer(winrt::Windows::Foundation::Size const& size, winrt::Windows::Graphics::DirectX::DirectXPixelFormat const& pixelFormat);
};
struct WINRT_IMPL_EMPTY_BASES HolographicQuadLayerUpdateParameters : winrt::Windows::Graphics::Holographic::IHolographicQuadLayerUpdateParameters,
impl::require<HolographicQuadLayerUpdateParameters, winrt::Windows::Graphics::Holographic::IHolographicQuadLayerUpdateParameters2>
{
HolographicQuadLayerUpdateParameters(std::nullptr_t) noexcept {}
HolographicQuadLayerUpdateParameters(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Graphics::Holographic::IHolographicQuadLayerUpdateParameters(ptr, take_ownership_from_abi) {}
};
struct WINRT_IMPL_EMPTY_BASES HolographicSpace : winrt::Windows::Graphics::Holographic::IHolographicSpace,
impl::require<HolographicSpace, winrt::Windows::Graphics::Holographic::IHolographicSpace2, winrt::Windows::Graphics::Holographic::IHolographicSpace3>
{
HolographicSpace(std::nullptr_t) noexcept {}
HolographicSpace(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Graphics::Holographic::IHolographicSpace(ptr, take_ownership_from_abi) {}
static auto CreateForCoreWindow(winrt::Windows::UI::Core::CoreWindow const& window);
[[nodiscard]] static auto IsSupported();
[[nodiscard]] static auto IsAvailable();
static auto IsAvailableChanged(winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler);
using IsAvailableChanged_revoker = impl::factory_event_revoker<winrt::Windows::Graphics::Holographic::IHolographicSpaceStatics2, &impl::abi_t<winrt::Windows::Graphics::Holographic::IHolographicSpaceStatics2>::remove_IsAvailableChanged>;
[[nodiscard]] static auto IsAvailableChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler);
static auto IsAvailableChanged(winrt::event_token const& token);
[[nodiscard]] static auto IsConfigured();
};
struct WINRT_IMPL_EMPTY_BASES HolographicSpaceCameraAddedEventArgs : winrt::Windows::Graphics::Holographic::IHolographicSpaceCameraAddedEventArgs
{
HolographicSpaceCameraAddedEventArgs(std::nullptr_t) noexcept {}
HolographicSpaceCameraAddedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Graphics::Holographic::IHolographicSpaceCameraAddedEventArgs(ptr, take_ownership_from_abi) {}
};
struct WINRT_IMPL_EMPTY_BASES HolographicSpaceCameraRemovedEventArgs : winrt::Windows::Graphics::Holographic::IHolographicSpaceCameraRemovedEventArgs
{
HolographicSpaceCameraRemovedEventArgs(std::nullptr_t) noexcept {}
HolographicSpaceCameraRemovedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Graphics::Holographic::IHolographicSpaceCameraRemovedEventArgs(ptr, take_ownership_from_abi) {}
};
struct WINRT_IMPL_EMPTY_BASES HolographicViewConfiguration : winrt::Windows::Graphics::Holographic::IHolographicViewConfiguration,
impl::require<HolographicViewConfiguration, winrt::Windows::Graphics::Holographic::IHolographicViewConfiguration2>
{
HolographicViewConfiguration(std::nullptr_t) noexcept {}
HolographicViewConfiguration(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Graphics::Holographic::IHolographicViewConfiguration(ptr, take_ownership_from_abi) {}
};
}
#endif