Struct RenderTargetDescriptor
Namespace: VelloSharp.Rendering
Assembly: VelloSharp.Rendering.dll
public readonly record struct RenderTargetDescriptor : IEquatable<RenderTargetDescriptor>
Implements
IEquatable<RenderTargetDescriptor>
Inherited Members
object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.ReferenceEquals(object?, object?), object.ToString()
Constructors
RenderTargetDescriptor(uint, uint, RenderFormat, int)
public RenderTargetDescriptor(uint Width, uint Height, RenderFormat Format, int StrideBytes)
Parameters
Width
uint
Height
uint
Format
RenderFormat
StrideBytes
int
Properties
Format
public RenderFormat Format { get; init; }
Property Value
Height
public uint Height { get; init; }
Property Value
RequiredBufferSize
public int RequiredBufferSize { get; }
Property Value
StrideBytes
public int StrideBytes { get; init; }
Property Value
Width
public uint Width { get; init; }
Property Value
Methods
Apply(RenderParams)
public RenderParams Apply(RenderParams renderParams)
Parameters
renderParams
RenderParams
Returns
EnsureBuffer(Span<byte>)
public void EnsureBuffer(Span<byte> buffer)