|
| | FTextureRenderTargetCubeResource (const class UTextureRenderTargetCube *InOwner) |
| | Constructor 更多...
|
| |
| float | GetDisplayGamma () const override |
| | Render target resource should be sampled in linear color space 更多...
|
| |
| virtual uint32 | GetSizeX () const override |
| |
| virtual FIntPoint | GetSizeXY () const override |
| |
| virtual uint32 | GetSizeY () const override |
| |
|
virtual class FTextureRenderTargetCubeResource * | GetTextureRenderTargetCubeResource () |
| | Cube texture RT resource interface
|
| |
| FTextureCubeRHIRef | GetTextureRHI () |
| |
| virtual void | InitDynamicRHI () override |
| | Initializes the dynamic RHI resource and/or RHI render target used by this resource. 更多...
|
| |
| ENGINE_API bool | ReadPixels (TArray< FColor > &OutImageData, FReadSurfaceDataFlags InFlags, FIntRect InRect=FIntRect(0, 0, 0, 0)) |
| | Copy the texels of a single face of the cube into an array. 更多...
|
| |
| ENGINE_API bool | ReadPixels (TArray< FFloat16Color > &OutImageData, FReadSurfaceDataFlags InFlags, FIntRect InRect=FIntRect(0, 0, 0, 0)) |
| | Copy the texels of a single face of the cube into an array. 更多...
|
| |
| virtual void | ReleaseDynamicRHI () override |
| | Releases the dynamic RHI resource and/or RHI render target resources used by this resource. 更多...
|
| |
|
| FTextureRenderTargetResource () |
| | Constructor, initializing ClearLink.
|
| |
| virtual float | GetDisplayGamma () const |
| | Render target resource should be sampled in linear color space 更多...
|
| |
|
virtual uint32 | GetSizeX () const =0 |
| | Returns the width of the texture in pixels.
|
| |
|
virtual uint32 | GetSizeY () const =0 |
| | Returns the height of the texture in pixels.
|
| |
|
| FTexture () |
| | Default constructor.
|
| |
| virtual FString | GetFriendlyName () const override |
| |
|
virtual uint32 | GetSizeX () const |
| | Returns the width of the texture in pixels.
|
| |
|
virtual uint32 | GetSizeY () const |
| | Returns the height of the texture in pixels.
|
| |
|
virtual uint32 | GetSizeZ () const |
| | Returns the depth of the texture in pixels.
|
| |
| virtual void | ReleaseRHI () override |
| | Releases the RHI resources used by this resource. 更多...
|
| |
|
| 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.
|
| |
| virtual ENGINE_API float | GetDisplayGamma () const |
| |
|
virtual ENGINE_API FRHIGPUMask | GetGPUMask (FRHICommandListImmediate &RHICmdList) const |
| | Returns the GPU nodes on which to render this rendertarget.
|
| |
| virtual ENGINE_API const FTexture2DRHIRef & | GetRenderTargetTexture () const |
| | Accessor for the surface RHI when setting this render target 更多...
|
| |
|
virtual bool | HasToggleFreezeCommand () |
| | Returns if there is a command to toggle freezerendering
|
| |
|
virtual void | ProcessToggleFreezeCommand () |
| | Handles freezing/unfreezing of rendering
|
| |
| ENGINE_API bool | ReadFloat16Pixels (TArray< FFloat16Color > &OutputBuffer, ECubeFace CubeFace=CubeFace_PosX) |
| | Reads the viewport's displayed pixels into the given color buffer. 更多...
|
| |
| ENGINE_API bool | ReadLinearColorPixels (TArray< FLinearColor > &OutputBuffer, FReadSurfaceDataFlags InFlags=FReadSurfaceDataFlags(RCM_MinMax, CubeFace_MAX), FIntRect InRect=FIntRect(0, 0, 0, 0)) |
| | Reads the viewport's displayed pixels into the given color buffer. 更多...
|
| |
| ENGINE_API bool | ReadPixels (TArray< FColor > &OutImageData, FReadSurfaceDataFlags InFlags=FReadSurfaceDataFlags(RCM_UNorm, CubeFace_MAX), FIntRect InRect=FIntRect(0, 0, 0, 0)) |
| | Reads the viewport's displayed pixels into a preallocated color buffer. 更多...
|
| |
| ENGINE_API bool | ReadPixelsPtr (FColor *OutImageBytes, FReadSurfaceDataFlags InFlags=FReadSurfaceDataFlags(RCM_UNorm, CubeFace_MAX), FIntRect InSrcRect=FIntRect(0, 0, 0, 0)) |
| | Reads the viewport's displayed pixels into a preallocated color buffer. 更多...
|
| |
|
| FDeferredUpdateResource () |
| | Constructor, initializing UpdateListLink.
|
| |
|
ENGINE_API void | FlushDeferredResourceUpdate (FRHICommandListImmediate &RHICmdList) |
| | Performs a deferred resource update on this resource if it exists in the UpdateList.
|
| |
|
|
static ENGINE_API bool | IsSupportedFormat (EPixelFormat Format) |
| | Return true if a render target of the given format is allowed for creation
|
| |
|
static void | InitPreRHIResources () |
| | Initialize all resources initialized before the RHI was initialized
|
| |
|
static void | ResetNeedsUpdate () |
| | This is reset after all viewports have been rendered
|
| |
|
static ENGINE_API void | UpdateResources (FRHICommandListImmediate &RHICmdList) |
| | Iterate over the global list of resources that need to be updated and call UpdateResource on each one.
|
| |
|
bool | bGreyScaleFormat |
| | true if the texture is in a greyscale texture format.
|
| |
| bool | bIgnoreGammaConversions |
| | true if the texture is in the same gamma space as the intended rendertarget (e.g. 更多...
|
| |
|
bool | bSRGB |
| | Is the pixel data in this texture sRGB?
|
| |
|
FSamplerStateRHIRef | 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
|
| |
|
FMipBiasFade | MipBiasFade |
| | Base values for fading in/out mip-levels.
|
| |
|
FSamplerStateRHIRef | SamplerStateRHI |
| | The sampler state to use for the texture.
|
| |
|
FTextureRHIRef | TextureRHI |
| | The texture's RHI resource.
|
| |
FTextureResource type for cube render target textures.