engine
 
载入中...
搜索中...
未找到
Public 成员函数 | 所有成员列表
TGPUSkinAPEXClothVertexFactory< BoneInfluenceType > 模板类 参考

Vertex factory with vertex stream components for GPU-skinned and morph target streams 更多...

#include <GPUSkinVertexFactory.h>

+ 类 TGPUSkinAPEXClothVertexFactory< BoneInfluenceType > 继承关系图:

Public 成员函数

virtual void InitRHI () override
 Creates declarations for each of the vertex stream components and initializes the device resource
 
virtual void ReleaseDynamicRHI () override
 Releases the dynamic RHI resource and/or RHI render target resources used by this resource. 更多...
 
void SetData (const FDataType &InData)
 An implementation of the interface used by TSynchronizedResource to update the resource with new data from the game thread. 更多...
 
 TGPUSkinAPEXClothVertexFactory (ERHIFeatureLevel::Type InFeatureLevel, uint32 InNumVertices)
 Constructor presizing bone matrices array to used amount. 更多...
 
- Public 成员函数 继承自 FGPUBaseSkinAPEXClothVertexFactory
FORCEINLINE ClothShaderType & GetClothShaderData ()
 accessor
 
- Public 成员函数 继承自 TGPUSkinVertexFactory< BoneInfluenceType >
virtual void InitDynamicRHI () override
 Initializes the dynamic RHI resource and/or RHI render target used by this resource. 更多...
 
virtual void InitRHI () override
 Initializes the RHI resources used by this resource. 更多...
 
virtual void ReleaseDynamicRHI () override
 Releases the dynamic RHI resource and/or RHI render target resources used by this resource. 更多...
 
void SetData (const FDataType &InData)
 An implementation of the interface used by TSynchronizedResource to update the resource with new data from the game thread. 更多...
 
 TGPUSkinVertexFactory (ERHIFeatureLevel::Type InFeatureLevel, uint32 InNumVertices)
 Constructor presizing bone matrices array to used amount. 更多...
 
- Public 成员函数 继承自 FGPUBaseSkinVertexFactory
FORCEINLINE FShaderDataType & GetShaderData ()
 accessor
 
- Public 成员函数 继承自 FVertexFactory
virtual void ReleaseRHI ()
 Releases the RHI resources used by this resource. 更多...
 
virtual bool SupportsNullPixelShader () const
 Indicates whether the vertex factory supports a null pixel shader.
 
virtual bool SupportsPositionAndNormalOnlyStream () const
 Indicates whether the vertex factory supports a position-and-normal-only stream.
 
virtual bool SupportsPositionOnlyStream () const
 Indicates whether the vertex factory supports a position-only stream.
 
- Public 成员函数 继承自 FRenderResource
 FRenderResource ()
 Default constructor.
 
 FRenderResource (ERHIFeatureLevel::Type InFeatureLevel)
 Constructor when we know what feature level this resource should support
 
virtual FString GetFriendlyName () const
 
virtual void InitDynamicRHI ()
 Initializes the dynamic RHI resource and/or RHI render target used by this resource. 更多...
 
virtual void InitResource ()
 Initializes the resource. 更多...
 
virtual void InitRHI ()
 Initializes the RHI resources used by this resource. 更多...
 
virtual void ReleaseDynamicRHI ()
 Releases the dynamic RHI resource and/or RHI render target resources used by this resource. 更多...
 
virtual void ReleaseResource ()
 Prepares the resource for deletion. 更多...
 
virtual void ReleaseRHI ()
 Releases the RHI resources used by this resource. 更多...
 
void UpdateRHI ()
 If the resource's RHI resources have been initialized, then release and reinitialize it. 更多...
 
virtual ~FRenderResource ()
 Destructor used to catch unreleased resources.
 

额外继承的成员函数

- 静态 Public 成员函数 继承自 FVertexFactory
static void ModifyCompilationEnvironment (const FVertexFactoryShaderPermutationParameters &Parameters, FShaderCompilerEnvironment &OutEnvironment)
 Can be overridden by FVertexFactory subclasses to modify their compile environment just before compilation occurs.
 
static bool SupportsTessellationShaders ()
 Can be overridden by FVertexFactory subclasses to enable HS/DS in D3D11
 
static void ValidateCompiledResult (const FVertexFactoryType *Type, EShaderPlatform Platform, const FShaderParameterMap &ParameterMap, TArray< FString > &OutErrors)
 Can be overridden by FVertexFactory subclasses to fail a compile based on compilation output.
 
- 静态 Public 成员函数 继承自 FRenderResource
static void InitPreRHIResources ()
 Initialize all resources initialized before the RHI was initialized
 
- Protected 成员函数 继承自 TGPUSkinVertexFactory< BoneInfluenceType >
void AddVertexElements (FDataType &InData, FVertexDeclarationElementList &OutElements)
 Add the decl elements for the streams 更多...
 
- Protected 成员函数 继承自 FVertexFactory
FVertexElement AccessStreamComponent (const FVertexStreamComponent &Component, uint8 AttributeIndex)
 Creates a vertex element for a vertex stream components. 更多...
 
FVertexElement AccessStreamComponent (const FVertexStreamComponent &Component, uint8 AttributeIndex, EVertexInputStreamType InputStreamType)
 Creates a vertex element for a vertex stream component. 更多...
 
void InitDeclaration (const FVertexDeclarationElementList &Elements, EVertexInputStreamType StreamType=EVertexInputStreamType::Default)
 Initializes the vertex declaration. 更多...
 
- Protected 属性 继承自 FGPUBaseSkinVertexFactory
FShaderDataType ShaderData
 dynamic data need for setting the shader
 
- Protected 属性 继承自 FVertexFactory
TArray< FVertexStream, TInlineAllocator< 8 > > Streams
 The vertex streams used to render the factory.
 
- 静态 Protected 属性 继承自 FGPUBaseSkinAPEXClothVertexFactory
static TGlobalResource< FClothBufferPool > ClothSimulDataBufferPool
 Pool of buffers for clothing simulation data
 
- 静态 Protected 属性 继承自 FGPUBaseSkinVertexFactory
static TGlobalResource< FBoneBufferPool > BoneBufferPool
 Pool of buffers for bone matrices.
 

详细描述

template<GPUSkinBoneInfluenceType BoneInfluenceType>
class TGPUSkinAPEXClothVertexFactory< BoneInfluenceType >

Vertex factory with vertex stream components for GPU-skinned and morph target streams

构造及析构函数说明

◆ TGPUSkinAPEXClothVertexFactory()

template<GPUSkinBoneInfluenceType BoneInfluenceType>
TGPUSkinAPEXClothVertexFactory< BoneInfluenceType >::TGPUSkinAPEXClothVertexFactory ( ERHIFeatureLevel::Type  InFeatureLevel,
uint32  InNumVertices 
)
inline

Constructor presizing bone matrices array to used amount.

参数
InBoneMatricesReference to shared bone matrices array.

成员函数说明

◆ ReleaseDynamicRHI()

template<GPUSkinBoneInfluenceType BoneInfluenceType>
virtual void TGPUSkinAPEXClothVertexFactory< BoneInfluenceType >::ReleaseDynamicRHI ( )
overridevirtual

Releases the dynamic RHI resource and/or RHI render target resources used by this resource.

Called when the resource is released, or when reseting all RHI resources. Resources that need to release before a D3D device reset must implement this function. This is only called by the rendering thread.

重载 TGPUSkinVertexFactory< BoneInfluenceType > .

◆ SetData()

template<GPUSkinBoneInfluenceType BoneInfluenceType>
void TGPUSkinAPEXClothVertexFactory< BoneInfluenceType >::SetData ( const FDataType &  InData)
inline

An implementation of the interface used by TSynchronizedResource to update the resource with new data from the game thread.

参数
InData- new stream component data

该类的文档由以下文件生成: