public interface MTLResourceStateCommandEncoder extends MTLCommandEncoder
| Modifier and Type | Method and Description |
|---|---|
void |
updateFence(MTLFence fence)
updateFence:
|
void |
updateTextureMappingModeIndirectBufferIndirectBufferOffset(MTLTexture texture,
long mode,
MTLBuffer indirectBuffer,
long indirectBufferOffset)
updateTextureMapping:indirectBuffer:indirectBufferOffset:
|
void |
updateTextureMappingModeRegionMipLevelSlice(MTLTexture texture,
long mode,
MTLRegion region,
long mipLevel,
long slice)
updateTextureMapping:region:mipLevel:slice:mode:
|
void |
updateTextureMappingsModeRegionsMipLevelsSlicesNumRegions(MTLTexture texture,
long mode,
MTLRegion regions,
org.moe.natj.general.ptr.ConstNUIntPtr mipLevels,
org.moe.natj.general.ptr.ConstNUIntPtr slices,
long numRegions)
updateTextureMappings:regions:mipLevels:slices:numRegions:mode:
|
void |
waitForFence(MTLFence fence)
waitForFence:
|
device, endEncoding, insertDebugSignpost, label, popDebugGroup, pushDebugGroup, setLabelvoid updateFence(MTLFence fence)
Update the fence to capture all GPU work so far enqueued by this encoder.
The fence is updated at kernel submission to maintain global order and prevent deadlock. Drivers may delay fence updates until the end of the encoder. Drivers may also wait on fences at the beginning of an encoder. It is therefore illegal to wait on a fence after it has been updated in the same encoder.
void updateTextureMappingModeIndirectBufferIndirectBufferOffset(MTLTexture texture, long mode, MTLBuffer indirectBuffer, long indirectBufferOffset)
Updates mapping for given sparse texture. Updates are driven via a MTLBuffer with the structure format defined by MTLMapIndirectBufferFormat.
struct MTLMapIndirectBufferFormat{ uint32_t numMappings; MTLMapIndirectArguments mappings[numMappings]; }
void updateTextureMappingModeRegionMipLevelSlice(MTLTexture texture, long mode, MTLRegion region, long mipLevel, long slice)
Updates mapping for given sparse texture
void updateTextureMappingsModeRegionsMipLevelsSlicesNumRegions(MTLTexture texture, long mode, MTLRegion regions, org.moe.natj.general.ptr.ConstNUIntPtr mipLevels, org.moe.natj.general.ptr.ConstNUIntPtr slices, long numRegions)
Updates multiple regions within a sparse texture.
void waitForFence(MTLFence fence)
Prevent further GPU work until the fence is reached.
The fence is evaluated at kernel submision to maintain global order and prevent deadlock. Drivers may delay fence updates until the end of the encoder. Drivers may also wait on fences at the beginning of an encoder. It is therefore illegal to wait on a fence after it has been updated in the same encoder.