次の方法で共有


MTLTexture_Extensions.CreateTextureView メソッド

定義

ソース オブジェクトと同じメモリを共有し、新しいピクセル形式で解釈される Metal テクスチャを作成して返します。

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

パラメーター

This
IMTLTexture

このメソッドが動作するインスタンス。

pixelFormat
MTLPixelFormat
textureType
MTLTextureType
levelRange
NSRange
sliceRange
NSRange

戻り値

適用対象