LiteFX::Rendering::ResourceAllocationInfo¶
Contains the parameters for a resource allocation.
Synopsis¶
Declared in <litefx/rendering_api.hpp>
struct [[dllimport, dllexport]] ResourceAllocationInfo final
Types¶
| Name | Description |
|---|---|
BufferInfo | Stores information about a buffer resource allocation. |
ImageInfo | Stores information about an image resource allocation. |
Member Functions¶
| Name | Description |
|---|---|
ResourceAllocationInfo [constructor] | Constructors |
~ResourceAllocationInfo [destructor] | Destructor |
operator= | Assignment operators |
Data Members¶
| Name | Description |
|---|---|
AliasingOffset | An optional offset that is used to place the resource in a block of allocated memory when allocating overlapping resources. |
Name | Stores the desired name of the allocated resource. |
ResourceInfo | Stores the buffer or image info associated with the allocation info. |
Usage | Stores the resource usage flags for the allocation info. |
See Also¶
IGraphicsFactory
ResourceAllocationResult