PlaneLayout Class

The offset and the stride of a plane copied by VideoFrame.CopyTo (https://w3c.github.io/webcodecs/#dictdef-planelayout).

public sealed class PlaneLayout

Constructors

NameDescription
PlaneLayout()

PlaneLayout()

  • Obsolete: Constructors of types with required members are not supported in this version of your compiler.
[Obsolete("Constructors of types with required members are not supported in this version of your compiler.", true)]
public PlaneLayout()

No documentation is available.

Properties

NameDescription
OffsetGets the offset in bytes of the plane in the buffer.
StrideGets the number of bytes of a row of the plane in the buffer, padding included.

Gets the offset in bytes of the plane in the buffer.

public required uint Offset { get; init; }

Gets the number of bytes of a row of the plane in the buffer, padding included.

public required uint Stride { get; init; }