Compartilhar via


MTLTexture_Extensions.CreateTextureView Método

Definição

Cria e retorna uma textura Metal que compartilha a mesma memória que o objeto de origem, mas que é interpretada com o novo formato de pixel.

public static Metal.IMTLTexture CreateTextureView (this Metal.IMTLTexture This, Metal.MTLPixelFormat pixelFormat, Metal.MTLTextureType textureType, Foundation.NSRange levelRange, Foundation.NSRange sliceRange);
static member CreateTextureView : Metal.IMTLTexture * Metal.MTLPixelFormat * Metal.MTLTextureType * Foundation.NSRange * Foundation.NSRange -> Metal.IMTLTexture

Parâmetros

This
IMTLTexture

A instância na qual esse método opera.

pixelFormat
MTLPixelFormat
textureType
MTLTextureType
levelRange
NSRange
sliceRange
NSRange

Retornos

Aplica-se a