Navigation
API > API/Runtime > API/Runtime/Engine
Inheritance Hierarchy
- FRenderResource
- FTexture
- FTextureResource
- FStreamableTextureResource
- FTexture2DResource
- FTexture2DDynamicResource
- FTextureRenderTargetResource
- FSlateTextureRenderTarget2DResource
- FTextureRenderTarget2DArrayResource
- FTextureRenderTarget2DResource
- FTextureRenderTargetCubeResource
- FTextureRenderTargetVolumeResource
- FVirtualTexture2DResource
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Public/TextureResource.h |
| Include | #include "TextureResource.h" |
Syntax
class FTextureResource : public FTexture
Remarks
The rendering resource which represents a texture.
Variables
| Type | Name | Description | |
|---|---|---|---|
| FTextureReferenceRHIRef | TextureReferenceRHI | A FRHITextureReference to update whenever the FTexture::TextureRHI changes. |
Constructors
| Type | Name | Description | |
|---|---|---|---|
Destructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| int32 | Current mip count. We use "current" to specify that it is not computed from SizeX() which is the size when fully streamed in. | ||
| FStreamableTextureResource * | |||
| const FStreamableTextureResource * | |||
| FTexture2DArrayResource * | |||
| const FTexture2DArrayResource * | |||
| FRHITexture * | |||
| const FTexture2DResource * | Dynamic cast methods (const). | ||
| FTexture2DResource * | Dynamic cast methods. | ||
| FRHITexture * | |||
| const FTexture3DResource * | |||
| FTexture3DResource * | |||
| FRHITexture * | |||
| FRHITextureReference * | |||
| const FVirtualTexture2DResource * | |||
| FVirtualTexture2DResource * | |||
| bool | IsProxy () |
Returns true if the resource is proxying another one. | |
| bool | |||
| void | SetTextureReference
(
FRHITextureReference* TextureReference |