Share via


MDLCamera.BokehKernelWithSize(NVector2i) Method

Definition

Creates and returns a texture, of the specified size, that is used to simulate bokeh effects by using the value of the ApertureBladeCount property.

[Foundation.Export("bokehKernelWithSize:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual ModelIO.MDLTexture BokehKernelWithSize(CoreGraphics.NVector2i size);
[<Foundation.Export("bokehKernelWithSize:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member BokehKernelWithSize : CoreGraphics.NVector2i -> ModelIO.MDLTexture
override this.BokehKernelWithSize : CoreGraphics.NVector2i -> ModelIO.MDLTexture

Parameters

size
NVector2i

Returns

Attributes

Applies to