Navigation
API > API/Runtime > API/Runtime/Engine
Inheritance Hierarchy
- FGPUBaseSkinAPEXClothVertexFactory
- TGPUSkinVertexFactory
- TGPUSkinAPEXClothVertexFactory
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Public/GPUSkinVertexFactory.h |
| Include | #include "GPUSkinVertexFactory.h" |
Syntax
template<GPUSkinBoneInfluenceType BoneInfluenceType>
class TGPUSkinAPEXClothVertexFactory :
public FGPUBaseSkinAPEXClothVertexFactory,
public TGPUSkinVertexFactory< BoneInfluenceType >
Remarks
Vertex factory with vertex stream components for GPU-skinned and morph target streams
Variables
| Type | Name | Description | |
|---|---|---|---|
| FGPUSkinAPEXClothDataType * | ClothDataPtr | Alias pointer to TUniquePtr |
Constructors
| Type | Name | Description | |
|---|---|---|---|
TGPUSkinAPEXClothVertexFactory
(
ERHIFeatureLevel::Type InFeatureLevel, |
Constructor presizing bone matrices array to used amount. |
Destructors
| Type | Name | Description | |
|---|---|---|---|
| Destructor takes care of the Data pointer. |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | ModifyCompilationEnvironment
(
const FVertexFactoryShaderPermutationParameters& Parameters, |
Modify compile environment to enable the apex clothing path | |
| bool | ShouldCompilePermutation
(
const FVertexFactoryShaderPermutationParameters& Parameters |
Overridden from FGPUBaseSkinAPEXClothVertexFactory
| Type | Name | Description | |
|---|---|---|---|
| FShaderResourceViewRHIRef | Get buffer containing cloth influences. | ||
| const FShaderResourceViewRHIRef | |||
| uint32 | GetClothIndexOffset
(
uint32 VertexIndex, |
Get offset from vertex index to cloth influence index at a given vertex index. | |
| FGPUBaseSkinVertexFactory * | |||
| const FGPUBaseSkinVertexFactory * |
Overridden from FGPUBaseSkinVertexFactory
| Type | Name | Description | |
|---|---|---|---|
| FGPUBaseSkinAPEXClothVertexFactory * | Cloth vertex factory access. | ||
| FGPUBaseSkinAPEXClothVertexFactory const * | |||
| void | SetData
(
const FGPUSkinDataType* InData |
An implementation of the interface used by TSynchronizedResource to update the resource with new data from the game thread. |
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. |
Typedefs
| Name | Description |
|---|---|
| Super |
Constants
| Name | Description |
|---|---|
| StaticType | Bind cloth gpu skin vertex factory to its shader file and its shader parameters |