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 UPCGBaseTextureData
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UPCGData → UPCGSpatialData → UPCGSpatialDataWithPointCache → UPCGSurfaceData → UPCGBaseTextureData → 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 |
|
| PostInitializeCallback | TFunction< void()> | Added to help deprecation in 5.5. To be removed when the deprecated Initialized function is removed. | Data/PCGTextureData.h | |
| Texture | TWeakObjectPtr< UTexture > | Data/PCGTextureData.h |
|
|
| TextureIndex | int | Data/PCGTextureData.h |
|
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool Initialize
(
TRefCountPtr< IPooledRenderTarget > InTextureHandle, |
Data/PCGTextureData.h | ||
bool Initialize
(
UTexture* InTexture, |
Initialize this data. | Data/PCGTextureData.h | |
void Initialize
(
UTexture* InTexture, |
Data/PCGTextureData.h | ||
bool IsSuccessfullyInitialized() |
Data is successfully initialized and is ready to use. | Data/PCGTextureData.h |
Overridden from UPCGBaseTextureData
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual TRefCountPtr< IPooledRenderTarget > GetRefCountedTexture() |
Data/PCGTextureData.h | ||
virtual UTexture * GetTexture() |
Data/PCGTextureData.h | ||
virtual EPCGTextureResourceType GetTextureResourceType() |
Data/PCGTextureData.h | ||
virtual FTextureRHIRef GetTextureRHI() |
Data/PCGTextureData.h | ||
virtual int GetTextureSlice() |
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 PRAGMA_DISABLE_DEPRECATION_WARNINGSEPCGDataType 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 HoldsTransientResources() |
Don't hold onto exported buffers currently as graphics memory usage (and lifetimes) may cause issues. | 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 |
Protected
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void InitializeInternal
(
UTexture* InTexture, |
Data/PCGTextureData.h |
Overridden from UPCGSpatialData
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual UPCGSpatialData * CopyInternal
(
FPCGContext* Context |
Data/PCGTextureData.h |
Deprecated Variables
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bReadbackFromGPUInitiated_DEPRECATED | bool | Data/PCGTextureData.h |