public final class EXTShaderViewportIndexLayer
extends java.lang.Object
ShaderViewportIndexLayerEXT capability from the SPV_EXT_shader_viewport_index_layer extension in Vulkan.
This extension allows variables decorated with the Layer and ViewportIndex built-ins to be exported from vertex or tessellation shaders, using the ShaderViewportIndexLayerEXT capability.
When using GLSL source-based shading languages, the gl_ViewportIndex and gl_Layer built-in variables map to the SPIR-V ViewportIndex and Layer built-in decorations, respectively. Behaviour of these variables is extended as described in the GL_ARB_shader_viewport_layer_array (or the precursor GL_AMD_vertex_shader_layer, GL_AMD_vertex_shader_viewport_index, and GL_NV_viewport_array2 extensions).
The ShaderViewportIndexLayerEXT capability is equivalent to the ShaderViewportIndexLayerNV capability added by VK_NV_viewport_array2.
VK_EXT_shader_viewport_index_layerSPV_EXT_shader_viewport_index_layer SPIR-V extension.GL_ARB_shader_viewport_layer_array, GL_AMD_vertex_shader_layer, GL_AMD_vertex_shader_viewport_index, or GL_NV_viewport_array2 extensions for GLSL source languages.multiViewport feature.tessellationShader feature.| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
VK_EXT_SHADER_VIEWPORT_INDEX_LAYER_EXTENSION_NAME
The extension name.
|
static int |
VK_EXT_SHADER_VIEWPORT_INDEX_LAYER_SPEC_VERSION
The extension specification version.
|
public static final int VK_EXT_SHADER_VIEWPORT_INDEX_LAYER_SPEC_VERSION
public static final java.lang.String VK_EXT_SHADER_VIEWPORT_INDEX_LAYER_EXTENSION_NAME
Copyright LWJGL. All Rights Reserved. License terms.