#include <RHIResources.h>
◆ FRHITexture() [1/3]
| FRHITexture::FRHITexture |
( |
| ) |
|
|
protecteddelete |
◆ FRHITexture() [2/3]
Initialization constructor. Should only be called by platform RHI implementations.
◆ FRHITexture() [3/3]
Constructor for texture references
◆ GetClearBinding()
◆ GetClearColor()
- Returns
- the clear color value if set
◆ GetDefaultBindlessHandle()
◆ GetDepthClearValue()
| float FRHITexture::GetDepthClearValue |
( |
| ) |
const |
|
inline |
- Returns
- the depth clear value if set
◆ GetDepthStencilClearValue()
| void FRHITexture::GetDepthStencilClearValue |
( |
float & |
OutDepth, |
|
|
uint32 & |
OutStencil |
|
) |
| const |
|
inline |
- Returns
- the depth & stencil clear value if set
◆ GetDesc()
◆ GetFlags()
◆ GetFormat()
◆ GetLastRenderTime()
| double FRHITexture::GetLastRenderTime |
( |
| ) |
const |
|
inline |
◆ GetMipDimensions()
Returns the dimensions (i.e. the actual number of texels in each dimension) of the specified mip. ArraySize is ignored. The Z component will always be 1 for 2D/cube resources and will contain depth for volume textures. This differs from GetSizeXYZ() which returns ArraySize in Z for 2D arrays.
◆ GetNativeResource()
| virtual void * FRHITexture::GetNativeResource |
( |
| ) |
const |
|
inlinevirtual |
Returns access to the platform-specific native resource pointer. This is designed to be used to provide plugins with access to the underlying resource and should be used very carefully or not at all.
- Returns
- The pointer to the native resource or NULL if it not initialized or not supported for this resource type for some reason
Reimplemented in FOpenGLTexture, FRHITextureReference, FD3D11Texture, FMetalSurface, FD3D12Texture, and FVulkanTexture.
◆ GetNativeShaderResourceView()
| virtual void * FRHITexture::GetNativeShaderResourceView |
( |
| ) |
const |
|
inlinevirtual |
Returns access to the platform-specific native shader resource view pointer. This is designed to be used to provide plugins with access to the underlying resource and should be used very carefully or not at all.
- Returns
- The pointer to the native resource or NULL if it not initialized or not supported for this resource type for some reason
Reimplemented in FRHITextureReference, and FD3D11Texture.
◆ GetNumMips()
| uint32 FRHITexture::GetNumMips |
( |
| ) |
const |
|
inline |
◆ GetNumSamples()
| uint32 FRHITexture::GetNumSamples |
( |
| ) |
const |
|
inline |
◆ GetSize()
| uint32 FRHITexture::GetSize |
( |
| ) |
const |
|
inline |
◆ GetSizeX()
| uint32 FRHITexture::GetSizeX |
( |
| ) |
const |
|
inline |
◆ GetSizeXY()
◆ 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
◆ GetSizeY()
| uint32 FRHITexture::GetSizeY |
( |
| ) |
const |
|
inline |
◆ GetSizeZ()
| uint32 FRHITexture::GetSizeZ |
( |
| ) |
const |
|
inline |
◆ GetStencilClearValue()
| uint32 FRHITexture::GetStencilClearValue |
( |
| ) |
const |
|
inline |
- Returns
- the stencil clear value if set
◆ GetTexture2D()
◆ GetTexture2DArray()
◆ GetTexture3D()
◆ GetTextureBaseRHI()
◆ GetTextureCube()
◆ GetTextureReference()
◆ GetWriteMaskProperties()
◆ HasClearValue()
| bool FRHITexture::HasClearValue |
( |
| ) |
const |
|
inline |
- Returns
- Whether the texture has a clear color defined
◆ IsMultisampled()
| bool FRHITexture::IsMultisampled |
( |
| ) |
const |
|
inline |
- Returns
- Whether the texture is multi sampled.
◆ SetLastRenderTime()
| void FRHITexture::SetLastRenderTime |
( |
float |
InLastRenderTime | ) |
|
|
inline |
RenderTime & Name functions - non virtual sets the last time this texture was cached in a resource table.
◆ SetName()
◆ FRHITextureReference
The documentation for this class was generated from the following files: