IMTLDevice.CreateRenderPipelineState Метод
Определение
Важно!
Некоторые сведения относятся к предварительной версии продукта, в которую до выпуска могут быть внесены существенные изменения. Майкрософт не предоставляет никаких гарантий, явных или подразумеваемых, относительно приведенных здесь сведений.
Перегрузки
CreateRenderPipelineState(MTLRenderPipelineDescriptor, NSError)
[Foundation.Export("newRenderPipelineStateWithDescriptor:error:")]
[Foundation.Preserve(Conditional=true)]
public Metal.IMTLRenderPipelineState CreateRenderPipelineState (Metal.MTLRenderPipelineDescriptor descriptor, out Foundation.NSError error);
abstract member CreateRenderPipelineState : Metal.MTLRenderPipelineDescriptor * -> Metal.IMTLRenderPipelineState
Параметры
- descriptor
- MTLRenderPipelineDescriptor
- error
- NSError
Возвращаемое значение
- Атрибуты
Применяется к
CreateRenderPipelineState(MTLRenderPipelineDescriptor, Action<IMTLRenderPipelineState,NSError>)
[Foundation.Export("newRenderPipelineStateWithDescriptor:completionHandler:")]
[Foundation.Preserve(Conditional=true)]
public void CreateRenderPipelineState (Metal.MTLRenderPipelineDescriptor descriptor, Action<Metal.IMTLRenderPipelineState,Foundation.NSError> completionHandler);
abstract member CreateRenderPipelineState : Metal.MTLRenderPipelineDescriptor * Action<Metal.IMTLRenderPipelineState, Foundation.NSError> -> unit
Параметры
- descriptor
- MTLRenderPipelineDescriptor
- completionHandler
- Action<IMTLRenderPipelineState,NSError>
- Атрибуты
Применяется к
CreateRenderPipelineState(MTLRenderPipelineDescriptor, MTLPipelineOption, Action<IMTLRenderPipelineState,MTLRenderPipelineReflection,NSError>)
[Foundation.Export("newRenderPipelineStateWithDescriptor:options:completionHandler:")]
[Foundation.Preserve(Conditional=true)]
public void CreateRenderPipelineState (Metal.MTLRenderPipelineDescriptor descriptor, Metal.MTLPipelineOption options, Action<Metal.IMTLRenderPipelineState,Metal.MTLRenderPipelineReflection,Foundation.NSError> completionHandler);
abstract member CreateRenderPipelineState : Metal.MTLRenderPipelineDescriptor * Metal.MTLPipelineOption * Action<Metal.IMTLRenderPipelineState, Metal.MTLRenderPipelineReflection, Foundation.NSError> -> unit
Параметры
- descriptor
- MTLRenderPipelineDescriptor
- options
- MTLPipelineOption
- completionHandler
- Action<IMTLRenderPipelineState,MTLRenderPipelineReflection,NSError>
- Атрибуты
Применяется к
CreateRenderPipelineState(MTLRenderPipelineDescriptor, MTLPipelineOption, MTLRenderPipelineReflection, NSError)
[Foundation.Export("newRenderPipelineStateWithDescriptor:options:reflection:error:")]
[Foundation.Preserve(Conditional=true)]
public Metal.IMTLRenderPipelineState CreateRenderPipelineState (Metal.MTLRenderPipelineDescriptor descriptor, Metal.MTLPipelineOption options, out Metal.MTLRenderPipelineReflection reflection, out Foundation.NSError error);
abstract member CreateRenderPipelineState : Metal.MTLRenderPipelineDescriptor * Metal.MTLPipelineOption * * -> Metal.IMTLRenderPipelineState
Параметры
- descriptor
- MTLRenderPipelineDescriptor
- options
- MTLPipelineOption
- reflection
- MTLRenderPipelineReflection
- error
- NSError
Возвращаемое значение
- Атрибуты