Navigation
Unreal Engine C++ API Reference > Runtime > Engine > Engine
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UStreamableRenderAsset
- UTexture
- UVolumeTexture
References
Module | Engine |
Header | /Engine/Source/Runtime/Engine/Classes/Engine/VolumeTexture.h |
Include | #include "Engine/VolumeTexture.h" |
Syntax
UCLASS (HideCategories=(Object, Compositing, ImportSettings), MinimalAPI)
class UVolumeTexture : public UTexture
Variables
Type | Name | Description | |
---|---|---|---|
![]() ![]() ![]() ![]() ![]() |
TEnumAsByte< enum TextureAddress > | AddressMode | The addressing mode to use for the X, Y and Z axis. |
![]() |
TMap< FString, FTexturePlatformData * > | CookedPlatformData | |
![]() |
FTexturePlatformData * | PrivatePlatformData | The derived data for this texture on this platform. |
![]() ![]() ![]() |
TObjectPtr< UTexture2D > | Source2DTexture | A (optional) reference texture from which the volume texture was built |
![]() ![]() ![]() |
int32 | Source2DTileSizeX | The reference texture tile size X |
![]() ![]() ![]() |
int32 | Source2DTileSizeY | The reference texture tile size Y |
Constructors
Type | Name | Description | |
---|---|---|---|
![]() |
UVolumeTexture
(
const FObjectInitializer& ObjectInitializer |
Functions
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
uint32 | CalcTextureMemorySize
(
int32 MipCount |
Calculates the size of this texture in bytes if it had MipCount miplevels streamed in. |
![]() ![]() |
UVolumeTexture * | CreateTransient
(
int32 InSizeX, |
Creates and initializes a new VolumeTexture with the requested settings |
![]() ![]() |
int32 | GetNumMips () |
|
![]() ![]() |
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 () |
|
![]() ![]() |
int32 | GetSizeZ () |
|
![]() |
void | ||
![]() |
void | SetPlatformData
(
FTexturePlatformData* PlatformData |
Set the derived data for this texture on this platform. |
![]() |
void | ||
![]() |
bool | UpdateSourceFromFunction
(
TFunction< void(int32, int32, int32, void*)> Func, |
Updates a volume texture from a user function, which allows for arbitrary UVolumeTexture objects to be filled. |
![]() |
bool |
Overridden from UTexture
Type | Name | Description | |
---|---|---|---|
![]() ![]() ![]() |
uint32 | Calculates the size of this texture if it had MipCount miplevels 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 | ||
![]() ![]() ![]() |
TextureAddress | ||
![]() ![]() ![]() |
TextureAddress | ||
![]() ![]() ![]() |
TextureAddress | ||
![]() ![]() ![]() |
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 UStreamableRenderAsset
Type | Name | Description | |
---|---|---|---|
![]() ![]() ![]() |
int32 | CalcCumulativeLODSize
(
int32 NumLODs |
|
![]() ![]() |
bool | Loads mips from disk to memory. Only usable if the asset is streamable. | |
![]() ![]() |
bool | Unload some mips from memory. Only usable if the asset is streamable. |
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. |
Deprecated Variables
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
FGuid | SourceLightingGuid_DEPRECATED |