Navigation
API > API/Plugins > API/Plugins/PCG > API/Plugins/PCG/Elements > API/Plugins/PCG/Elements/UPCGTextureSamplerSettings
Syntax
UPROPERTY (BlueprintReadWrite, EditAnywhere, Category="Settings",
Meta=(DisplayName="Force Editor Only CPU Sampling"))
bool bForceEditorOnlyCPUSampling
Remarks
Even if the texture is not set to CPU-available, it can still be accessed from CPU memory under certain conditions (sRGB disabled, no mipmaps, and non-compressed format). Reading from CPU memory will be faster and more accurate than reading from GPU memory, since the texture will not be subject to compression or resolution clamping. Enable this flag to force a duplicate of the texture with the correct settings for CPU memory access. This is editor-only.