|
| ENGINE_API void | AppendVertices (const FStaticMeshBuildVertex *Vertices, const uint32 NumVerticesToAppend) |
| | Appends the specified vertices to the end of the buffer 更多...
|
| |
|
ENGINE_API void | CleanUp () |
| | Delete existing resources
|
| |
|
void | CopyRHIForStreaming (const FPositionVertexBuffer &Other, bool InAllowCPUAccess) |
| | Copy everything, keeping reference to the same RHI resources.
|
| |
| FVertexBufferRHIRef | CreateRHIBuffer_RenderThread () |
| | Create an RHI vertex buffer with CPU data. 更多...
|
| |
|
ENGINE_API | FPositionVertexBuffer () |
| | Default constructor.
|
| |
| virtual FString | GetFriendlyName () const override |
| |
| void | Init (const FPositionVertexBuffer &InVertexBuffer, bool bInNeedsCPUAccess=true) |
| | Initializes this vertex buffer with the contents of the given vertex buffer. 更多...
|
| |
| ENGINE_API void | Init (const TArray< FStaticMeshBuildVertex > &InVertices, bool bInNeedsCPUAccess=true) |
| | Initializes the buffer with the given vertices, used to convert legacy layouts. 更多...
|
| |
| virtual ENGINE_API void | InitRHI () override |
| | Initializes the RHI resources used by this resource. 更多...
|
| |
|
template<uint32 MaxNumUpdates> |
| void | InitRHIForStreaming (FRHIVertexBuffer *IntermediateBuffer, TRHIResourceUpdateBatcher< MaxNumUpdates > &Batcher) |
| | Similar to Init/ReleaseRHI but only update existing SRV so references to the SRV stays valid
|
| |
|
ENGINE_API void | operator= (const FPositionVertexBuffer &Other) |
| | Specialized assignment operator, only used when importing LOD's.
|
| |
| virtual ENGINE_API void | ReleaseRHI () override |
| | Releases the RHI resources used by this resource. 更多...
|
| |
| void | Serialize (FArchive &Ar, bool bInNeedsCPUAccess) |
| | Serializer 更多...
|
| |
|
ENGINE_API | ~FPositionVertexBuffer () |
| | Destructor.
|
| |
| virtual FString | GetFriendlyName () const override |
| |
| virtual void | ReleaseRHI () override |
| | Releases the RHI resources used by this resource. 更多...
|
| |
|
virtual | ~FVertexBuffer () |
| | Destructor.
|
| |
|
| 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.
|
| |
A vertex buffer of positions.