MCRO
C++23 utilities for Unreal Engine.
|
#include <Textures.h>
Public Types | |
using | FormatType = InFormatType |
Public Member Functions | |
TTextureSize () | |
template<CScalar SizeTypeArg, CEnum FormatTypeArg> | |
TTextureSize (SizeTypeArg width, SizeTypeArg height, FormatTypeArg format) | |
template<CTextureSize OtherTextureSize> | |
TTextureSize (OtherTextureSize const &other) | |
template<CTextureSize OtherTextureSize> | |
TTextureSize (OtherTextureSize &&other) | |
operator bool () const | |
template<CTextureSize OtherTextureSize> | |
operator OtherTextureSize () const | |
Data Fields | |
SizeType | Width = 0 |
SizeType | Height = 0 |
InFormatType | Format = GetUnknownFormat<InFormatType>() |
A simple texture size description which can be used for checking the need to recreate a texture resource.
SizeType | the integral type for texture size |
InFormatType | the type of the format enum |
Definition at line 124 of file Textures.h.
using Mcro::Rendering::Textures::TTextureSize< SizeType, InFormatType >::FormatType = InFormatType |
Definition at line 126 of file Textures.h.
|
inline |
Definition at line 128 of file Textures.h.
|
inline |
Definition at line 131 of file Textures.h.
|
inline |
Definition at line 138 of file Textures.h.
|
inline |
Definition at line 145 of file Textures.h.
|
inline |
Definition at line 155 of file Textures.h.
|
inline |
Definition at line 161 of file Textures.h.
InFormatType Mcro::Rendering::Textures::TTextureSize< SizeType, InFormatType >::Format = GetUnknownFormat<InFormatType>() |
Definition at line 153 of file Textures.h.
SizeType Mcro::Rendering::Textures::TTextureSize< SizeType, InFormatType >::Height = 0 |
Definition at line 152 of file Textures.h.
SizeType Mcro::Rendering::Textures::TTextureSize< SizeType, InFormatType >::Width = 0 |
Definition at line 151 of file Textures.h.