Navigation
API > API/Runtime > API/Runtime/Engine
Inheritance Hierarchy
- FRenderResource
- FTexture
- FTextureResource
- FVirtualTexture2DResource
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Public/TextureResource.h |
| Include | #include "TextureResource.h" |
Syntax
class FVirtualTexture2DResource : public FTextureResource
Variables
| Type | Name | Description | |
|---|---|---|---|
| TEnumAsByte< ESamplerAddressMode > | AddressU | ||
| TEnumAsByte< ESamplerAddressMode > | AddressV | ||
| IAllocatedVirtualTexture * | AllocatedVT | Local allocated VT objects used for editor views etc. | |
| bool | bContinuousUpdate | Cached runtime virtual texture settings | |
| bool | bSinglePhysicalSpace | ||
| TEnumAsByte< ESamplerFilter > | Filter | Cached sampler config | |
| int32 | FirstMipToUse | Mip offset | |
| FName | PackageName | The FName of the texture package for stats | |
| FVirtualTextureProducerHandle | ProducerHandle | ||
| ETextureCreateFlags | TexCreateFlags | Cached flags for texture creation. | |
| FName | TextureName | The FName of the texture asset | |
| FVirtualTextureBuiltData * | VTData | Built data owned by texture asset |
Constructors
| Type | Name | Description | |
|---|---|---|---|
FVirtualTexture2DResource
(
const UTexture2D* InOwner, |
Destructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| IAllocatedVirtualTexture * | |||
| uint32 | |||
| IAllocatedVirtualTexture * | FVirtualTexture2DResource may have an AllocatedVT, which represents a page table allocation for the virtual texture. | ||
| uint32 | |||
| EPixelFormat | GetFormat
(
uint32 LayerIndex |
||
| uint32 | GetNumLayers () |
||
| uint32 | GetNumMips () |
||
| uint32 | GetNumTilesX () |
||
| uint32 | GetNumTilesY () |
||
| FIntPoint | GetPhysicalTextureSize
(
uint32 LayerIndex |
||
| const FVirtualTextureProducerHandle & | |||
| FIntPoint | |||
| uint32 | GetTileSize () |
||
| void | InitializeEditorResources
(
IVirtualTexture* InVirtualTexture |
||
| void |
Overridden from FTextureResource
| Type | Name | Description | |
|---|---|---|---|
| FVirtualTexture2DResource * | Dynamic cast methods. | ||
| const FVirtualTexture2DResource * | Dynamic cast methods (const). |
Overridden from FTexture
| Type | Name | Description | |
|---|---|---|---|
| uint32 | GetSizeX () |
Returns the width of the texture in pixels. | |
| uint32 | GetSizeY () |
Returns the height of the texture in pixels. |
Overridden from FRenderResource
| Type | Name | Description | |
|---|---|---|---|
| void | InitRHI
(
FRHICommandListBase& RHICmdList |
Initializes the RHI resources used by this resource. | |
| void | ReleaseRHI () |
Releases the RHI resources used by this resource. |