| FRenderResource
|
Module |
|
Header |
/Engine/Source/Runtime/Engine/Public/TextureResource.h |
Include |
#include "TextureResource.h" |
class FTexture2DArrayResource : public FTextureResource
Represents a 2D Texture Array to the renderer.
Name | Description | |
---|---|---|
|
FTexture2DArrayResource() |
|
|
FTexture2DArrayResource ( |
Name | Description | ||
---|---|---|---|
|
AddTexture2D ( |
Adds a texture to the texture array. |
|
|
BeginPreventReallocation() |
Prevents reallocation from removals of the texture array until EndPreventReallocation is called. |
|
|
EndPreventReallocation() |
Restores the ability to reallocate the texture array. |
|
|
GetNumSlices() |
Returns the number of slices(textures) in this array. |
|
|
GetNumValidTextures() |
||
|
GetTextureIndex ( |
Returns the index of a given texture in the texture array. |
|
|
RemoveTexture2D ( |
Removes a texture from the texture array, and potentially removes the CachedData entry if the last ref was removed. |
|
|
UpdateResource() |
Initializes the texture array resource if needed, and re-initializes if the texture array has been made dirty since the last init. |
|
|
UpdateTexture2D ( |
Updates a CachedData entry (if one exists for this texture), with a new texture. |
Name | Description | ||
---|---|---|---|
|
GetSizeX() |
Returns the width of the texture in pixels. |
|
|
GetSizeY() |
Returns the height of the texture in pixels. |