MDLCamera.BokehKernelWithSize(Vector2i) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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