textureBarrier
이 페이지에서

textureBarrier

함수

Holds every invocation of the workgroup until all have arrived, ordering their writes to the TEXTURE address space.

이름마다 붙은 시그니처와 설명은 커밋 26de7be8의 컴파일러 소스에서 그대로 가져온 영어 원문입니다.

구문

declare function textureBarrier(): void

반환값

void

설명

A statement, in a compute entry or a function it calls, in uniform control flow. WebGPU-only, and part of the readonly_and_readwrite_storage_textures WGSL language feature that reflect().requiredLanguageFeatures reports.

대상별 출력

WGSL
textureBarrier()
GLSL ES 3.00
textureBarrier has no GLSL ES 3.00 spelling (no compute stage)

예제

함께 보기

이 페이지 편집 문제 보고