Navigation
API > API/Plugins > API/Plugins/RivermaxRendering
Compute shader to convert 16 bits float RGB to RGBA
| Name | FRGB16fBitToRGBA16fCS |
| Type | class |
| Header File | /Engine/Plugins/VirtualProduction/Rivermax/RivermaxCore/Source/RivermaxRendering/Public/RivermaxShaders.h |
| Include Path | #include "RivermaxShaders.h" |
Syntax
class FRGB16fBitToRGBA16fCS : public FGlobalShader
Inheritance Hierarchy
- FShader → FGlobalShader → FRGB16fBitToRGBA16fCS
Structs
| Name | Remarks |
|---|---|
| FRGB16fBuffer | Structure definition to match StructuredBuffer in RivermaxShaders.usf To align on 32bits, use 2 pixels (16 bit * 3 * 2 = 3x32bits) |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FRGB16fBitToRGBA16fCS::FParameters * AllocateAndSetParameters
(
FRDGBuilder& GraphBuilder, |
Allocates and setup shader parameter in the incoming graph builder | RivermaxShaders.h | |
BEGIN_SHADER_PARAMETER_STRUCT
(
FParameters |
RivermaxShaders.h | ||
DECLARE_EXPORTED_GLOBAL_SHADER
(
FRGB16fBitToRGBA16fCS, |
RivermaxShaders.h | ||
InputRGB16fBuffer SHADER_PARAMETER
(
uint32, |
RivermaxShaders.h | ||
InputRGB16fBuffer OutputTextureSizeX SHADER_PARAMETER_RDG_TEXTURE_UAV
(
RWTexture2D, |
RivermaxShaders.h | ||
SHADER_USE_PARAMETER_STRUCT
(
FRGB16fBitToRGBA16fCS, |
RivermaxShaders.h |