![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <SkinWeightVertexBuffer.h>
Inheritance diagram for FSkinWeightLookupVertexBuffer:Protected Attributes | |
| FShaderResourceViewRHIRef | SRVValue |
Friends | |
| FArchive & | operator<< (FArchive &Ar, FSkinWeightLookupVertexBuffer &VertexBuffer) |
A lookup vertex buffer storing skin weight stream offset / influence count. Only used for unlimited bone influences.
| FSkinWeightLookupVertexBuffer::FSkinWeightLookupVertexBuffer | ( | ) |
Default constructor.
| FSkinWeightLookupVertexBuffer::FSkinWeightLookupVertexBuffer | ( | const FSkinWeightLookupVertexBuffer & | Other | ) |
Constructor (copy)
| FSkinWeightLookupVertexBuffer::~FSkinWeightLookupVertexBuffer | ( | ) |
Destructor.
| void FSkinWeightLookupVertexBuffer::CleanUp | ( | ) |
Delete existing resources
| void FSkinWeightLookupVertexBuffer::CopyMetaData | ( | const FSkinWeightLookupVertexBuffer & | Other | ) |
| FBufferRHIRef FSkinWeightLookupVertexBuffer::CreateRHIBuffer | ( | FRHICommandListBase & | RHICmdList | ) |
Create an RHI vertex buffer with CPU data. CPU data may be discarded after creation (see TResourceArray::Discard)
|
inlineoverridevirtual |
Reimplemented from FVertexBuffer.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
| void FSkinWeightLookupVertexBuffer::GetWeightOffsetAndInfluenceCount | ( | uint32 | VertexIndex, |
| uint32 & | OutWeightOffset, | ||
| uint32 & | OutInfluenceCount | ||
| ) | const |
|
overridevirtual |
Initializes the RHI resources used by this resource. Called when entering the state where both the resource and the RHI have been initialized. This is only called by the rendering thread.
Reimplemented from FRenderResource.
| void FSkinWeightLookupVertexBuffer::InitRHIForStreaming | ( | FRHIBuffer * | IntermediateBuffer, |
| FRHIResourceReplaceBatcher & | Batcher | ||
| ) |
Similar to Init/ReleaseRHI but only update existing SRV so references to the SRV stays valid
| bool FSkinWeightLookupVertexBuffer::IsLookupDataValid | ( | ) | const |
| FSkinWeightLookupVertexBuffer & FSkinWeightLookupVertexBuffer::operator= | ( | const FSkinWeightLookupVertexBuffer & | Other | ) |
Assignment. Assumes that vertex buffer will be rebuilt
|
overridevirtual |
Releases the RHI resources used by this resource. Called when leaving the state where both the resource and the RHI have been initialized. This is only called by the rendering thread.
Reimplemented from FVertexBuffer.
| void FSkinWeightLookupVertexBuffer::ReleaseRHIForStreaming | ( | FRHIResourceReplaceBatcher & | Batcher | ) |
Set if the CPU needs access to this vertex buffer
| void FSkinWeightLookupVertexBuffer::SetWeightOffsetAndInfluenceCount | ( | uint32 | VertexIndex, |
| uint32 | WeightOffset, | ||
| uint32 | InfluenceCount | ||
| ) |
|
friend |
|
protected |