Struct RawBool
- Namespace
- SharpVulkan
- Assembly
- Lime.dll
A boolean value stored on 4 bytes (instead of 1 in .NET).
public struct RawBool : IEquatable<RawBool>
- Implements
- Inherited Members
Constructors
RawBool(bool)
Initializes a new instance of the RawBool class.
public RawBool(bool boolValue)
Parameters
boolValue
boolif set to
true
[bool value].
Methods
Equals(RawBool)
Indicates whether this instance and a specified object are equal.
public bool Equals(RawBool other)
Parameters
other
RawBoolThe other.
Returns
- bool
true if
other
and this instance are the same type and represent the same value; otherwise, false.
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.
ToString()
Returns the fully qualified type name of this instance.
public override string ToString()
Returns
- string
The fully qualified type name.
Operators
operator ==(RawBool, RawBool)
Implements the ==.
public static bool operator ==(RawBool left, RawBool right)
Parameters
Returns
- bool
The result of the operator.
implicit operator bool(RawBool)
public static implicit operator bool(RawBool booleanValue)
Parameters
booleanValue
RawBoolThe value.
Returns
- bool
The result of the conversion.
implicit operator int(RawBool)
public static implicit operator int(RawBool booleanValue)
Parameters
booleanValue
RawBool
Returns
implicit operator RawBool(bool)
public static implicit operator RawBool(bool boolValue)
Parameters
boolValue
boolThe value.
Returns
- RawBool
The result of the conversion.
implicit operator RawBool(int)
public static implicit operator RawBool(int boolValue)
Parameters
boolValue
int
Returns
operator !=(RawBool, RawBool)
Implements the !=.
public static bool operator !=(RawBool left, RawBool right)
Parameters
Returns
- bool
The result of the operator.