You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 3, 2023. It is now read-only.
I am happy because I have got color like any OpenTK, SharpDX and OpenGL.net now Vulkan Caution Vulkan will get eruption and lava are colorable :D
using Vulkan;
namespace ClearView.Common
{
// Vulkan's color like any fast colors from OpenTK, SharpDX and more...
class VkColor : ClearColorValue
{
public VkColor(float red, float green, float blue, float alpha)
{
Float32 = new float[] { red, green, blue, alpha };
}
public static VkColor Red
{
get
{
return new VkColor(1.0f, 0.0f, 0.0f, 1.0f);
}
}
public static VkColor CornflowerBlue
{
get
{
return new VkColor(0.392f, 0.584f, 0.929f, 1.0f);
}
}
public static VkColor Yellow
{
get
{
return new VkColor(1.0f, 1.0f, 0.0f, 1.0f);
}
}
public static VkColor Orange
{
get
{
return new VkColor(1.0f, 0.5f, 0.0f, 1.0f);
}
}
.....
}
}
Than you can have to choose fast without problem with float float float float. just write fast color if you like... Thanks for support!
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hello everyone,
I am happy because I have got color like any OpenTK, SharpDX and OpenGL.net now Vulkan Caution Vulkan will get eruption and lava are colorable :D
using Vulkan;
Than you can have to choose fast without problem with float float float float. just write fast color if you like... Thanks for support!
The text was updated successfully, but these errors were encountered: