Top Description Fields Constructors Methods
org.lwjgl.vulkan

public Class QCOMTileProperties

extends Object
Class Inheritance
Imports
javax.annotation.*, java.nio.*, org.lwjgl.system.*

This extension allows an application to query the tile properties. This extension supports both renderpasses and dynamic rendering.
VK_QCOM_tile_properties
Name String
VK_QCOM_tile_properties
Extension Type
Device extension
Registered Extension Number
485
Revision
1
Extension and Version Dependencies
VK_KHR_get_physical_device_properties2
Contact
Extension Proposal
VK_QCOM_tile_properties
Other Extension Metadata
Last Modified Date
2022-07-11
Interactions and External Dependencies
Contributors
  • Jonathan Wicks, Qualcomm Technologies, Inc.
  • Jonathan Tinkham, Qualcomm Technologies, Inc.
  • Arpit Agarwal, Qualcomm Technologies, Inc.
  • Jeff Leger, Qualcomm Technologies, Inc.

Field Summary

Modifier and TypeField and Description
public static final String
public static final int
VK_QCOM_TILE_PROPERTIES_SPEC_VERSION

The extension specification version.

public static final int
public static final int

Constructor Summary

AccessConstructor and Description
protected

Method Summary

Modifier and TypeMethod and Description
public static int
nvkGetDynamicRenderingTilePropertiesQCOM(VkDevice device, long pRenderingInfo, long pProperties)

Unsafe version of: GetDynamicRenderingTilePropertiesQCOM

public static int
nvkGetFramebufferTilePropertiesQCOM(VkDevice device, long framebuffer, long
a pointer to an integer related to the number of tile properties available or queried, as described below.
pPropertiesCount
,
long pProperties)

Unsafe version of: GetFramebufferTilePropertiesQCOM

public static int
vkGetDynamicRenderingTilePropertiesQCOM(VkDevice
a logical device associated with the render pass.
device
,
VkRenderingInfo
a pointer to the VkRenderingInfo structure specifying details of the render pass instance in dynamic rendering.
pRenderingInfo
,
VkTilePropertiesQCOM
a pointer to a VkTilePropertiesQCOM structure in which the properties are returned.
pProperties
)

Get the properties when using dynamic rendering.

public static int
vkGetFramebufferTilePropertiesQCOM(VkDevice
a logical device associated with the framebuffer.
device
,
long
a handle of the framebuffer to query.
framebuffer
,
IntBuffer
a pointer to an integer related to the number of tile properties available or queried, as described below.
pPropertiesCount
,
VkTilePropertiesQCOM.Buffer
either NULL or a pointer to an array of VkTilePropertiesQCOM structures.
pProperties
)

Get tile properties from the attachments in framebuffer.

public static int
vkGetFramebufferTilePropertiesQCOM(VkDevice device, long framebuffer, int[] pPropertiesCount, VkTilePropertiesQCOM.Buffer pProperties)

Array version of: GetFramebufferTilePropertiesQCOM

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

VK_QCOM_TILE_PROPERTIES_EXTENSION_NAMEback to summary
public static final String VK_QCOM_TILE_PROPERTIES_EXTENSION_NAME

The extension name.

VK_QCOM_TILE_PROPERTIES_SPEC_VERSIONback to summary
public static final int VK_QCOM_TILE_PROPERTIES_SPEC_VERSION

The extension specification version.

VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_TILE_PROPERTIES_FEATURES_QCOMback to summary
public static final int VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_TILE_PROPERTIES_FEATURES_QCOM

Extends VkStructureType.

Enum values:
VK_STRUCTURE_TYPE_TILE_PROPERTIES_QCOMback to summary
public static final int VK_STRUCTURE_TYPE_TILE_PROPERTIES_QCOM

Extends VkStructureType.

Enum values:

Constructor Detail

QCOMTilePropertiesback to summary
protected QCOMTileProperties()

Method Detail

nvkGetDynamicRenderingTilePropertiesQCOMback to summary
public static int nvkGetDynamicRenderingTilePropertiesQCOM(VkDevice device, long pRenderingInfo, long pProperties)

Unsafe version of: GetDynamicRenderingTilePropertiesQCOM

nvkGetFramebufferTilePropertiesQCOMback to summary
public static int nvkGetFramebufferTilePropertiesQCOM(VkDevice device, long framebuffer, long pPropertiesCount, long pProperties)

Unsafe version of: GetFramebufferTilePropertiesQCOM

Parameters
pPropertiesCount:long

a pointer to an integer related to the number of tile properties available or queried, as described below.

vkGetDynamicRenderingTilePropertiesQCOMback to summary
public static int vkGetDynamicRenderingTilePropertiesQCOM(VkDevice device, VkRenderingInfo pRenderingInfo, VkTilePropertiesQCOM pProperties)

Get the properties when using dynamic rendering.

C Specification

To query the tile properties when using dynamic rendering, call:


VkResult vkGetDynamicRenderingTilePropertiesQCOM(
    VkDevice                                    device,
    const VkRenderingInfo*                      pRenderingInfo,
    VkTilePropertiesQCOM*                       pProperties);
Valid Usage (Implicit)
  • device must be a valid VkDevice handle
  • pRenderingInfo must be a valid pointer to a valid VkRenderingInfo structure
  • pProperties must be a valid pointer to a VkTilePropertiesQCOM structure
Return Codes
On success, this command returns
See Also

VkRenderingInfo, VkTilePropertiesQCOM

Parameters
device:VkDevice

a logical device associated with the render pass.

pRenderingInfo:VkRenderingInfo

a pointer to the VkRenderingInfo structure specifying details of the render pass instance in dynamic rendering.

pProperties:VkTilePropertiesQCOM

a pointer to a VkTilePropertiesQCOM structure in which the properties are returned.

Annotations
@NativeType:VkResult
vkGetFramebufferTilePropertiesQCOMback to summary
public static int vkGetFramebufferTilePropertiesQCOM(VkDevice device, long framebuffer, IntBuffer pPropertiesCount, VkTilePropertiesQCOM.Buffer pProperties)

Get tile properties from the attachments in framebuffer.

C Specification

To query the tile properties from the attachments in framebuffer, call:


VkResult vkGetFramebufferTilePropertiesQCOM(
    VkDevice                                    device,
    VkFramebuffer                               framebuffer,
    uint32_t*                                   pPropertiesCount,
    VkTilePropertiesQCOM*                       pProperties);
Description

If pProperties is NULL, then the number of tile properties available is returned in pPropertiesCount. Otherwise, pPropertiesCount must point to a variable set by the user to the number of elements in the pProperties array, and on return the variable is overwritten with the number of properties actually written to pProperties. If pPropertiesCount is less than the number of tile properties available, at most pPropertiesCount structures will be written, and INCOMPLETE will be returned instead of SUCCESS, to indicate that not all the available properties were returned.

The number of tile properties available is determined by the number of merged subpasses, and each tile property is associated with a merged subpass. There will be at most as many properties as there are subpasses within the render pass. To obtain the tile properties for a given merged subpass, the pProperties array can be indexed using the postMergeIndex value provided in VkRenderPassSubpassFeedbackInfoEXT.

Valid Usage (Implicit)
  • device must be a valid VkDevice handle
  • framebuffer must be a valid VkFramebuffer handle
  • pPropertiesCount must be a valid pointer to a uint32_t value
  • If the value referenced by pPropertiesCount is not 0, and pProperties is not NULL, pProperties must be a valid pointer to an array of pPropertiesCount VkTilePropertiesQCOM structures
  • framebuffer must have been created, allocated, or retrieved from device
Return Codes
On success, this command returns
See Also

VkTilePropertiesQCOM

Parameters
device:VkDevice

a logical device associated with the framebuffer.

framebuffer:long

a handle of the framebuffer to query.

pPropertiesCount:IntBuffer

a pointer to an integer related to the number of tile properties available or queried, as described below.

pProperties:VkTilePropertiesQCOM.Buffer

either NULL or a pointer to an array of VkTilePropertiesQCOM structures.

Annotations
@NativeType:VkResult
vkGetFramebufferTilePropertiesQCOMback to summary
public static int vkGetFramebufferTilePropertiesQCOM(VkDevice device, long framebuffer, int[] pPropertiesCount, VkTilePropertiesQCOM.Buffer pProperties)

Array version of: GetFramebufferTilePropertiesQCOM

Annotations
@NativeType:VkResult