Class VkProtectedSubmitInfo

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

    public class VkProtectedSubmitInfo
    extends Struct
    implements NativeResource
    Structure indicating whether the submission is protected.
    Valid Usage
    • If the protected memory feature is not enabled, protectedSubmit must not be TRUE.
    • If protectedSubmit is TRUE, then each element of the pCommandBuffers array must be a protected command buffer.
    • If protectedSubmit is FALSE, then each element of the pCommandBuffers array must be an unprotected command buffer.
    • If the VkSubmitInfo::pNext chain does not include a VkProtectedSubmitInfo structure, then each element of the command buffer of the pCommandBuffers array must be an unprotected command buffer.
    Valid Usage (Implicit)

    Member documentation

    • protectedSubmit – specifies whether the batch is protected. If protectedSubmit is TRUE, the batch is protected. If protectedSubmit is FALSE, the batch is unprotected. If the VkSubmitInfo::pNext chain does not contain this structure, the batch is unprotected.

    Layout

    
     struct VkProtectedSubmitInfo {
         VkStructureType sType;
         void const * pNext;
         VkBool32 protectedSubmit;
     }
    • Field Detail

      • SIZEOF

        The struct size in bytes.
      • ALIGNOF

        The struct alignment in bytes.
      • STYPE, PNEXT, PROTECTEDSUBMIT

        The struct member offsets.
    • Constructor Detail

      • VkProtectedSubmitInfo

        public VkProtectedSubmitInfo​(java.nio.ByteBuffer container)
        Creates a VkProtectedSubmitInfo instance at the current position of the specified ByteBuffer container. Changes to the buffer's content will be visible to the struct instance and vice versa.

        The created instance holds a strong reference to the container object.