Go to the source code of this file.
|
| #define | MAX_PHYSICS_FIELD_TARGETS 32 |
| |
| #define | SKY_IRRADIANCE_ENVIRONMENT_MAP_VEC4_COUNT 8 |
| |
| #define | VIEW_UNIFORM_BUFFER_MEMBER_TABLE |
| |
| #define | VIEW_UNIFORM_BUFFER_MEMBER(type, identifier) SHADER_PARAMETER(type, identifier) |
| |
| #define | VIEW_UNIFORM_BUFFER_MEMBER_PER_VIEW(type, identifier) SHADER_PARAMETER(type, identifier) |
| |
| #define | VIEW_UNIFORM_BUFFER_MEMBER_EX(type, identifier, precision) SHADER_PARAMETER_EX(type, identifier, precision) |
| |
| #define | VIEW_UNIFORM_BUFFER_MEMBER_PER_VIEW_EX(type, identifier, precision) SHADER_PARAMETER_EX(type, identifier, precision) |
| |
| #define | VIEW_UNIFORM_BUFFER_MEMBER_ARRAY(type, identifier, dimension) SHADER_PARAMETER_ARRAY(type, identifier, [dimension]) |
| |
| #define | VIEW_UNIFORM_BUFFER_MEMBER_ARRAY_PER_VIEW(type, identifier, dimension) SHADER_PARAMETER_ARRAY(type, identifier, [dimension]) |
| |
| #define | INSTANCED_VIEW_COUNT 2 |
| |
| #define | VIEW_UNIFORM_BUFFER_MEMBER(type, identifier) SHADER_PARAMETER(type, identifier) |
| |
| #define | VIEW_UNIFORM_BUFFER_MEMBER_PER_VIEW(type, identifier) SHADER_PARAMETER_ARRAY(TShaderParameterTypeInfo<type>::TInstancedType, identifier, [INSTANCED_VIEW_COUNT]) |
| |
| #define | VIEW_UNIFORM_BUFFER_MEMBER_EX(type, identifier, precision) SHADER_PARAMETER_EX(type, identifier, precision) |
| |
| #define | VIEW_UNIFORM_BUFFER_MEMBER_PER_VIEW_EX(type, identifier, precision) SHADER_PARAMETER_ARRAY_EX(TShaderParameterTypeInfo<type>::TInstancedType, identifier, [INSTANCED_VIEW_COUNT], precision) |
| |
| #define | VIEW_UNIFORM_BUFFER_MEMBER_ARRAY(type, identifier, dimension) SHADER_PARAMETER_ARRAY(type, identifier, [dimension]) |
| |
| #define | VIEW_UNIFORM_BUFFER_MEMBER_ARRAY_PER_VIEW(type, identifier, dimension) SHADER_PARAMETER_ARRAY(type, identifier, [dimension * INSTANCED_VIEW_COUNT]) |
| |
| #define | VIEW_UNIFORM_BUFFER_MEMBER(type, identifier) |
| |
| #define | VIEW_UNIFORM_BUFFER_MEMBER_PER_VIEW(type, identifier) |
| |
| #define | VIEW_UNIFORM_BUFFER_MEMBER_EX(type, identifier, precision) |
| |
| #define | VIEW_UNIFORM_BUFFER_MEMBER_PER_VIEW_EX(type, identifier, precision) |
| |
| #define | VIEW_UNIFORM_BUFFER_MEMBER_ARRAY(type, identifier, dimension) |
| |
| #define | VIEW_UNIFORM_BUFFER_MEMBER_ARRAY_PER_VIEW(type, identifier, dimension) |
| |
| #define | VIEW_UNIFORM_BUFFER_MEMBER(type, identifier) FMemory::Memcpy(&DstView.identifier, &SrcView.identifier, sizeof(type)); |
| |
| #define | VIEW_UNIFORM_BUFFER_MEMBER_PER_VIEW(type, identifier) FMemory::Memcpy(&DstView.identifier, &SrcView.identifier, sizeof(type)); |
| |
| #define | VIEW_UNIFORM_BUFFER_MEMBER_EX(type, identifier, precision) FMemory::Memcpy(&DstView.identifier, &SrcView.identifier, sizeof(type)); |
| |
| #define | VIEW_UNIFORM_BUFFER_MEMBER_PER_VIEW_EX(type, identifier, precision) FMemory::Memcpy(&DstView.identifier, &SrcView.identifier, sizeof(type)); |
| |
| #define | VIEW_UNIFORM_BUFFER_MEMBER_ARRAY(type, identifier, dimension) |
| |
| #define | VIEW_UNIFORM_BUFFER_MEMBER_ARRAY_PER_VIEW(type, identifier, dimension) |
| |
|
| ENGINE_API void | SetupCommonViewUniformBufferParameters (FViewUniformShaderParameters &ViewUniformShaderParameters, const FIntPoint &InBufferSize, int32 NumMSAASamples, const FIntRect &InEffectiveViewRect, const FViewMatrices &InViewMatrices, const FViewMatrices &InPrevViewMatrices, const FSetupViewUniformParametersInputs &Inputs) |
| |
| ENGINE_API void | SetupViewRectUniformBufferParameters (FViewUniformShaderParameters &ViewUniformShaderParameters, const FIntPoint &InBufferSize, const FIntRect &InEffectiveViewRect, const FViewMatrices &InViewMatrices, const FViewMatrices &InPrevViewMatrice, const FSetupViewUniformParametersInputs &Inputs) |
| |
◆ INSTANCED_VIEW_COUNT
| #define INSTANCED_VIEW_COUNT 2 |
Copy of the view uniform shader parameters associated with a view for instanced stereo.
◆ MAX_PHYSICS_FIELD_TARGETS
| #define MAX_PHYSICS_FIELD_TARGETS 32 |
◆ SKY_IRRADIANCE_ENVIRONMENT_MAP_VEC4_COUNT
| #define SKY_IRRADIANCE_ENVIRONMENT_MAP_VEC4_COUNT 8 |
◆ VIEW_UNIFORM_BUFFER_MEMBER [1/4]
The uniform shader parameters associated with a view.
Copy of a base view uniform shader parameters structure into another. But only parameters, not resources, and not instanced views.
◆ VIEW_UNIFORM_BUFFER_MEMBER [2/4]
The uniform shader parameters associated with a view.
Copy of a base view uniform shader parameters structure into another. But only parameters, not resources, and not instanced views.
◆ VIEW_UNIFORM_BUFFER_MEMBER [3/4]
Value:
{ \
}
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition SharedPointer.h:127
The uniform shader parameters associated with a view.
Copy of a base view uniform shader parameters structure into another. But only parameters, not resources, and not instanced views.
◆ VIEW_UNIFORM_BUFFER_MEMBER [4/4]
The uniform shader parameters associated with a view.
Copy of a base view uniform shader parameters structure into another. But only parameters, not resources, and not instanced views.
◆ VIEW_UNIFORM_BUFFER_MEMBER_ARRAY [1/4]
◆ VIEW_UNIFORM_BUFFER_MEMBER_ARRAY [2/4]
◆ VIEW_UNIFORM_BUFFER_MEMBER_ARRAY [3/4]
◆ VIEW_UNIFORM_BUFFER_MEMBER_ARRAY [4/4]
Value:
{ \
FMemory::Memcpy(&
DstView.identifier[ElementIndex], &
SrcView.identifier[ElementIndex],
sizeof(type)); \
} \
◆ VIEW_UNIFORM_BUFFER_MEMBER_ARRAY_PER_VIEW [1/4]
◆ VIEW_UNIFORM_BUFFER_MEMBER_ARRAY_PER_VIEW [2/4]
◆ VIEW_UNIFORM_BUFFER_MEMBER_ARRAY_PER_VIEW [3/4]
Value:
{ \
}
static bool MemIsZero(const void *Ptr, SIZE_T Count)
Definition UnrealMemory.h:137
TypeParameter TInstancedType
Definition ShaderParameterMacros.h:922
◆ VIEW_UNIFORM_BUFFER_MEMBER_ARRAY_PER_VIEW [4/4]
Value:
{ \
FMemory::Memcpy(&
DstView.identifier[ElementIndex], &
SrcView.identifier[ElementIndex],
sizeof(type)); \
} \
◆ VIEW_UNIFORM_BUFFER_MEMBER_EX [1/4]
◆ VIEW_UNIFORM_BUFFER_MEMBER_EX [2/4]
◆ VIEW_UNIFORM_BUFFER_MEMBER_EX [3/4]
◆ VIEW_UNIFORM_BUFFER_MEMBER_EX [4/4]
◆ VIEW_UNIFORM_BUFFER_MEMBER_PER_VIEW [1/4]
◆ VIEW_UNIFORM_BUFFER_MEMBER_PER_VIEW [2/4]
◆ VIEW_UNIFORM_BUFFER_MEMBER_PER_VIEW [3/4]
Value:
static UE_FORCEINLINE_HINT void * Memcpy(void *Dest, const void *Src, SIZE_T Count)
Definition UnrealMemory.h:160
◆ VIEW_UNIFORM_BUFFER_MEMBER_PER_VIEW [4/4]
◆ VIEW_UNIFORM_BUFFER_MEMBER_PER_VIEW_EX [1/4]
◆ VIEW_UNIFORM_BUFFER_MEMBER_PER_VIEW_EX [2/4]
◆ VIEW_UNIFORM_BUFFER_MEMBER_PER_VIEW_EX [3/4]
◆ VIEW_UNIFORM_BUFFER_MEMBER_PER_VIEW_EX [4/4]
◆ VIEW_UNIFORM_BUFFER_MEMBER_TABLE
| #define VIEW_UNIFORM_BUFFER_MEMBER_TABLE |
◆ EPrimaryScreenPercentageMethod
Method used for primary screen percentage method.
| Enumerator |
|---|
| SpatialUpscale | |
| TemporalUpscale | |
| RawOutput | |
◆ ESecondaryScreenPercentageMethod
Method used for second screen percentage method, that is a second spatial upscale pass at the very end, independent of screen percentage show flag.
| Enumerator |
|---|
| NearestSpatialUpscale | |
| LowerPixelDensitySimulation | |
◆ ETranslucencyVolumeCascade
The uniform shader parameters for a mobile directional light and its shadow. One uniform buffer will be created for the first directional light in each lighting channel. Enumeration for currently used translucent lighting volume cascades
| Enumerator |
|---|
| TVC_Inner | |
| TVC_Outer | |
| TVC_MAX | |
◆ EViewWaterIntersection
| Enumerator |
|---|
| OutsideWater | |
| PossiblyIntersectingWater | |
| InsideWater | |
◆ SetupCommonViewUniformBufferParameters()
◆ SetupViewRectUniformBufferParameters()
Ortho projection does not use FOV calculations, so rather than sourcing the projection matrix values in CommonViewUniformBuffer.ush, the appropriate values are uploaded in the per view uniform buffer (projection matrix values for perspective, 1.0f for ortho). Doing this here avoids unnecessarily checking for perspective vs ortho in shaders at runtime.
◆ MAX_MOBILE_SHADOWCASCADES