Enum
VkTessellationDomainOrigin
Enum describing tessellation domain origin
The possible tessellation domain origins are specified by the VkTessellationDomainOrigin enumeration:
typedef enum VkTessellationDomainOrigin {
VK_TESSELLATION_DOMAIN_ORIGIN_UPPER_LEFT = 0,
VK_TESSELLATION_DOMAIN_ORIGIN_LOWER_LEFT = 1,
} VkTessellationDomainOrigin;
pub struct TessellationDomainOrigin(u32);
impl TessellationDomainOrigin {
pub const UPPER_LEFT: Self = 0;
pub const LOWER_LEFT: Self = 1;
}
#define VkTessellationDomainOriginKHR VkTessellationDomainOrigin
const TessellationDomainOriginKHR: _ = vk::TessellationDomainOrigin;
VK_TESSELLATION_DOMAIN_ORIGIN_UPPER_LEFTspecifies that the origin of the domain space is in the upper left corner, as shown in figure Tessellation > Tessellator.VK_TESSELLATION_DOMAIN_ORIGIN_LOWER_LEFTspecifies that the origin of the domain space is in the lower left corner, as shown in figure Tessellation > Tessellator.
This enum affects how the VertexOrderCw and VertexOrderCcw
tessellation execution modes are interpreted, since the winding is defined
relative to the orientation of the domain.
Parent
VK_VERSION_1_1Type
Enum