#include <Resource.hpp>
◆ coherent
| bool Foundation::RHI::RHIResourceDesc::coherent {false} |
Guarantees that the host can see the latest data written by the device without explicit flush On implementations that do not support this, this will cause a CHECK.
◆ heap
Which heap the resource is allocated in.
◆ hostAccess
How the resource can be accessed by the host (CPU)
◆ isAlias
| bool Foundation::RHI::RHIResourceDesc::isAlias {false} |
◆ shared
| bool Foundation::RHI::RHIResourceDesc::shared {false} |
Can be shared with other device queues.
◆ sharedQueues
| RHIDeviceQueueFlags Foundation::RHI::RHIResourceDesc::sharedQueues |
Initial value:{RHIDeviceQueueFlagsBits::Graphics | RHIDeviceQueueFlagsBits::Compute |
RHIDeviceQueueFlagsBits::Transfer}
With shared=true, the types of queues that are allowed access indexed by RHIDeviceQueueType values
◆ staging
| bool Foundation::RHI::RHIResourceDesc::staging {false} |
Hint that the resource will be used for staging With this flag - the resource may be not host-visible regardless of the host_access flag. This is a performance hint, and may be ignored by implementations.
The documentation for this struct was generated from the following file: