Table of Contents

Struct RawColor4

Namespace
SharpVulkan
Assembly
Lime.dll

Interop type for a Color4 (RGBA, 4 floats).

public struct RawColor4
Inherited Members

Constructors

RawColor4(float, float, float, float)

Initializes a new instance of the RawColor4 struct.

public RawColor4(float r, float g, float b, float a)

Parameters

r float

The r.

g float

The g.

b float

The b.

a float

A.

Fields

A

The alpha component of the color.

public float A

Field Value

float

B

The blue component of the color.

public float B

Field Value

float

G

The green component of the color.

public float G

Field Value

float

R

The red component of the color.

public float R

Field Value

float

Operators

implicit operator ClearColorValue(RawColor4)

public static implicit operator ClearColorValue(RawColor4 colorValue)

Parameters

colorValue RawColor4

Returns

ClearColorValue