Top Description Fields Constructors Methods
org.lwjgl.vulkan

public final Class KHRShaderDrawParameters

extends Object
Class Inheritance

This extension adds support for the following SPIR-V extension in Vulkan:

The extension provides access to three additional built-in shader variables in Vulkan:

When using GLSL source-based shader languages, the following variables from GL_ARB_shader_draw_parameters can map to these SPIR-V built-in decorations:

Promotion to Vulkan 1.1

All functionality in this extension is included in core Vulkan 1.1. However, the shaderDrawParameters feature bit was added to distinguish whether it is actually available or not.

VK_KHR_shader_draw_parameters
Name String
VK_KHR_shader_draw_parameters
Extension Type
Device extension
Registered Extension Number
64
Revision
1
Deprecation state
Contact
Other Extension Metadata
Last Modified Date
2017-09-05
IP Status
No known IP claims.
Interactions and External Dependencies
Contributors
  • Daniel Koch, NVIDIA Corporation
  • Jeff Bolz, NVIDIA
  • Daniel Rakos, AMD
  • Jan-Harald Fredriksen, ARM
  • John Kessenich, Google
  • Stuart Smith, IMG

Field Summary

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

The extension specification version.

Constructor Summary

AccessConstructor and Description
private

Method Summary

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

VK_KHR_SHADER_DRAW_PARAMETERS_EXTENSION_NAMEback to summary
public static final String VK_KHR_SHADER_DRAW_PARAMETERS_EXTENSION_NAME

The extension name.

VK_KHR_SHADER_DRAW_PARAMETERS_SPEC_VERSIONback to summary
public static final int VK_KHR_SHADER_DRAW_PARAMETERS_SPEC_VERSION

The extension specification version.

Constructor Detail

KHRShaderDrawParametersback to summary
private KHRShaderDrawParameters()