LiteFX::Rendering::ResourceAllocationResult::ResourceAllocationResult¶
Constructors
Synopses¶
Declared in <litefx/rendering_api.hpp>
Default constructor
ResourceAllocationResult() = delete;Copy constructor
ResourceAllocationResult(ResourceAllocationResult const& other) = delete;Move constructor
[[dllimport, dllexport]] constexpr ResourceAllocationResult(ResourceAllocationResult&& other) noexcept = default;Initializes an allocation result for a buffer resource.
[[dllimport, dllexport]] ResourceAllocationResult(SharedPtr<IBuffer>&& buffer) noexcept;Initializes an allocation result for an image resource.
[[dllimport, dllexport]] ResourceAllocationResult(SharedPtr<IImage>&& image) noexcept;Parameters¶
| Name | Description |
|---|---|
| buffer | The allocated buffer resource. |
| image | The allocate image resource. |