Enum XrSwapchainUsageFlags
Values to specify the intended usage of swapchain images.
Namespace: UnityEngine.XR.OpenXR.NativeTypes
Assembly: Unity.XR.OpenXR.dll
Syntax
[Flags]
public enum XrSwapchainUsageFlags : ulong
Fields
Name | Description |
---|---|
XR_SWAPCHAIN_USAGE_COLOR_ATTACHMENT_BIT | Specifies that the image may be a color rendering target. |
XR_SWAPCHAIN_USAGE_DEPTH_STENCIL_ATTACHMENT_BIT | Specifies that the image may be a depth/stencil rendering target. |
XR_SWAPCHAIN_USAGE_INPUT_ATTACHMENT_BIT_KHR | Specifies that the image may be used as a input attachment. (Added by the XR_KHR_swapchain_usage_input_attachment_bit extension) |
XR_SWAPCHAIN_USAGE_INPUT_ATTACHMENT_BIT_MND | Specifies that the image may be used as a input attachment. (Added by the XR_MND_swapchain_usage_input_attachment_bit extension) |
XR_SWAPCHAIN_USAGE_MUTABLE_FORMAT_BIT | Specifies that the image may be reinterpreted as another image format |
XR_SWAPCHAIN_USAGE_SAMPLED_BIT | Specifies that the image may be sampled by a shader. |
XR_SWAPCHAIN_USAGE_TRANSFER_DST_BIT | Specifies that the image may be used as the destination of a transfer operation. |
XR_SWAPCHAIN_USAGE_TRANSFER_SRC_BIT | Specifies that the image may be used as the source of a transfer operation. |
XR_SWAPCHAIN_USAGE_UNORDERED_ACCESS_BIT | Specifies that the image may be accessed out of order and that access may be via atomic operations. |