![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include "GPUSkinVertexFactory.h"#include "Animation/MeshDeformerProvider.h"#include "MeshBatch.h"#include "GPUSkinCache.h"#include "MeshDrawShaderBindings.h"#include "MeshMaterialShader.h"#include "Misc/DelayedAutoRegister.h"#include "SkeletalRenderGPUSkin.h"#include "Interfaces/ITargetPlatform.h"#include "Interfaces/ITargetPlatformManagerModule.h"#include "RenderGraphResources.h"#include "RenderUtils.h"#include "ShaderPlatformCachedIniValue.h"#include "Engine/RendererSettings.h"#include "Rendering/RenderCommandPipes.h"Classes | |
| class | FNullMorphVertexBuffer |
| class | FGPUSkinVertexFactoryShaderParameters |
| class | TGPUSkinAPEXClothVertexFactoryShaderParameters |
Macros | |
| #define | IMPLEMENT_GPUSKINNING_VERTEX_FACTORY_TYPE_INTERNAL(FactoryClass, ShaderFilename, Flags) |
| #define | IMPLEMENT_GPUSKINNING_VERTEX_FACTORY_TYPE(FactoryClass, ShaderFilename, Flags) |
| #define | IMPLEMENT_GPUSKINNING_VERTEX_FACTORY_PARAMETER_TYPE(FactoryClass, Frequency, ParameterType) |
| #define | GPU_SKIN_COPY_BONES_ISPC_ENABLED_DEFAULT 0 |
| #define GPU_SKIN_COPY_BONES_ISPC_ENABLED_DEFAULT 0 |
| #define IMPLEMENT_GPUSKINNING_VERTEX_FACTORY_PARAMETER_TYPE | ( | FactoryClass, | |
| Frequency, | |||
| ParameterType | |||
| ) |
| void GetGPUSkinAPEXClothVertexFactoryUniformShaderParameters | ( | FGPUSkinAPEXClothVertexFactoryUniformShaderParameters & | UniformParameters, |
| const FGPUBaseSkinVertexFactory * | VertexFactory | ||
| ) |
| void GetGPUSkinVertexFactoryCommonShaderParameters | ( | FGPUSkinVertexFactoryCommonShaderParameters & | ShaderParameters, |
| const FGPUBaseSkinVertexFactory * | VertexFactory | ||
| ) |
| IMPLEMENT_GLOBAL_SHADER_PARAMETER_STRUCT | ( | FGPUSkinAPEXClothVertexFactoryUniformShaderParameters | , |
| "GPUSkinAPEXClothVF" | |||
| ) |
Transform from cloth space (relative to cloth root bone) to local(component) space blend weight between simulated positions and original key-framed animation Scale of the owner actor Vertex buffer from which to read simulated positions of clothing.
| IMPLEMENT_GLOBAL_SHADER_PARAMETER_STRUCT | ( | FGPUSkinPassThroughFactoryLooseParameters | , |
| "GPUSkinPassThroughVFLooseParameters" | |||
| ) |
| IMPLEMENT_GPUSKINNING_VERTEX_FACTORY_PARAMETER_TYPE | ( | TGPUSkinAPEXClothVertexFactory | , |
| SF_Vertex | , | ||
| TGPUSkinAPEXClothVertexFactoryShaderParameters | |||
| ) |
| IMPLEMENT_GPUSKINNING_VERTEX_FACTORY_PARAMETER_TYPE | ( | TGPUSkinVertexFactory | , |
| SF_Vertex | , | ||
| FGPUSkinVertexFactoryShaderParameters | |||
| ) |
| IMPLEMENT_GPUSKINNING_VERTEX_FACTORY_TYPE | ( | TGPUSkinAPEXClothVertexFactory | , |
| "/Engine/Private/GpuSkinVertexFactory.ush" | , | ||
| EVertexFactoryFlags::UsedWithMaterials|EVertexFactoryFlags::SupportsDynamicLighting|EVertexFactoryFlags::SupportsPSOPrecaching|EVertexFactoryFlags::SupportsCachingMeshDrawCommands | |||
| ) |
bind cloth gpu skin vertex factory to its shader file and its shader parameters
| IMPLEMENT_GPUSKINNING_VERTEX_FACTORY_TYPE | ( | TGPUSkinVertexFactory | , |
| "/Engine/Private/GpuSkinVertexFactory.ush" | , | ||
| EVertexFactoryFlags::UsedWithMaterials|EVertexFactoryFlags::SupportsDynamicLighting|EVertexFactoryFlags::SupportsPSOPrecaching|EVertexFactoryFlags::SupportsCachingMeshDrawCommands|EVertexFactoryFlags::SupportsTriangleSorting | |||
| ) |
bind gpu skin vertex factory to its shader file and its shader parameters
| IMPLEMENT_TYPE_LAYOUT | ( | FGPUSkinVertexFactoryShaderParameters | ) |
| IMPLEMENT_TYPE_LAYOUT | ( | TGPUSkinAPEXClothVertexFactoryShaderParameters | ) |
| bool SupportsNoOverwriteBuffers | ( | ) |
| TGlobalResource<FBoneBufferPool> GBoneBufferPool |
| TGlobalResource<FClothBufferPool> GClothBufferPool |
Pool of buffers for clothing simulation data
| TGlobalResource<FNullMorphVertexBuffer, FRenderResource::EInitPhase::Pre> GNullMorphVertexBuffer |