![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
Inheritance diagram for TDynamicBuffer< BufferType >:Public Types | |
| enum | { ALIGNMENT = (1 << 16) } |
Public Member Functions | |
| TDynamicBuffer (uint32 InMinBufferSize, uint32 InStride) | |
| void | Lock (FRHICommandListBase &RHICmdList) |
| void | Unlock (FRHICommandListBase &RHICmdList) |
| virtual void | InitRHI (FRHICommandListBase &RHICmdList) override |
| virtual void | ReleaseRHI () override |
Public Attributes | |
| uint8 * | MappedBuffer |
| uint32 | BufferSize |
| uint32 | AllocatedByteCount |
| uint32 | Stride |
| uint64 | LastUsedFrame = 0 |
An individual dynamic vertex buffer.
|
inlineexplicit |
Default constructor.
|
inlineoverridevirtual |
|
inline |
Locks the vertex buffer so it may be written to.
|
inlineoverridevirtual |
|
inline |
Unocks the buffer so the GPU may read from it.
| uint32 TDynamicBuffer< BufferType >::AllocatedByteCount |
Number of bytes currently allocated from the buffer.
| uint32 TDynamicBuffer< BufferType >::BufferSize |
Size of the vertex buffer in bytes.
| uint64 TDynamicBuffer< BufferType >::LastUsedFrame = 0 |
Last render thread frame this resource was used in.
| uint8* TDynamicBuffer< BufferType >::MappedBuffer |
Pointer to the vertex buffer mapped in main memory.
| uint32 TDynamicBuffer< BufferType >::Stride |
Stride of the buffer in bytes.