|
|
virtual void | Cleanup () override |
| | Deferred or Immediate cleanup of this data depending on what is required.
|
| |
| void | ClearTextureData () |
| | Clears texture data being used. 更多...
|
| |
| virtual uint32 | GetHeight () const override |
| | Gets the height of the resource. 更多...
|
| |
|
EPixelFormat | GetPixelFormat () const |
| | Returns the pixel format of this texture
|
| |
| virtual FRenderResource * | GetRenderResource () override |
| | Gets the interface to the underlying render resource (may not always be used) 更多...
|
| |
| virtual FSlateShaderResource * | GetSlateResource () override |
| | Gets the interface to the underlying platform independent texture 更多...
|
| |
| virtual uint32 | GetWidth () const override |
| | Gets the width of the resource. 更多...
|
| |
| virtual void | InitDynamicRHI () override |
| | FRenderResource Interface. 更多...
|
| |
| bool | IsValid () const |
| |
| virtual void | ReleaseDynamicRHI () override |
| | FRenderResource Interface. 更多...
|
| |
| void | Resize (uint32 Width, uint32 Height) |
| | Resize the texture. 更多...
|
| |
| virtual void | ResizeTexture (uint32 Width, uint32 Height) override |
| | Resize the texture. 更多...
|
| |
|
void | SetRHIRef (FTexture2DRHIRef InRenderTargetTexture, uint32 InWidth, uint32 InHeight) |
| | Sets the RHI Ref to use.
|
| |
| void | SetTextureData (FSlateTextureDataPtr NewTextureData) |
| | Sets the bulk data for this texture. 更多...
|
| |
| void | SetTextureData (FSlateTextureDataPtr NewTextureData, EPixelFormat InPixelFormat, ETextureCreateFlags InTexCreateFlags) |
| | Sets the bulk data for this texture and the format of the rendering resource Note: Does not reinitialize the resource. 更多...
|
| |
| virtual void | UpdateTexture (const TArray< uint8 > &Bytes) override |
| | Updates the texture contents via a byte array. 更多...
|
| |
| virtual void | UpdateTextureThreadSafe (const TArray< uint8 > &Bytes) override |
| | Updates the texture contents via a byte array making a copy first for thread safety 更多...
|
| |
| virtual void | UpdateTextureThreadSafeRaw (uint32 Width, uint32 Height, const void *Buffer, const FIntRect &Dirty) override |
| | Update the texture from a raw byte buffer. 更多...
|
| |
| virtual void | UpdateTextureThreadSafeWithTextureData (FSlateTextureData *BulkData) override |
| | Update the texture from a provided FSlateTextureData buffer, also transferring ownership of the texture 更多...
|
| |
| FTexture2DRHIRef & | GetTypedResource () |
| | Gets the resource used by the shader. 更多...
|
| |
|
| TSlateTexture () |
| | Default constructor.
|
| |
| | TSlateTexture (FTexture2DRHIRef &InShaderResource) |
| | Creates and initializes a new instance. 更多...
|
| |
| virtual uint32 | GetHeight () const =0 |
| | Gets the height of the resource. 更多...
|
| |
| virtual ESlateShaderResource::Type | GetType () const =0 |
| | Gets the type of the resource. 更多...
|
| |
| virtual uint32 | GetWidth () const =0 |
| | Gets the width of the resource. 更多...
|
| |
|
virtual | ~FSlateShaderResource () |
| | Virtual destructor.
|
| |
|
virtual void | Cleanup ()=0 |
| | Deferred or Immediate cleanup of this data depending on what is required.
|
| |
| virtual FRenderResource * | GetRenderResource () |
| | Gets the interface to the underlying render resource (may not always be used) 更多...
|
| |
| virtual FSlateShaderResource * | GetSlateResource ()=0 |
| | Gets the interface to the underlying platform independent texture 更多...
|
| |
| virtual void | ResizeTexture (uint32 Width, uint32 Height)=0 |
| | Resize the texture. 更多...
|
| |
| virtual void | UpdateTexture (const TArray< uint8 > &Bytes)=0 |
| | Updates the texture contents via a byte array. 更多...
|
| |
| virtual void | UpdateTextureThreadSafe (const TArray< uint8 > &Bytes)=0 |
| | Updates the texture contents via a byte array making a copy first for thread safety 更多...
|
| |
| virtual void | UpdateTextureThreadSafeRaw (uint32 Width, uint32 Height, const void *Buffer, const FIntRect &Dirty=FIntRect())=0 |
| | Update the texture from a raw byte buffer. 更多...
|
| |
| virtual void | UpdateTextureThreadSafeWithTextureData (FSlateTextureData *TextureData)=0 |
| | Update the texture from a provided FSlateTextureData buffer, also transferring ownership of the texture 更多...
|
| |
|
virtual | ~FSlateUpdatableTexture () |
| | Virtual destructor
|
| |
|
| FRenderResource () |
| | Default constructor.
|
| |
|
| FRenderResource (ERHIFeatureLevel::Type InFeatureLevel) |
| | Constructor when we know what feature level this resource should support
|
| |
| virtual FString | GetFriendlyName () const |
| |
| virtual void | InitDynamicRHI () |
| | Initializes the dynamic RHI resource and/or RHI render target used by this resource. 更多...
|
| |
| virtual void | InitResource () |
| | Initializes the resource. 更多...
|
| |
| virtual void | InitRHI () |
| | Initializes the RHI resources used by this resource. 更多...
|
| |
| virtual void | ReleaseDynamicRHI () |
| | Releases the dynamic RHI resource and/or RHI render target resources used by this resource. 更多...
|
| |
| virtual void | ReleaseResource () |
| | Prepares the resource for deletion. 更多...
|
| |
| virtual void | ReleaseRHI () |
| | Releases the RHI resources used by this resource. 更多...
|
| |
| void | UpdateRHI () |
| | If the resource's RHI resources have been initialized, then release and reinitialize it. 更多...
|
| |
|
virtual | ~FRenderResource () |
| | Destructor used to catch unreleased resources.
|
| |
Encapsulates a Texture2DRHIRef for use by a Slate rendering implementation