Creates a pair of <GpuSyncNode> objects, that implement a GPU-blocking fence, and adds then to the document. In the pair of nodes, the first <GpuSyncNode> inserts a fence into the OpenGL server command stream, and the second <GpuSyncNode> waits for the fence. With this fence, the OpenGL server waits for the OpenGL command stream to complete before proceeding. At present, OpenGL only allows the fence to use one criteria: completion of OpenGL commands sent to the OpenGL server after the fence is inserted. See <MemoryBarrierNode> for more options.
Command registration and implementation information is as follows:
| Category | Documentation |
|---|---|
| Source Name | CreateGpuFence |
| GUID | {FA2EF6DD-2187-46EA-81A5-96966F84E41F} |
| Category | ShaderResourceNode Commands |
| Package | Simdify-Package-Glsl |
| Script File | type_shader_resource_node_scripts.ssl |
| Status | Active |