Struct BufferRequirements
public readonly struct BufferRequirements : IEquatable<BufferRequirements>
- Implements
- Inherited Members
Properties
None
public static BufferRequirements None { get; }
Property Value
Read
public Size Read { get; }
Property Value
Value
public static BufferRequirements Value { get; }
Property Value
Write
public Size Write { get; }
Property Value
Methods
Combine(BufferRequirements)
public BufferRequirements Combine(BufferRequirements other)
Parameters
other
BufferRequirements
Returns
Combine(Size, Size)
public BufferRequirements Combine(Size read, Size write)
Parameters
Returns
Combine(int)
public BufferRequirements Combine(int byteCount)
Parameters
byteCount
int
Returns
Create(Size)
public static BufferRequirements Create(Size value)
Parameters
value
Size
Returns
Create(Size, Size)
public static BufferRequirements Create(Size read, Size write)
Parameters
Returns
CreateFixedSize(int)
public static BufferRequirements CreateFixedSize(int byteCount)
Parameters
byteCount
int
Returns
Equals(BufferRequirements)
Indicates whether the current object is equal to another object of the same type.
public bool Equals(BufferRequirements other)
Parameters
other
BufferRequirementsAn object to compare with this object.
Returns
Equals(object?)
Indicates whether this instance and a specified object are equal.
public override bool Equals(object? obj)
Parameters
obj
objectThe object to compare with the current instance.
Returns
- bool
true if
obj
and this instance are the same type and represent the same value; otherwise, false.
GetHashCode()
Returns the hash code for this instance.
public override int GetHashCode()
Returns
- int
A 32-bit signed integer that is the hash code for this instance.
Operators
operator ==(BufferRequirements, BufferRequirements)
public static bool operator ==(BufferRequirements left, BufferRequirements right)
Parameters
left
BufferRequirementsright
BufferRequirements
Returns
operator !=(BufferRequirements, BufferRequirements)
public static bool operator !=(BufferRequirements left, BufferRequirements right)
Parameters
left
BufferRequirementsright
BufferRequirements