Choose your operating system:
Windows
macOS
Linux
Module |
|
Header |
/Engine/Source/Runtime/RenderCore/Public/RenderResource.h |
Include |
#include "RenderResource.h" |
class FTexture : public FRenderResource
A textures resource.
Name | Description | ||
---|---|---|---|
|
bGreyScaleFormat |
True if the texture is in a greyscale texture format. |
|
|
bIgnoreGammaConversions |
True if the texture is in the same gamma space as the intended rendertarget (e.g. screenshots). |
|
|
bSRGB |
Is the pixel data in this texture sRGB? |
|
|
DeferredPassSamplerStateRHI |
Sampler state to be used in deferred passes when discontinuities in ddx / ddy would cause too blurry of a mip to be used. |
|
|
double |
LastRenderTime |
The last time the texture has been bound |
|
MipBiasFade |
Base values for fading in/out mip-levels. |
|
|
SamplerStateRHI |
The sampler state to use for the texture. |
|
|
TextureRHI |
The texture's RHI resource. |
Name | Description | |
---|---|---|
|
FTexture() |
Default constructor. |
Name | Description | |
---|---|---|
|
~FTexture() |
Destructor. |
Name | Description | ||
---|---|---|---|
|
FRHISamplerS... |
GetOrCreateSamplerState ( |
|
|
GetSizeX() |
Returns the width of the texture in pixels. |
|
|
GetSizeY() |
Returns the height of the texture in pixels. |
|
|
GetSizeZ() |
Returns the depth of the texture in pixels. |
Name | Description | ||
---|---|---|---|
|
GetFriendlyName() |
||
|
ReleaseRHI() |
Releases the RHI resources used by this resource. |