-api-id | -api-type |
---|---|
M:Windows.Devices.Perception.Provider.PerceptionVideoFrameAllocator.#ctor(System.UInt32,Windows.Graphics.Imaging.BitmapPixelFormat,Windows.Foundation.Size,Windows.Graphics.Imaging.BitmapAlphaMode) |
winrt method |
Initializes a new PerceptionVideoFrameAllocator with the required properties for use by the IPerceptionFrameProvider to create PerceptionFrames published via PerceptionFrameProviderManagerService::PublishFrameForProvider.
This is the number of buffers in flight required by the FrameProvider to produce its * frames at framerate. The suggestion is at least 2.
The Windows::Graphics::Imaging::BitmapPixelFormat describing the format of the bytes of the frame.
The resolution in pixels of the frame.
The Windows::Graphics::Imaging::BitmapAlphaMode describing how transparency is handled in the pixels.