Class VkPhysicalDeviceMultiviewFeatures

  • All Implemented Interfaces:
    java.lang.AutoCloseable, NativeResource, Pointer
    Direct Known Subclasses:
    VkPhysicalDeviceMultiviewFeaturesKHR

    public class VkPhysicalDeviceMultiviewFeatures
    extends Struct
    implements NativeResource
    Structure describing multiview features that can be supported by an implementation.
    Description

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

    Valid Usage
    • If multiviewGeometryShader is enabled then multiview must also be enabled.
    • If multiviewTessellationShader is enabled then multiview must also be enabled.
    Valid Usage (Implicit)

    Member documentation

    • multiview – specifies whether the implementation supports multiview rendering within a render pass. If this feature is not enabled, the view mask of each subpass must always be zero.
    • multiviewGeometryShader – specifies whether the implementation supports multiview rendering within a render pass, with geometry shaders. If this feature is not enabled, then a pipeline compiled against a subpass with a non-zero view mask must not include a geometry shader.
    • multiviewTessellationShader – specifies whether the implementation supports multiview rendering within a render pass, with tessellation shaders. If this feature is not enabled, then a pipeline compiled against a subpass with a non-zero view mask must not include any tessellation shaders.

    Layout

    
     struct VkPhysicalDeviceMultiviewFeatures {
         VkStructureType sType;
         void * pNext;
         VkBool32 multiview;
         VkBool32 multiviewGeometryShader;
         VkBool32 multiviewTessellationShader;
     }