Instance Property

parentRelativeSlice

The base slice of the parent texture that the texture was created from, if any.

Required.

Declaration

var parentRelativeSlice: Int { get }

Discussion

The default value is 0.

See Also

Getting Information about Ancestor Resources

var parent: MTLTexture?

The parent texture that the texture was created from, if any.

Required.

var parentRelativeLevel: Int

The base level of the parent texture that the texture was created from, if any.

Required.

var buffer: MTLBuffer?

The source buffer that the texture was created from, if any.

Required.

var bufferOffset: Int

The offset in the source buffer where the texture's data comes from.

Required.

var bufferBytesPerRow: Int

The bytes per row of the of the data in the source buffer used to create this texture, if any.

Required.

var rootResource: MTLResource?

The resource that owns the storage for this texture.

Required.

Deprecated