Files
XCEngine/new_editor/app/Rendering/D3D12/D3D12WindowInteropInternal.h

20 lines
594 B
C++

#pragma once
#include "D3D12WindowInteropContext.h"
namespace XCEngine::UI::Editor::Host::D3D12WindowInteropInternal {
std::string HrToInteropString(const char* operation, HRESULT hr);
D2D1_BITMAP_PROPERTIES1 BuildD2DBitmapProperties(
DXGI_FORMAT format,
D2D1_BITMAP_OPTIONS options);
bool IsInteropTextureHandle(const ::XCEngine::UI::UITextureHandle& texture);
void CollectInteropTextureHandles(
const ::XCEngine::UI::UIDrawData& drawData,
std::vector<::XCEngine::UI::UITextureHandle>& outTextures);
} // namespace XCEngine::UI::Editor::Host::D3D12WindowInteropInternal