Navigation
API > API/Runtime > API/Runtime/Engine
Vertex factory with vertex stream components for GPU-skinned streams. This enables Passthrough mode where vertices have been pre-skinned. Individual vertex attributes can be flagged so that they can be overriden by externally owned buffers.
| Name | FGPUSkinPassthroughVertexFactory |
| Type | class |
| Header File | /Engine/Source/Runtime/Engine/Public/GPUSkinVertexFactory.h |
| Include Path | #include "GPUSkinVertexFactory.h" |
Syntax
class FGPUSkinPassthroughVertexFactory : public FLocalVertexFactory
Inheritance Hierarchy
- FRenderResource → FVertexFactory → FLocalVertexFactory → FGPUSkinPassthroughVertexFactory
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FGPUSkinPassthroughVertexFactory
(
ERHIFeatureLevel::Type InFeatureLevel, |
GPUSkinVertexFactory.h |
Structs
| Name | Remarks |
|---|---|
| FAddVertexAttributeDesc | Structure used for calls to SetVertexAttributes(). |
Enums
Public
| Name | Remarks |
|---|---|
| EShaderResource | SRVs that we can provide. |
| EVertexAttribute | Vertex attributes that we can override. |
| EVertexAttributeFlags |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| LooseParametersUniformBuffer | TUniformBufferRef< FGPUSkinPassThroughFactoryLooseParameters > | GPUSkinVertexFactory.h |
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| PreSkinnedTangentSRV | FRHIShaderResourceView * | GPUSkinVertexFactory.h | ||
| SourceStreamBuffers | TStaticArray< FRHIBuffer *, EVertexAttribute::NumAttributes > | GPUSkinVertexFactory.h | ||
| SRVs | TStaticArray< FRHIShaderResourceView *, EShaderResource::NumShaderResources > | GPUSkinVertexFactory.h | ||
| StreamSourceSlots | TStaticArray< TRefCountPtr< FRHIStreamSourceSlot >, EVertexAttribute::NumAttributes > | GPUSkinVertexFactory.h | ||
| TangentFormat | EPixelFormat | GPUSkinVertexFactory.h | ||
| UpdatedFrameNumber | uint32 | GPUSkinVertexFactory.h | ||
| VertexAttributesRequested | EVertexAttributeFlags | GPUSkinVertexFactory.h | ||
| VertexAttributesToBind | EVertexAttributeFlags | GPUSkinVertexFactory.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void GetOverrideVertexStreams
(
FVertexInputStreamArray& VertexStreams |
GPUSkinVertexFactory.h | ||
EPixelFormat GetTangentFormat() |
GPUSkinVertexFactory.h | ||
void ResetVertexAttributes
(
FRHICommandListBase& RHICmdList |
Reset all added vertex attributes and SRVs. | GPUSkinVertexFactory.h | |
void SetVertexAttributes
(
FRHICommandListBase& RHICmdList, |
GPUSkinVertexFactory.h |
Overridden from FVertexFactory
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual bool SupportsPositionAndNormalOnlyStream() |
GPUSkinVertexFactory.h | ||
virtual bool SupportsPositionOnlyStream() |
GPUSkinVertexFactory.h |