Navigation
API > API/Plugins > API/Plugins/LandscapePatch
Inheritance Hierarchy
- FShader
- FGlobalShader
- FConvertToNativeLandscapePatchPS
References
| Module | LandscapePatch |
| Header | /Engine/Plugins/Experimental/LandscapePatch/Source/LandscapePatch/Public/LandscapeTexturePatchPS.h |
| Include | #include "LandscapeTexturePatchPS.h" |
Syntax
class FConvertToNativeLandscapePatchPS : public FGlobalShader
Remarks
Shader that converts a texture stored in some other encoding (where height is in the R channel) to the landscape "native" encoding, where height is stored as a 16 bit int split across the R and G channels. This is not perfectly reversible (in case of clamping and due to rounding), but it lets us store the texture in the way that it would be applied to the landscape (usually).
Constructors
| Type | Name | Description | |
|---|---|---|---|
FConvertToNativeLandscapePatchPS
(
const ShaderMetaType::CompiledShaderInitializerType& Initializer |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | AddToRenderGraph
(
FRDGBuilder& GraphBuilder, |
||
| FShader * | ConstructCompiledInstance
(
const typename FShader::CompiledShaderInitializerType& Initializer |
||
| FShader * | |||
| const FShaderParametersMetadata * | |||
| LANDSCAPEPATCH_API ShaderMetaType & | |||
| LANDSCAPEPATCH_API const FTypeLayoutDesc & | |||
| void | ModifyCompilationEnvironment
(
const FGlobalShaderPermutationParameters& InParameters, |
||
| void | ModifyCompilationEnvironmentImpl
(
const FShaderPermutationParameters& Parameters, |
||
| bool | ShouldCompilePermutation
(
const FGlobalShaderPermutationParameters& Parameters |
||
| bool | ShouldCompilePermutationImpl
(
const FShaderPermutationParameters& Parameters |
||
| LANDSCAPEPATCH_API FTypeLayoutDesc & |
Classes
| Type | Name | Description | |
|---|---|---|---|
| FParameters | |||
| InternalLinkType |
Typedefs
| Name | Description |
|---|---|
| DerivedType | |
| InternalBaseType | |
| ShaderMapType | |
| ShaderMetaType |
Constants
| Name | Description |
|---|---|
| CounterBase | |
| InterfaceType | |
| ShaderTypeRegistration |