MCRO
C++23 utilities for Unreal Engine.
Loading...
Searching...
No Matches
Textures.h File Reference
#include "CoreMinimal.h"
#include "Mcro/Concepts.h"
#include "Mcro/AssertMacros.h"
#include "Engine/TextureRenderTarget2D.h"

Go to the source code of this file.

Data Structures

struct  Mcro::Rendering::Textures::TTextureSize< SizeType, InFormatType >
 

Namespaces

namespace  Mcro
 
namespace  Mcro::Rendering
 
namespace  Mcro::Rendering::Textures
 

Concepts

concept  Mcro::Rendering::Textures::CTextureSize
 

Typedefs

using Mcro::Rendering::Textures::FUnrealTextureSize = TTextureSize<uint32, EPixelFormat>
 

Functions

MCRO_API FRHITexture * Mcro::Rendering::Textures::GetRhiTexture2D (UTexture *target)
 
template<CEnum FormatType>
constexpr auto Mcro::Rendering::Textures::GetUnknownFormat ()
 
template<>
constexpr auto Mcro::Rendering::Textures::GetUnknownFormat< EPixelFormat > ()
 
template<>
constexpr auto Mcro::Rendering::Textures::GetUnknownFormat< ETextureRenderTargetFormat > ()
 
template<CEnum ToFormatType, CEnum FromFormatType>
requires (!CSameAs<ToFormatType, FromFormatType>)
ToFormatType Mcro::Rendering::Textures::ConvertFormat (FromFormatType from)
 
template<CEnum ToFormatType, CEnum FromFormatType>
requires CSameAs<ToFormatType, FromFormatType>
ToFormatType Mcro::Rendering::Textures::ConvertFormat (FromFormatType from)
 
template<>
FORCEINLINE_DEBUGGABLE ETextureRenderTargetFormat Mcro::Rendering::Textures::ConvertFormat< ETextureRenderTargetFormat, EPixelFormat > (EPixelFormat from)
 
template<>
FORCEINLINE_DEBUGGABLE EPixelFormat Mcro::Rendering::Textures::ConvertFormat< EPixelFormat, ETextureRenderTargetFormat > (ETextureRenderTargetFormat from)
 
template<CTextureSize Left, CTextureSize Right>
bool Mcro::Rendering::Textures::operator== (Left const &l, Right const &r)
 
template<CTextureSize Left, CTextureSize Right>
bool Mcro::Rendering::Textures::operator!= (Left const &l, Right const &r)
 
MCRO_API FUnrealTextureSize Mcro::Rendering::Textures::GetTextureSize (UTexture *texture)
 

Detailed Description

Author
David Mórász
Date
2025

Definition in file Textures.h.