Navigation
Unreal Engine C++ API Reference > Runtime > RHI
Inheritance Hierarchy
References
Module | RHI |
Header | /Engine/Source/Runtime/RHI/Public/RHIResources.h |
Include | #include "RHIResources.h" |
Syntax
class FRHITexture : public FRHIViewableResource
Constructors
Type | Name | Description | |
---|---|---|---|
![]() |
FRHITexture
(
const FRHITextureCreateDesc& InDesc |
Initialization constructor. Should only be called by platform RHI implementations. |
Functions
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
const FClearValueBinding | ||
![]() ![]() |
FLinearColor | ||
![]() ![]() ![]() |
FRHIDescriptorHandle | ||
![]() ![]() |
float | ||
![]() ![]() |
void | GetDepthStencilClearValue
(
float& OutDepth, |
|
![]() ![]() ![]() |
const FRHITextureDesc & | GetDesc () |
Get the texture description used to create the texture Still virtual because FRHITextureReference can override this function - remove virtual when FRHITextureReference is deprecated |
![]() ![]() |
ETextureCreateFlags | GetFlags () |
|
![]() ![]() |
EPixelFormat | GetFormat () |
|
![]() ![]() |
double | ||
![]() ![]() |
FIntVector | GetMipDimensions
(
uint8 MipIndex |
Returns the dimensions (i.e. the actual number of texels in each dimension) of the specified mip. |
![]() ![]() ![]() |
void * | Returns access to the platform-specific native resource pointer. | |
![]() ![]() ![]() |
void * | Returns access to the platform-specific native shader resource view pointer. | |
![]() ![]() |
uint32 | GetNumMips () |
|
![]() ![]() |
uint32 | ||
![]() ![]() |
uint32 | GetSize () |
|
![]() ![]() |
uint32 | GetSizeX () |
|
![]() ![]() |
FIntPoint | GetSizeXY () |
|
![]() ![]() |
FIntVector | GetSizeXYZ () |
Helper getter functions - non virtual Returns the x, y & z dimensions if the texture The Z component will always be 1 for 2D/cube resources and will contain depth for volume textures & array size for array textures |
![]() ![]() |
uint32 | GetSizeY () |
|
![]() ![]() |
uint32 | GetSizeZ () |
|
![]() ![]() |
uint32 | ||
![]() |
FRHITexture * | GetTexture2D () |
Deprecated functions |
![]() |
FRHITexture * | ||
![]() |
FRHITexture * | GetTexture3D () |
|
![]() ![]() |
void * | Returns access to the platform-specific RHI texture baseclass. | |
![]() |
FRHITexture * | ||
![]() ![]() |
FRHITextureReference * | Virtual functions implemented per RHI | |
![]() ![]() |
void | GetWriteMaskProperties
(
void*& OutData, |
|
![]() ![]() |
bool | ||
![]() ![]() |
bool | ||
![]() |
void | SetLastRenderTime
(
float InLastRenderTime |
RenderTime & Name functions - non virtual sets the last time this texture was cached in a resource table. |
![]() |
void |