You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
a7f9391231
This represents UE4/Main @ 14768117 For ReleaseObjectVersion.h #lockdown Marcus.Wassmer [CL 14811440 by Marc Audy in ue5-main branch]
24 lines
689 B
C++
24 lines
689 B
C++
// Copyright Epic Games, Inc. All Rights Reserved.
|
|
|
|
#pragma once
|
|
|
|
#include <tchar.h>
|
|
#include <string>
|
|
#include <d3d11.h>
|
|
|
|
#include "TextureShareInterface.h"
|
|
|
|
class FTextureShareD3D11Helper
|
|
{
|
|
public:
|
|
// Compare two textures size+format
|
|
static bool IsTexturesEqual(ID3D11Texture2D* Texture1, ID3D11Texture2D* Texture2);
|
|
|
|
// Create texture and create SRV
|
|
static bool CreateSRVTexture(ID3D11Device* pD3D11Device, ID3D11Texture2D* InSharedTexture, ID3D11Texture2D** OutTexture, ID3D11ShaderResourceView** OutShaderResourceView);
|
|
|
|
// Copy image between two textures
|
|
static bool CopyResource(ID3D11Device* pD3D11Device, ID3D11Resource* SourceTexture2D, ID3D11Resource* DestTexture2D);
|
|
};
|
|
|