Navigation
Unreal Engine C++ API Reference > Runtime > Engine > Engine
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UStreamableRenderAsset
- UTexture
- UTextureCubeArray
References
Module | Engine |
Header | /Engine/Source/Runtime/Engine/Classes/Engine/TextureCubeArray.h |
Include | #include "Engine/TextureCubeArray.h" |
Syntax
UCLASS (HideCategories=Object, MinimalAPI, BlueprintType)
class UTextureCubeArray : public UTexture
Variables
Type | Name | Description | |
---|---|---|---|
bool | bSourceGeneratedFromSourceTexturesArray | Is set to true if the source texture was generated from the SourceTextures array (which is not always the case, i.e. the source texture could be imported from a DDS file containing multiple cubemaps). | |
TMap< FString, FTexturePlatformData * > | CookedPlatformData | ||
FTexturePlatformData * | PrivatePlatformData | The derived data for this texture on this platform. | |
TArray< TObjectPtr< UTextureCube > > | SourceTextures | Add Textures |
Constructors
Type | Name | Description | |
---|---|---|---|
UTextureCubeArray
(
const FObjectInitializer& ObjectInitializer |
Functions
Type | Name | Description | |
---|---|---|---|
uint32 | CalcTextureMemorySize
(
int32 MipCount |
Calculates the size of this texture in bytes if it had MipCount mip-levels streamed in. | |
bool | |||
UTextureCubeArray * | CreateTransient
(
int32 InSizeX, |
Creates and initializes a new TextureCubeArray with the requested settings | |
int32 | GetNumMips () |
||
int32 | GetNumSlices () |
||
EPixelFormat | |||
FTexturePlatformData * | Get the derived data for this texture on this platform. | ||
const FTexturePlatformData * | Get the const derived data for this texture on this platform. | ||
int32 | GetSizeX () |
||
int32 | GetSizeY () |
||
void | |||
void | SetPlatformData
(
FTexturePlatformData* PlatformData |
Set the derived data for this texture on this platform. | |
bool | UpdateSourceFromSourceTextures
(
bool bCreatingNewTexture |
Overridden from UTexture
Type | Name | Description | |
---|---|---|---|
uint32 | Calculates the size of this texture if it had MipCount mip levels streamed in. | ||
FTextureResource * | Implemented by subclasses to create a new resource for the texture. | ||
TMap< FString, FTexturePlatformData * > * | |||
EMaterialValueType | |||
uint32 | Return maximum dimension for this texture type. | ||
FTexturePlatformData ** | Textures that use the derived data cache must override this function and provide a pointer to the linked list of platform data. | ||
uint32 | |||
float | |||
float | |||
float | |||
ETextureClass | Get Texture Class | ||
bool | Returns true if the current texture is a default placeholder because compilation is still ongoing. | ||
void | Creates a new resource for the texture, and updates any cached references to the resource. |
Overridden from UObject
Type | Name | Description | |
---|---|---|---|
void | GetAssetRegistryTags
(
TArray< FAssetRegistryTag >& OutTags |
||
void | GetAssetRegistryTags
(
FAssetRegistryTagsContext Context |
Gathers a list of asset registry searchable tags which are name/value pairs with some type information This only needs to be implemented for asset objects | |
FString | GetDesc () |
Return a one line description of an object for viewing in the thumbnail view of the generic browser | |
void | GetResourceSizeEx
(
FResourceSizeEx& CumulativeResourceSize |
Get the size of the object/resource for use in memory tools or to display to artists/LDs in the Editor This is the extended version which separates up the used memory into different memory regions (the actual definition of which may be platform specific). | |
void | PostEditChangeProperty
(
FPropertyChangedEvent& PropertyChangedEvent |
Called when a property on this object has been modified externally | |
void | PostLoad () |
Do any object-specific cleanup required immediately after loading an object. | |
void | Handles reading, writing, and reference collecting using FArchive. |