Skip to content

LiteFX::Rendering::ResourceAllocationInfo

Contains the parameters for a resource allocation.

Synopsis

Declared in <litefx/rendering_api.hpp>

struct [[dllimport, dllexport]] ResourceAllocationInfo final

Types

NameDescription
BufferInfo Stores information about a buffer resource allocation.
ImageInfo Stores information about an image resource allocation.

Member Functions

NameDescription
ResourceAllocationInfo [constructor]Constructors
~ResourceAllocationInfo [destructor]Destructor
operator= Assignment operators

Data Members

NameDescription
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