Files
electron/docs/api/structures/shared-texture-import-texture-info.md
2025-11-07 09:50:28 +01:00

749 B

SharedTextureImportTextureInfo Object

  • pixelFormat string - The pixel format of the texture.
    • bgra - 32bpp BGRA (byte-order), 1 plane.
    • rgba - 32bpp RGBA (byte-order), 1 plane.
    • rgbaf16 - Half float RGBA, 1 plane.
  • colorSpace ColorSpace (optional) - The color space of the texture.
  • codedSize Size - The full dimensions of the shared texture.
  • visibleRect Rectangle (optional) - A subsection of [0, 0, codedSize.width, codedSize.height]. In common cases, it is the full section area.
  • timestamp number (optional) - A timestamp in microseconds that will be reflected to VideoFrame.
  • handle SharedTextureHandle - The shared texture handle.