Navigation
API > API/Plugins > API/Plugins/PCG > API/Plugins/PCG/Data
Inheritance Hierarchy
- UObject
- UPCGData
- UPCGSpatialData
- UPCGSpatialDataWithPointCache
- UPCGSurfaceData
- UPCGBaseTextureData
- UPCGTextureData
References
| Module | PCG |
| Header | /Engine/Plugins/PCG/Source/PCG/Public/Data/PCGTextureData.h |
| Include | #include "Data/PCGTextureData.h" |
Syntax
UCLASS (MinimalAPI, BlueprintType, ClassGroup=(Procedural))
class UPCGTextureData : public UPCGBaseTextureData
Variables
| Type | Name | Description | |
|---|---|---|---|
| bool | bReadbackFromGPUInitiated | ||
| bool | bSuccessfullyInitialized | ||
| TObjectPtr< UTexture2D > | DuplicateTexture | Transient CPU visible duplicate of Texture created and used only when initialized with bCreateCPUDuplicateEditorOnly. | |
| TFunction< void()> | PostInitializeCallback | Added to help deprecation in 5.5. To be removed when the deprecated Initialized function is removed. | |
| TWeakObjectPtr< UTexture > | Texture | ||
| int | TextureIndex |
Functions
| Type | Name | Description | |
|---|---|---|---|
| bool | Initialize
(
UTexture* InTexture, |
Initialize this data. | |
| void | Initialize
(
UTexture* InTexture, |
||
| void | InitializeInternal
(
UTexture* InTexture, |
||
| bool | Data is successfully initialized and is ready to use. |
Overridden from UPCGSpatialData
| Type | Name | Description | |
|---|---|---|---|
| UPCGSpatialData * | CopyInternal
(
FPCGContext* Context |
Overridden from UPCGData
| Type | Name | Description | |
|---|---|---|---|
| void | AddToCrc
(
FArchiveCrc32& Ar, |
Adds this data to Crc. Fallback implementation writes object instance UID. | |
| EPCGDataType | GetDataType () |