| FRenderResource
|
Module |
|
Header |
/Engine/Source/Runtime/Engine/Public/TextureResource.h |
Include |
#include "TextureResource.h" |
class FTexture2DResource : public FTextureResource
FTextureResource implementation for streamable 2D textures.
Name | Description | |
---|---|---|
|
FTexture2DResource ( |
Minimal initialization constructor. Minimal initialization constructor. |
Name | Description | |
---|---|---|
|
~FTexture2DResource() |
Destructor, freeing MipData in the case of resource being destroyed without ever having been initialized by the rendering thread via InitRHI. |
Name | Description | ||
---|---|---|---|
|
GetCurrentFirstMip() |
Returns the current first mip (always valid) |
|
|
FTexture2DRH... |
GetTexture2DRHI() |
Accessor |
|
UpdateTexture ( |
Name | Description | ||
---|---|---|---|
|
RefreshSamplerStates() |
Releases and recreates any sampler state objects. used when updating mip map bias offset |
Name | Description | ||
---|---|---|---|
|
GetSizeX() |
Returns the width of the texture in pixels. |
|
|
GetSizeY() |
Returns the height of the texture in pixels. |
Name | Description | ||
---|---|---|---|
|
GetFriendlyName() |
||
|
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. |