MTLTexture.newTextureViewWithPixelFormat

Creates a new view of the texture, reinterpreting a subset of its data using a different type and pixel format.

  1. MTLTexture newTextureViewWithPixelFormat(MTLPixelFormat pixelFormat, MTLTextureType textureType, NSRange levelRange, NSRange sliceRange)
    interface MTLTexture
    @selector("newTextureViewWithPixelFormat:textureType:levels:slices:")
    newTextureViewWithPixelFormat
  2. MTLTexture newTextureViewWithPixelFormat(MTLPixelFormat pixelFormat, MTLTextureType textureType, NSRange levelRange, NSRange sliceRange, MTLTextureSwizzleChannels swizzle)

Meta