Navigation
API > API/Runtime > API/Runtime/Engine
Inheritance Hierarchy
- FRenderResource
- FVertexFactory
- FGPUBaseSkinVertexFactory
- TGPUSkinVertexFactory
- TGPUSkinAPEXClothVertexFactory
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Public/GPUSkinVertexFactory.h |
| Include | #include "GPUSkinVertexFactory.h" |
Syntax
template<GPUSkinBoneInfluenceType BoneInfluenceType>
class TGPUSkinVertexFactory : public FGPUBaseSkinVertexFactory
Remarks
Vertex factory with vertex stream components for GPU skinned vertices
Constructors
| Type | Name | Description | |
|---|---|---|---|
TGPUSkinVertexFactory
(
ERHIFeatureLevel::Type InFeatureLevel, |
Constructor presizing bone matrices array to used amount. |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | GetPSOPrecacheVertexFetchElements
(
EVertexInputStreamType VertexInputStreamType, |
TGPUSkinVertexFactory does not support manual vertex fetch yet so worst case element set is returned to make sure the PSO can be compiled | |
| void | GetVertexElements
(
ERHIFeatureLevel::Type FeatureLevel, |
||
| void | GetVertexElements
(
ERHIFeatureLevel::Type FeatureLevel, |
||
| void | ModifyCompilationEnvironment
(
const FVertexFactoryShaderPermutationParameters& Parameters, |
||
| bool | ShouldCompilePermutation
(
const FVertexFactoryShaderPermutationParameters& Parameters |
Overridden from FGPUBaseSkinVertexFactory
| Type | Name | Description | |
|---|---|---|---|
| void | AddVertexElements
(
FVertexDeclarationElementList& OutElements |
Add the decl elements for the streams Add the vertex declaration elements for the streams. | |
| GPUSkinBoneInfluenceType | |||
| const FMorphVertexBuffer * | GetMorphVertexBuffer
(
bool bPrevious |
||
| uint32 | |||
| void | UpdateMorphVertexStream
(
const FMorphVertexBuffer* MorphVertexBuffer |
FGPUBaseSkinVertexFactory overrides |
Overridden from FVertexFactory
| Type | Name | Description | |
|---|---|---|---|
| FVertexFactoryType * | GetType () |
Overridden from FRenderResource
| Type | Name | Description | |
|---|---|---|---|
| void | InitRHI
(
FRHICommandListBase& RHICmdList |
Creates declarations for each of the vertex stream components and initializes the device resource | |
| void | ReleaseRHI () |
Releases the RHI resources used by this resource. |
Constants
| Name | Description |
|---|---|
| StaticType | Bind gpu skin vertex factory to its shader file and its shader parameters |