Class VkPhysicalDeviceFragmentShaderBarycentricFeaturesNV

  • All Implemented Interfaces:
    java.lang.AutoCloseable, org.lwjgl.system.NativeResource, org.lwjgl.system.Pointer

    public class VkPhysicalDeviceFragmentShaderBarycentricFeaturesNV
    extends org.lwjgl.system.Struct
    implements org.lwjgl.system.NativeResource
    Structure describing barycentric support in fragment shaders that can be supported by an implementation.
    Description

    See Barycentric Interpolation for more information.

    If the VkPhysicalDeviceFragmentShaderBarycentricFeaturesNV structure is included in the pNext chain of VkPhysicalDeviceFeatures2, it is filled with values indicating whether the feature is supported. VkPhysicalDeviceFragmentShaderBarycentricFeaturesNV can also be used in the pNext chain of VkDeviceCreateInfo to enable features.

    Valid Usage (Implicit)

    Member documentation

    • fragmentShaderBarycentric – indicates that the implementation supports the BaryCoordNV and BaryCoordNoPerspNV SPIR-V fragment shader built-ins and supports the PerVertexNV SPIR-V decoration on fragment shader input variables.

    Layout

    
     struct VkPhysicalDeviceFragmentShaderBarycentricFeaturesNV {
         VkStructureType sType;
         void * pNext;
         VkBool32 fragmentShaderBarycentric;
     }