Navigation
API > API/Runtime > API/Runtime/RenderCore
Pixel shader to swizzle R G B A components, set alpha to 1 or inverts alpha
General conversion shader that is only used to swizzle shaders that do not require any color conversion. RGB to BGR, RGB10A2 to RGBA8 etc
| Name | FModifyAlphaSwizzleRgbaPS |
| Type | class |
| Header File | /Engine/Source/Runtime/RenderCore/Public/MediaShaders.h |
| Include Path | #include "MediaShaders.h" |
Syntax
class FModifyAlphaSwizzleRgbaPS : public FGlobalShader
Inheritance Hierarchy
- FShader → FGlobalShader → FModifyAlphaSwizzleRgbaPS
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| MediaShaders.h | |||
FModifyAlphaSwizzleRgbaPS
(
const ShaderMetaType::CompiledShaderInitializerType& Initializer |
MediaShaders.h |
Classes
| Name | Remarks |
|---|---|
| FConversionOp | |
| FParameters |
Structs
| Name | Remarks |
|---|---|
| InternalLinkType |
Typedefs
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| DerivedType | FModifyAlphaSwizzleRgbaPS | MediaShaders.h | |
| FPermutationDomain | TShaderPermutationDomain< FConversionOp > | MediaShaders.h | |
| InternalBaseType | typename TGetBaseTypeHelper< FModifyAlphaSwizzleRgbaPS >::Type | MediaShaders.h | |
| ShaderMapType | FGlobalShaderMap | MediaShaders.h | |
| ShaderMetaType | FGlobalShaderType | MediaShaders.h |
Constants
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| CounterBase | int | MediaShaders.h | |
| InterfaceType | ETypeLayoutInterface::Type | MediaShaders.h | |
| ShaderTypeRegistration | FShaderTypeRegistration | MediaShaders.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FModifyAlphaSwizzleRgbaPS::FParameters * AllocateAndSetParameters
(
FRDGBuilder& GraphBuilder, |
Allocates and setup shader parameter in the incoming graph builder | MediaShaders.h | |
const FTypeLayoutDesc & GetTypeLayout() |
MediaShaders.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static FShader * ConstructCompiledInstance
(
const typename FShader::CompiledShaderInitializerType& Initializer |
MediaShaders.h | ||
static FShader * ConstructSerializedInstance() |
MediaShaders.h | ||
static void GetPermutationIdStringImpl
(
int32 PermutationId, |
MediaShaders.h | ||
static const FShaderParametersMetadata * GetRootParametersMetadata() |
MediaShaders.h | ||
static ShaderMetaType & GetStaticType() |
MediaShaders.h | ||
static void InternalDestroy
(
void* Object, |
MediaShaders.h | ||
static void InternalInitializeBases
(
FTypeLayoutDesc& TypeDesc |
MediaShaders.h | ||
static void ModifyCompilationEnvironmentImpl
(
const FShaderPermutationParameters& Parameters, |
MediaShaders.h | ||
static bool ShouldCompilePermutationImpl
(
const FShaderPermutationParameters& Parameters |
MediaShaders.h | ||
static EShaderPermutationPrecacheRequest ShouldPrecachePermutationImpl
(
const FShaderPermutationParameters& Parameters |
MediaShaders.h | ||
static FTypeLayoutDesc & StaticGetTypeLayout() |
MediaShaders.h |