Contents

resetTextureAccessCounters(_:region:mipLevel:slice:)

Encodes a command that resets a sparse texture’s access data for a specific region, mipmap level, and slice.

Declaration

func resetTextureAccessCounters(_ texture: any MTLTexture, region: MTLRegion, mipLevel: Int, slice: Int)
optional func resetTextureAccessCounters(_ texture: any MTLTexture, region: MTLRegion, mipLevel: Int, slice: Int)

Parameters

  • texture:

    A sparse texture instance.

  • region:

    A region within the sparse texture’s mipLevel, in sparse tile coordinates.

  • mipLevel:

    A mipmap level within the sparse texture.

  • slice:

    A slice within the sparse texture.

See Also

Managing sparse texture access counters