Instance Property

parentTexture

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

Required.

Declaration

@property(readonly) id<MTLTexture> parentTexture;

Discussion

If the texture was not created from another texture, the value is nil.

See Also

Getting Information about Ancestor Resources

parentRelativeLevel

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

Required.

parentRelativeSlice

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

Required.

buffer

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

Required.

bufferOffset

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

Required.

bufferBytesPerRow

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

Required.

rootResource

The resource that owns the storage for this texture.

Required.

Deprecated