C# Class VkClearColorValue, Vortice.Vulkan

Mostra file Open project: amerkoleci/Vortice.Vulkan Class Usage Examples

Public Methods

Method Description
VkClearColorValue ( float r, float g, float b, float a = 1.0f ) : System.Numerics

Initializes a new instance of the VkClearColorValue structure.

VkClearColorValue ( int r, int g, int b, int a = 255 ) : System.Numerics

Initializes a new instance of the VkClearColorValue structure.

VkClearColorValue ( uint r, uint g, uint b, uint a = 255 ) : System.Numerics

Initializes a new instance of the VkClearColorValue structure.

Method Details

VkClearColorValue() public method

Initializes a new instance of the VkClearColorValue structure.
public VkClearColorValue ( float r, float g, float b, float a = 1.0f ) : System.Numerics
r float The red value.
g float The green value.
b float The blue value.
a float The alpha value.
return System.Numerics

VkClearColorValue() public method

Initializes a new instance of the VkClearColorValue structure.
public VkClearColorValue ( int r, int g, int b, int a = 255 ) : System.Numerics
r int The red value.
g int The green value.
b int The blue value.
a int The alpha value.
return System.Numerics

VkClearColorValue() public method

Initializes a new instance of the VkClearColorValue structure.
public VkClearColorValue ( uint r, uint g, uint b, uint a = 255 ) : System.Numerics
r uint The red value.
g uint The green value.
b uint The blue value.
a uint The alpha value.
return System.Numerics