|
TextureFactory Methods |
The TextureFactory type exposes the following members.
Methods | Name | Description |
---|
| Create1x1Texture(VulkanDevice, Color3, String) |
Create a 1x1 texture filled with the specified color.
|
| Create1x1Texture(VulkanDevice, Color4, String) |
Create a 1x1 texture filled with the specified color.
|
| CreateGradientTexture(VulkanDevice, GradientStop, Int32, String) |
Create a texture with color gradient defined by the given array of gradient stops.
|
| CreateGradientTexture(VulkanDevice, Color3, Color3, Int32, String) |
Create a texture with color gradient between two specified colors.
|
| CreateGradientTexture(VulkanDevice, Color4, Color4, Int32, String) |
Create a texture with color gradient between two specified colors.
|
| CreateHeightTexture(VulkanDevice, Single, GradientStop, String) |
Create a texture from the height data and specified gradient stops.
|
| CreateHeightTexture(VulkanDevice, Single, Single, Single, GradientStop, String) |
Create a texture from the height data and specified gradient stops.
|
| GetGradientColor |
Compute the interpolated color for the specified value and the given list of gradient stops. The list of
gradient stops must be sorted (from lowest offset to highest). If the value is lower than the offset of
the first entry, the first color is returned. If the value is higher than the offset of the last entry,
the last color is returned. Otherwise, the interpolated color between two corresponding entries is returned.
|
TopSee Also