Navigation
API > API/Plugins > API/Plugins/PCG
| Name | UPCGTextureData |
| Type | class |
| Header File | /Engine/Plugins/PCG/Source/PCG/Public/Data/PCGTextureData.h |
| Include Path | #include "Data/PCGTextureData.h" |
Syntax
UCLASS (MinimalAPI, BlueprintType, ClassGroup=(Procedural))
class UPCGTextureData : public UPCGTexture2DSingleBaseData
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UPCGData → UPCGSpatialData → UPCGSpatialDataWithPointCache → UPCGSurfaceData → UPCGTexture2DBaseData → UPCGTexture2DSingleBaseData → UPCGTextureData
Typedefs
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| TypeInfo | FPCGDataTypeInfoTexture2D | Data/PCGTextureData.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bDuplicateTextureInitialized | bool | Data/PCGTextureData.h |
|
|
| bReadbackFromGPUInitiated | bool | Data/PCGTextureData.h | ||
| bSuccessfullyInitialized | bool | Data/PCGTextureData.h |
|
|
| DuplicateTexture | TObjectPtr< UTexture2D > | Transient CPU visible duplicate of Texture created and used only when initialized with bCreateCPUDuplicateEditorOnly. | Data/PCGTextureData.h |
|
| Texture | TWeakObjectPtr< UTexture > | Data/PCGTextureData.h |
|
|
| TextureIndex | int | Data/PCGTextureData.h |
|
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool Initialize
(
UTexture* InTexture, |
Initialize this data. | Data/PCGTextureData.h | |
bool Initialize
(
TRefCountPtr< IPooledRenderTarget > InTextureHandle, |
Data/PCGTextureData.h | ||
bool Initialize
(
UTexture* InTexture, |
Data/PCGTextureData.h | ||
bool Initialize
(
TRefCountPtr< IPooledRenderTarget > InTextureHandle, |
Data/PCGTextureData.h | ||
bool IsSuccessfullyInitialized() |
Data is successfully initialized and is ready to use. | Data/PCGTextureData.h |
Public Virtual
Overridden from UPCGTexture2DSingleBaseData
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual UTexture * GetTexture() |
Data/PCGTextureData.h | ||
virtual EPCGTextureResourceType GetTextureResourceType() |
Data/PCGTextureData.h | ||
virtual FTextureRHIRef GetTextureRHI() |
Data/PCGTextureData.h | ||
virtual int GetTextureSlice() |
Data/PCGTextureData.h | ||
virtual bool RequestCPUReadback() |
Data/PCGTextureData.h |
Overridden from UPCGTexture2DBaseData
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual TRefCountPtr< IPooledRenderTarget > GetRefCountedTexture() |
Data/PCGTextureData.h |
Overridden from UPCGData
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void AddToCrc
(
FArchiveCrc32& Ar, |
Adds this data to Crc. | Data/PCGTextureData.h | |
virtual EPCGDataType GetDataType() |
@todo_pcg To be deprecated when we switch to the new type | Data/PCGTextureData.h | |
virtual const FPCGDataTypeBaseId & GetDataTypeId() |
Data/PCGTextureData.h | ||
virtual bool IsCacheable() |
Whether the data can be placed in the graph cache. | Data/PCGTextureData.h | |
virtual void ReleaseTransientResources
(
const TCHAR* InReason |
Data/PCGTextureData.h |
Overridden from UObject
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void GetResourceSizeEx
(
FResourceSizeEx& CumulativeResourceSize |
Data/PCGTextureData.h |
Protected
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void InitializeInternal
(
UTexture* InTexture, |
Data/PCGTextureData.h |
Protected Virtual
Overridden from UPCGSpatialData
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual UPCGSpatialData * CopyInternal
(
FPCGContext* Context |
Data/PCGTextureData.h |