Edit

Share via


MDLCamera.BokehKernelWithSize(Vector2i) 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:")]
public virtual ModelIO.MDLTexture BokehKernelWithSize (OpenTK.Vector2i size);
abstract member BokehKernelWithSize : OpenTK.Vector2i -> ModelIO.MDLTexture
override this.BokehKernelWithSize : OpenTK.Vector2i -> ModelIO.MDLTexture

Parameters

size
Vector2i

Returns

Attributes

Applies to