VkAttachmentDescription | NVK Search
  1. No Results
Categories
VkAttachmentDescription Structure specifying an attachment description Syntax
attachmentDescription = VkAttachmentDescription();
attachmentDescription = new VkAttachmentDescription();
attachmentDescription = new VkAttachmentDescription(object);
Stub Parameters object When instantiated with an object, members can be filled directly. Properties VkAttachmentDescription.prototype.flags VkAttachmentDescriptionFlagBits is a bitmask of VkAttachmentDescriptionFlagBits specifying additional properties of the attachment. VkAttachmentDescription.prototype.format VkFormat is a VkFormat value specifying the format of the image view that will be used for the attachment. VkAttachmentDescription.prototype.samples VkSampleCountFlagBits is the number of samples of the image as defined in VkSampleCountFlagBits. VkAttachmentDescription.prototype.loadOp VkAttachmentLoadOp is a VkAttachmentLoadOp value specifying how the contents of color and depth components of the attachment are treated at the beginning of the subpass where it is first used. VkAttachmentDescription.prototype.storeOp VkAttachmentStoreOp is a VkAttachmentStoreOp value specifying how the contents of color and depth components of the attachment are treated at the end of the subpass where it is last used. VkAttachmentDescription.prototype.stencilLoadOp VkAttachmentLoadOp is a VkAttachmentLoadOp value specifying how the contents of stencil components of the attachment are treated at the beginning of the subpass where it is first used. VkAttachmentDescription.prototype.stencilStoreOp VkAttachmentStoreOp is a VkAttachmentStoreOp value specifying how the contents of stencil components of the attachment are treated at the end of the last subpass where it is used. VkAttachmentDescription.prototype.initialLayout VkImageLayout is the layout the attachment image subresource will be in when a render pass instance begins. VkAttachmentDescription.prototype.finalLayout VkImageLayout is the layout the attachment image subresource will be transitioned to when a render pass instance ends. Default Properties VkAttachmentDescription.prototype.memoryBuffer ArrayBuffer Native memory reference of the structure. VkAttachmentDescription.memoryLayout Object Object describing the structure's memory layout. VkAttachmentDescription.byteLength Number Total native byte length of the structure. Internal Properties These properties are mainly used by nvk internally. VkAttachmentDescription.reset Resets the native memory of the structure. VkAttachmentDescription.flush Writes the structure's data into the native memory. VkAttachmentDescription.reflect Synchronizes the structure's data with the native memory.