wisdom
Loading...
Searching...
No Matches
wis::BufferBarrier Struct Reference

Detailed Description

Buffer barrier for wis::CommandList.

struct BufferBarrier {
wis::BarrierSync sync_before;
wis::BarrierSync sync_after;
wis::ResourceAccess access_before;
wis::ResourceAccess access_after;
uint64_t offset = 0;
uint64_t size = UINT64_MAX;
};
ResourceAccess
Resource access flags. Determine how resource will be accessed. Used in Barriers.
Definition api.hpp:1411
BarrierSync
Barrier synchronization flags. Used to synchronize resources between different stages of the pipeline...
Definition api.hpp:1381
Buffer barrier for wis::CommandList.
Definition api.hpp:1921

Definition at line 1921 of file api.hpp.

#include <api.hpp>

Public Attributes

wis::BarrierSync sync_before
 Synchronization before the barrier.
 
wis::BarrierSync sync_after
 Synchronization after the barrier.
 
wis::ResourceAccess access_before
 Resource access before the barrier.
 
wis::ResourceAccess access_after
 Resource access after the barrier.
 
uint64_t offset = 0
 Offset in the buffer in bytes. Default is 0.
 
uint64_t size = UINT64_MAX
 Size of the buffer in bytes. Default is UINT64_MAX, which means entire buffer.
 

Data Members

◆ access_after

wis::ResourceAccess wis::BufferBarrier::access_after

Resource access after the barrier.

Definition at line 1925 of file api.hpp.

◆ access_before

wis::ResourceAccess wis::BufferBarrier::access_before

Resource access before the barrier.

Definition at line 1924 of file api.hpp.

◆ offset

uint64_t wis::BufferBarrier::offset = 0

Offset in the buffer in bytes. Default is 0.

Definition at line 1926 of file api.hpp.

◆ size

uint64_t wis::BufferBarrier::size = UINT64_MAX

Size of the buffer in bytes. Default is UINT64_MAX, which means entire buffer.

Definition at line 1927 of file api.hpp.

◆ sync_after

wis::BarrierSync wis::BufferBarrier::sync_after

Synchronization after the barrier.

Definition at line 1923 of file api.hpp.

◆ sync_before

wis::BarrierSync wis::BufferBarrier::sync_before

Synchronization before the barrier.

Definition at line 1922 of file api.hpp.


The documentation for this struct was generated from the following file: