Navigation
API > API/Runtime > API/Runtime/Engine
Parameters used for creating a Texture2D from a simple color buffer.
| Name | FCreateTexture2DParameters |
| Type | struct |
| Header File | /Engine/Source/Runtime/Engine/Public/ImageUtils.h |
| Include Path | #include "ImageUtils.h" |
Syntax
struct FCreateTexture2DParameters
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FCreateTexture2DParameters() |
ImageUtils.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bDeferCompression | bool | If texture should be compressed right away, or defer until package is saved | ImageUtils.h | |
| bSRGB | bool | If texture should be set as SRGB | ImageUtils.h | |
| bUseAlpha | bool | True if alpha channel is used | ImageUtils.h | |
| bVirtualTexture | bool | If texture should be a virtual texture | ImageUtils.h | |
| CompressionSettings | TextureCompressionSettings | Compression settings to use for texture | ImageUtils.h | |
| MipGenSettings | TextureMipGenSettings | Mip-map generation settings | ImageUtils.h | |
| SourceGuidHash | FGuid | The Guid hash to use part of the texture source's DDC key | ImageUtils.h | |
| TextureGroup | TextureGroup | Group this texture belongs to | ImageUtils.h |