Skip to content

LiteFX::Rendering::ResourceAllocationResult

Stores the result of a resource allocation.

Synopsis

Declared in <litefx/rendering_api.hpp>

struct [[dllimport, dllexport]] ResourceAllocationResult final

Member Functions

NameDescription
ResourceAllocationResult [constructor]Constructors
~ResourceAllocationResult [destructor]Destructor
operator= Assignment operators
buffer Returns the allocated buffer resource, or raises an exception if the allocation does not contain a buffer resource, or the buffer resource is not of TBuffer.
image Returns the allocated image resource, or raises an exception if the allocation does not contain an image resource, or the image resource is not of TImage.

See Also

IGraphicsFactory

ResourceAllocationInfo