Nameless Engine
|
#include <DirectXFrameResource.h>
Public Attributes | |
ComPtr< ID3D12CommandAllocator > | pCommandAllocator |
unsigned long long | iFence = 0 |
Public Attributes inherited from ne::FrameResource | |
std::unique_ptr< UploadBuffer > | pFrameConstantBuffer |
Private Member Functions | |
virtual std::optional< Error > | initialize (Renderer *pRenderer) override |
Stores objects used by one frame.
|
overrideprivatevirtual |
Called by frame resource manager after a frame resource was constructed to initialize its fields.
pRenderer | Used renderer. |
Implements ne::FrameResource.
unsigned long long ne::DirectXFrameResource::iFence = 0 |
Current fence value of the resource.
ComPtr<ID3D12CommandAllocator> ne::DirectXFrameResource::pCommandAllocator |
Stores frame commands from command lists.