Navigation
Unreal Engine C++ API Reference > Runtime > Engine > Engine
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UStreamableRenderAsset
- UTexture
- UTexture2DDynamic
References
Module | Engine |
Header | /Engine/Source/Runtime/Engine/Classes/Engine/Texture2DDynamic.h |
Include | #include "Engine/Texture2DDynamic.h" |
Syntax
class UTexture2DDynamic : public UTexture
Remarks
Note : UTexture2DDynamic derives directly from UTexture not from UTexture2DUTexture2DDynamic is a base for textures that don't have a TextureSource
Variables
Type | Name | Description | |
---|---|---|---|
![]() |
uint8: 1 | bIsResolveTarget | Whether the texture can be used as a resolve target. |
![]() |
TEnumAsByte< enum EPixelFormat > | Format | The format of the texture. |
![]() |
int32 | NumMips | The number of mip-maps in the texture. |
![]() |
ESamplerAddressMode | SamplerAddressMode | The sampler default address mode for this texture. |
![]() |
int32 | SizeX | The width of the texture. |
![]() |
int32 | SizeY | The height of the texture. |
Constructors
Type | Name | Description | |
---|---|---|---|
![]() |
UTexture2DDynamic
(
const FObjectInitializer& ObjectInitializer |
Functions
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
UTexture2DDynamic * | Create
(
int32 InSizeX, |
Creates and initializes a new Texture2DDynamic with the requested settings |
![]() |
void | Init
(
int32 InSizeX, |
Initializes the texture with 1 mip-level and creates the render resource. |
Overridden from UTexture
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
FTextureResource * | Implemented by subclasses to create a new resource for the texture. | |
![]() ![]() ![]() |
EMaterialValueType | ||
![]() ![]() ![]() |
uint32 | ||
![]() ![]() ![]() |
float | ||
![]() ![]() ![]() |
float | ||
![]() ![]() ![]() |
float | ||
![]() ![]() ![]() |
ETextureClass | Get Texture Class |
Deprecated Functions
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
UTexture2DDynamic * | Create
(
int32 InSizeX, |
Please use UTexture2DDynamic::Create() with FTexture2DDynamicCreateInfo initialization |
![]() ![]() |
UTexture2DDynamic * | Create
(
int32 InSizeX, |
Please use UTexture2DDynamic::Create() with FTexture2DDynamicCreateInfo initialization |