Table of Contents

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 bool

if 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 RawBool

The 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 object

The 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

left RawBool

The left.

right RawBool

The right.

Returns

bool

The result of the operator.

implicit operator bool(RawBool)

Performs an explicit conversion from RawBool to bool.

public static implicit operator bool(RawBool booleanValue)

Parameters

booleanValue RawBool

The value.

Returns

bool

The result of the conversion.

implicit operator int(RawBool)

public static implicit operator int(RawBool booleanValue)

Parameters

booleanValue RawBool

Returns

int

implicit operator RawBool(bool)

Performs an explicit conversion from bool to RawBool.

public static implicit operator RawBool(bool boolValue)

Parameters

boolValue bool

The value.

Returns

RawBool

The result of the conversion.

implicit operator RawBool(int)

public static implicit operator RawBool(int boolValue)

Parameters

boolValue int

Returns

RawBool

operator !=(RawBool, RawBool)

Implements the !=.

public static bool operator !=(RawBool left, RawBool right)

Parameters

left RawBool

The left.

right RawBool

The right.

Returns

bool

The result of the operator.