MPSVectorDescriptor.Create 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
Create(nuint, MPSDataType) | |
Create(nuint, nuint, nuint, MPSDataType) |
Create(nuint, MPSDataType)
[Foundation.Export("vectorDescriptorWithLength:dataType:")]
public static MetalPerformanceShaders.MPSVectorDescriptor Create (nuint length, MetalPerformanceShaders.MPSDataType dataType);
static member Create : nuint * MetalPerformanceShaders.MPSDataType -> MetalPerformanceShaders.MPSVectorDescriptor
参数
- length
- System.System.UIntPtr System.unativeint
- dataType
- MPSDataType
返回
- 属性
适用于
Create(nuint, nuint, nuint, MPSDataType)
[Foundation.Export("vectorDescriptorWithLength:vectors:vectorBytes:dataType:")]
public static MetalPerformanceShaders.MPSVectorDescriptor Create (nuint length, nuint vectors, nuint vectorBytes, MetalPerformanceShaders.MPSDataType dataType);
static member Create : nuint * nuint * nuint * MetalPerformanceShaders.MPSDataType -> MetalPerformanceShaders.MPSVectorDescriptor
参数
- length
- System.System.UIntPtr System.unativeint
- vectors
- System.System.UIntPtr System.unativeint
- vectorBytes
- System.System.UIntPtr System.unativeint
- dataType
- MPSDataType
返回
- 属性