Navigation
API > API/Plugins > API/Plugins/PCG
Base class of 2D textures, 2D texture arrays, 2d render targets.
| Name | UPCGTexture2DBaseData |
| Type | class |
| Header File | /Engine/Plugins/PCG/Source/PCG/Public/Data/PCGTexture2DBaseData.h |
| Include Path | #include "Data/PCGTexture2DBaseData.h" |
Syntax
UCLASS (MinimalAPI, Abstract)
class UPCGTexture2DBaseData : public UPCGSurfaceData
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UPCGData → UPCGSpatialData → UPCGSpatialDataWithPointCache → UPCGSurfaceData → UPCGTexture2DBaseData
Derived Classes
Typedefs
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| TypeInfo | FPCGDataTypeInfoTexture2DBase | Data/PCGTexture2DBaseData.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Filter | EPCGTextureFilter | Data/PCGTexture2DBaseData.h |
|
Functions
Public Virtual
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual uint16 GetArraySize() |
Data/PCGTexture2DBaseData.h | ||
virtual EPCGTextureFilter GetFilter() |
Data/PCGTexture2DBaseData.h | ||
virtual EPixelFormat GetFormat() |
Data/PCGTexture2DBaseData.h | ||
virtual uint8 GetNumMips() |
Data/PCGTexture2DBaseData.h | ||
virtual TRefCountPtr< IPooledRenderTarget > GetRefCountedTexture() |
Data/PCGTexture2DBaseData.h | ||
virtual FIntPoint GetResolution() |
Data/PCGTexture2DBaseData.h |
Overridden from UPCGSpatialData
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual FBox GetBounds() |
Returns the full bounds (including density fall-off) of the data | Data/PCGTexture2DBaseData.h | |
virtual FBox GetStrictBounds() |
Returns the bounds in which the density is always 1 | Data/PCGTexture2DBaseData.h |
Overridden from UPCGData
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual const FPCGDataTypeBaseId & GetDataTypeId() |
Data/PCGTexture2DBaseData.h |
Overridden from UObject
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void GetResourceSizeEx
(
FResourceSizeEx& CumulativeResourceSize |
Data/PCGTexture2DBaseData.h |
Protected
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void CopyTexture2DBaseData
(
UPCGTexture2DBaseData* NewTextureData |
Data/PCGTexture2DBaseData.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static FTransform ComputeTransform
(
const IPCGGraphExecutionSource* InExecutionSource |
Helper to compute the texture data transform based on the execution source transform and bounds. | Data/PCGTexture2DBaseData.h |