| FRenderResource
|
Module |
|
Header |
/Engine/Source/Runtime/Engine/Public/TextureResource.h |
Include |
#include "TextureResource.h" |
class FTexture2DDynamicResource : public FTextureResource
A dynamic 2D texture resource.
Name | Description | |
---|---|---|
|
FTexture2DDynamicResource ( |
Initialization constructor. |
Name | Description | ||
---|---|---|---|
|
FTexture2DRH... |
GetTexture2DRHI() |
Returns the Texture2DRHI, which can be used for locking/unlocking the mips. |
Name | Description | ||
---|---|---|---|
|
GetSizeX() |
Returns the width of the texture in pixels. |
|
|
GetSizeY() |
Returns the height of the texture in pixels. |
Name | Description | ||
---|---|---|---|
|
InitRHI() |
Called when the resource is initialized. This is only called by the rendering thread. |
|
|
ReleaseRHI() |
Called when the resource is released. This is only called by the rendering thread. |