wisdom
Loading...
Searching...
No Matches
WisTextureBarrier Struct Reference

Detailed Description

Specification


C Version:

// Provided by Wisdom 0.7.0.
typedef struct WisTextureBarrier {
WisBarrierSync sync_before;
WisBarrierSync sync_after;
WisResourceAccess access_before;
WisResourceAccess access_after;
WisTextureState state_before;
WisTextureState state_after;
WisTextureView texture;
WisSubresourceRange subresource_range;
WisCommandQueueType queue_type_before;
WisCommandQueueType queue_type_after;
C Implementation Specific Version:
// Provided by Wisdom 0.7.0.
typedef struct WisVKTextureBarrier {
WisBarrierSync sync_before;
WisBarrierSync sync_after;
WisResourceAccess access_before;
WisResourceAccess access_after;
WisTextureState state_before;
WisTextureState state_after;
WisVKTextureView texture;
WisSubresourceRange subresource_range;
WisCommandQueueType queue_type_before;
WisCommandQueueType queue_type_after;
} WisVKTextureBarrier;
// Provided by Wisdom 0.7.0.
typedef struct WisDX12TextureBarrier {
WisBarrierSync sync_before;
WisBarrierSync sync_after;
WisResourceAccess access_before;
WisResourceAccess access_after;
WisTextureState state_before;
WisTextureState state_after;
WisDX12TextureView texture;
WisSubresourceRange subresource_range;
WisCommandQueueType queue_type_before;
WisCommandQueueType queue_type_after;
} WisDX12TextureBarrier;

C++ Version:

namespace wis{
// Provided by Wisdom 0.7.0.
struct TextureBarrier {
wis::BarrierSync sync_before;
wis::BarrierSync sync_after;
wis::ResourceAccess access_before;
wis::ResourceAccess access_after;
wis::TextureState state_before;
wis::TextureState state_after;
wis::BarrierFlags flags;
wis::TextureView texture;
wis::SubresourceRange subresource_range;
wis::CommandQueueType queue_type_before;
wis::CommandQueueType queue_type_after;
};
}
C++ Implementation Specific Version:
namespace wis{
// Provided by Wisdom 0.7.0.
struct VKTextureBarrier {
wis::BarrierSync sync_before;
wis::BarrierSync sync_after;
wis::ResourceAccess access_before;
wis::ResourceAccess access_after;
wis::TextureState state_before;
wis::TextureState state_after;
wis::BarrierFlags flags;
wis::VKTextureView texture;
wis::SubresourceRange subresource_range;
wis::CommandQueueType queue_type_before;
wis::CommandQueueType queue_type_after;
};
// Provided by Wisdom 0.7.0.
struct DX12TextureBarrier {
wis::BarrierSync sync_before;
wis::BarrierSync sync_after;
wis::ResourceAccess access_before;
wis::ResourceAccess access_after;
wis::TextureState state_before;
wis::TextureState state_after;
wis::BarrierFlags flags;
wis::DX12TextureView texture;
wis::SubresourceRange subresource_range;
wis::CommandQueueType queue_type_before;
wis::CommandQueueType queue_type_after;
};
}

Members


  • sync_before indicates synchronization scope before the barrier.
  • sync_after specifies synchronization scope after the barrier.
  • access_before defines access scope before the barrier.
  • access_after indicates access scope after the barrier.
  • state_before indicates texture state before the barrier.
  • state_after specifies texture state after the barrier.
  • flags describes barrier flags. Describe additional options for the barrier.
  • texture describes texture view.
  • subresource_range specifies subresource range for the barrier.
  • queue_type_before defines type of the queue the barrier is executed on before the synchronization point. Used for cross-queue barriers.
  • queue_type_after indicates type of the queue the barrier is executed on after the synchronization point. Used for cross-queue barriers.

Description


See Also


See also
Structs: WisBarrierGroup