Skip to content

Latest commit

 

History

History
83 lines (60 loc) · 1.78 KB

ns-d3d12-d3d12_texture_barrier.md

File metadata and controls

83 lines (60 loc) · 1.78 KB
UID title description tech.root ms.date targetos req.construct-type req.ddi-compliance req.dll req.header req.include-header req.kmdf-ver req.lib req.max-support req.redist req.target-min-winverclnt req.target-min-winversvr req.target-type req.typenames req.umdf-ver req.unicode-ansi f1_keywords dev_langs topic_type api_type api_location api_name prerelease
NS:d3d12.D3D12_TEXTURE_BARRIER
D3D12_TEXTURE_BARRIER
Expresses an access transition for a texture.
direct3d12
11/01/2022
Windows
structure
d3d12.h
D3D12_TEXTURE_BARRIER
D3D12_TEXTURE_BARRIER
d3d12/D3D12_TEXTURE_BARRIER
c++
apiref
HeaderDef
d3d12.h
D3D12_TEXTURE_BARRIER
false

-description

Describes a texture memory access barrier. Used by texture barriers to indicate when resource memory must be made visible for a specific access type. Layout transitions are needed only for textures.

-struct-fields

-field SyncBefore

Synchronization scope of all preceding GPU work that must be completed before executing the barrier.

-field SyncAfter

Synchronization scope of all subsequent GPU work that must wait until the barrier execution is finished.

-field AccessBefore

Access bits corresponding with resource usage since the preceding barrier or the start of ExecuteCommandLists scope.

-field AccessAfter

Access bits corresponding with resource usage after the barrier completes.

-field LayoutBefore

Layout of texture preceding the barrier execution.

-field LayoutAfter

Layout of texture upon completion of barrier execution.

-field pResource

Pointer to the buffer resource being using the barrier.

-field Subresources

Range of texture subresources being barriered.

-field Flags

Optional flags values.

-remarks

-see-also