Top Description Fields Constructors Methods
org.lwjgl.opengl

public Class NVMeshShader

extends Object
Class Inheritance
Imports
org.lwjgl.system.*

Native bindings to the NV_mesh_shader extension.

This extension provides a new mechanism allowing applications to use two new programmable shader types -- the task and mesh shader -- to generate collections of geometric primitives to be processed by fixed-function primitive assembly and rasterization logic. When the task and mesh shaders are drawn, they replace the standard programmable vertex processing pipeline, including vertex array attribute fetching, vertex shader processing, tessellation, and the geometry shader processing.

Requires OpenGL 4.5.

Field Summary

Modifier and TypeField and Description
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
GL_MESH_OUTPUT_TYPE_NV

Accepted by the pname parameter of GetProgramiv.

public static final int
GL_MESH_PRIMITIVES_OUT_NV

Accepted by the pname parameter of GetProgramiv.

public static final int
GL_MESH_SHADER_BIT_NV

Accepted by the stages parameter of UseProgramStages.

public static final int
GL_MESH_SHADER_NV

Accepted by the type parameter of CreateShader and returned by the params parameter of GetShaderiv.

public static final int
public static final int
public static final int
GL_MESH_VERTICES_OUT_NV

Accepted by the pname parameter of GetProgramiv.

public static final int
GL_MESH_WORK_GROUP_SIZE_NV

Accepted by the pname parameter of GetProgramiv.

public static final int
public static final int
public static final int
GL_TASK_SHADER_BIT_NV

Accepted by the stages parameter of UseProgramStages.

public static final int
GL_TASK_SHADER_NV

Accepted by the type parameter of CreateShader and returned by the params parameter of GetShaderiv.

public static final int
public static final int
public static final int
GL_TASK_WORK_GROUP_SIZE_NV

Accepted by the pname parameter of GetProgramiv.

public static final int
public static final int

Constructor Summary

AccessConstructor and Description
protected

Method Summary

Modifier and TypeMethod and Description
public static native void
public static native void
glDrawMeshTasksNV(int first, int count)

public static native void
glMultiDrawMeshTasksIndirectCountNV(long indirect, long drawcount, int maxdrawcount, int stride)

public static native void
glMultiDrawMeshTasksIndirectNV(long indirect, int drawcount, int stride)

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

GL_ATOMIC_COUNTER_BUFFER_REFERENCED_BY_MESH_SHADER_NVback to summary
public static final int GL_ATOMIC_COUNTER_BUFFER_REFERENCED_BY_MESH_SHADER_NV

Accepted by the pname parameter of GetActiveAtomicCounterBufferiv.

GL_ATOMIC_COUNTER_BUFFER_REFERENCED_BY_TASK_SHADER_NVback to summary
public static final int GL_ATOMIC_COUNTER_BUFFER_REFERENCED_BY_TASK_SHADER_NV

Accepted by the pname parameter of GetActiveAtomicCounterBufferiv.

GL_MAX_COMBINED_MESH_UNIFORM_COMPONENTS_NVback to summary
public static final int GL_MAX_COMBINED_MESH_UNIFORM_COMPONENTS_NV

Accepted by the pname parameter of GetIntegerv, GetBooleanv, GetFloatv, GetDoublev and GetInteger64v.

GL_MAX_COMBINED_TASK_UNIFORM_COMPONENTS_NVback to summary
public static final int GL_MAX_COMBINED_TASK_UNIFORM_COMPONENTS_NV

Accepted by the pname parameter of GetIntegerv, GetBooleanv, GetFloatv, GetDoublev and GetInteger64v.

GL_MAX_DRAW_MESH_TASKS_COUNT_NVback to summary
public static final int GL_MAX_DRAW_MESH_TASKS_COUNT_NV

Accepted by the pname parameter of GetIntegerv, GetBooleanv, GetFloatv, GetDoublev and GetInteger64v.

GL_MAX_MESH_ATOMIC_COUNTER_BUFFERS_NVback to summary
public static final int GL_MAX_MESH_ATOMIC_COUNTER_BUFFERS_NV

Accepted by the pname parameter of GetIntegerv, GetBooleanv, GetFloatv, GetDoublev and GetInteger64v.

GL_MAX_MESH_ATOMIC_COUNTERS_NVback to summary
public static final int GL_MAX_MESH_ATOMIC_COUNTERS_NV

Accepted by the pname parameter of GetIntegerv, GetBooleanv, GetFloatv, GetDoublev and GetInteger64v.

GL_MAX_MESH_IMAGE_UNIFORMS_NVback to summary
public static final int GL_MAX_MESH_IMAGE_UNIFORMS_NV

Accepted by the pname parameter of GetIntegerv, GetBooleanv, GetFloatv, GetDoublev and GetInteger64v.

GL_MAX_MESH_OUTPUT_PRIMITIVES_NVback to summary
public static final int GL_MAX_MESH_OUTPUT_PRIMITIVES_NV

Accepted by the pname parameter of GetIntegerv, GetBooleanv, GetFloatv, GetDoublev and GetInteger64v.

GL_MAX_MESH_OUTPUT_VERTICES_NVback to summary
public static final int GL_MAX_MESH_OUTPUT_VERTICES_NV

Accepted by the pname parameter of GetIntegerv, GetBooleanv, GetFloatv, GetDoublev and GetInteger64v.

GL_MAX_MESH_SHADER_STORAGE_BLOCKS_NVback to summary
public static final int GL_MAX_MESH_SHADER_STORAGE_BLOCKS_NV

Accepted by the pname parameter of GetIntegerv, GetBooleanv, GetFloatv, GetDoublev and GetInteger64v.

GL_MAX_MESH_TEXTURE_IMAGE_UNITS_NVback to summary
public static final int GL_MAX_MESH_TEXTURE_IMAGE_UNITS_NV

Accepted by the pname parameter of GetIntegerv, GetBooleanv, GetFloatv, GetDoublev and GetInteger64v.

GL_MAX_MESH_TOTAL_MEMORY_SIZE_NVback to summary
public static final int GL_MAX_MESH_TOTAL_MEMORY_SIZE_NV

Accepted by the pname parameter of GetIntegerv, GetBooleanv, GetFloatv, GetDoublev and GetInteger64v.

GL_MAX_MESH_UNIFORM_BLOCKS_NVback to summary
public static final int GL_MAX_MESH_UNIFORM_BLOCKS_NV

Accepted by the pname parameter of GetIntegerv, GetBooleanv, GetFloatv, GetDoublev and GetInteger64v.

GL_MAX_MESH_UNIFORM_COMPONENTS_NVback to summary
public static final int GL_MAX_MESH_UNIFORM_COMPONENTS_NV

Accepted by the pname parameter of GetIntegerv, GetBooleanv, GetFloatv, GetDoublev and GetInteger64v.

GL_MAX_MESH_VIEWS_NVback to summary
public static final int GL_MAX_MESH_VIEWS_NV

Accepted by the pname parameter of GetIntegerv, GetBooleanv, GetFloatv, GetDoublev and GetInteger64v.

GL_MAX_MESH_WORK_GROUP_INVOCATIONS_NVback to summary
public static final int GL_MAX_MESH_WORK_GROUP_INVOCATIONS_NV

Accepted by the pname parameter of GetIntegerv, GetBooleanv, GetFloatv, GetDoublev and GetInteger64v.

GL_MAX_MESH_WORK_GROUP_SIZE_NVback to summary
public static final int GL_MAX_MESH_WORK_GROUP_SIZE_NV

Accepted by the pname parameter of GetIntegeri_v, GetBooleani_v, GetFloati_v, GetDoublei_v and GetInteger64i_v.

GL_MAX_TASK_ATOMIC_COUNTER_BUFFERS_NVback to summary
public static final int GL_MAX_TASK_ATOMIC_COUNTER_BUFFERS_NV

Accepted by the pname parameter of GetIntegerv, GetBooleanv, GetFloatv, GetDoublev and GetInteger64v.

GL_MAX_TASK_ATOMIC_COUNTERS_NVback to summary
public static final int GL_MAX_TASK_ATOMIC_COUNTERS_NV

Accepted by the pname parameter of GetIntegerv, GetBooleanv, GetFloatv, GetDoublev and GetInteger64v.

GL_MAX_TASK_IMAGE_UNIFORMS_NVback to summary
public static final int GL_MAX_TASK_IMAGE_UNIFORMS_NV

Accepted by the pname parameter of GetIntegerv, GetBooleanv, GetFloatv, GetDoublev and GetInteger64v.

GL_MAX_TASK_OUTPUT_COUNT_NVback to summary
public static final int GL_MAX_TASK_OUTPUT_COUNT_NV

Accepted by the pname parameter of GetIntegerv, GetBooleanv, GetFloatv, GetDoublev and GetInteger64v.

GL_MAX_TASK_SHADER_STORAGE_BLOCKS_NVback to summary
public static final int GL_MAX_TASK_SHADER_STORAGE_BLOCKS_NV

Accepted by the pname parameter of GetIntegerv, GetBooleanv, GetFloatv, GetDoublev and GetInteger64v.

GL_MAX_TASK_TEXTURE_IMAGE_UNITS_NVback to summary
public static final int GL_MAX_TASK_TEXTURE_IMAGE_UNITS_NV

Accepted by the pname parameter of GetIntegerv, GetBooleanv, GetFloatv, GetDoublev and GetInteger64v.

GL_MAX_TASK_TOTAL_MEMORY_SIZE_NVback to summary
public static final int GL_MAX_TASK_TOTAL_MEMORY_SIZE_NV

Accepted by the pname parameter of GetIntegerv, GetBooleanv, GetFloatv, GetDoublev and GetInteger64v.

GL_MAX_TASK_UNIFORM_BLOCKS_NVback to summary
public static final int GL_MAX_TASK_UNIFORM_BLOCKS_NV

Accepted by the pname parameter of GetIntegerv, GetBooleanv, GetFloatv, GetDoublev and GetInteger64v.

GL_MAX_TASK_UNIFORM_COMPONENTS_NVback to summary
public static final int GL_MAX_TASK_UNIFORM_COMPONENTS_NV

Accepted by the pname parameter of GetIntegerv, GetBooleanv, GetFloatv, GetDoublev and GetInteger64v.

GL_MAX_TASK_WORK_GROUP_INVOCATIONS_NVback to summary
public static final int GL_MAX_TASK_WORK_GROUP_INVOCATIONS_NV

Accepted by the pname parameter of GetIntegerv, GetBooleanv, GetFloatv, GetDoublev and GetInteger64v.

GL_MAX_TASK_WORK_GROUP_SIZE_NVback to summary
public static final int GL_MAX_TASK_WORK_GROUP_SIZE_NV

Accepted by the pname parameter of GetIntegeri_v, GetBooleani_v, GetFloati_v, GetDoublei_v and GetInteger64i_v.

GL_MESH_OUTPUT_PER_PRIMITIVE_GRANULARITY_NVback to summary
public static final int GL_MESH_OUTPUT_PER_PRIMITIVE_GRANULARITY_NV

Accepted by the pname parameter of GetIntegerv, GetBooleanv, GetFloatv, GetDoublev and GetInteger64v.

GL_MESH_OUTPUT_PER_VERTEX_GRANULARITY_NVback to summary
public static final int GL_MESH_OUTPUT_PER_VERTEX_GRANULARITY_NV

Accepted by the pname parameter of GetIntegerv, GetBooleanv, GetFloatv, GetDoublev and GetInteger64v.

GL_MESH_OUTPUT_TYPE_NVback to summary
public static final int GL_MESH_OUTPUT_TYPE_NV

Accepted by the pname parameter of GetProgramiv.

GL_MESH_PRIMITIVES_OUT_NVback to summary
public static final int GL_MESH_PRIMITIVES_OUT_NV

Accepted by the pname parameter of GetProgramiv.

GL_MESH_SHADER_BIT_NVback to summary
public static final int GL_MESH_SHADER_BIT_NV

Accepted by the stages parameter of UseProgramStages.

GL_MESH_SHADER_NVback to summary
public static final int GL_MESH_SHADER_NV

Accepted by the type parameter of CreateShader and returned by the params parameter of GetShaderiv.

GL_MESH_SUBROUTINE_NVback to summary
public static final int GL_MESH_SUBROUTINE_NV

Accepted by the programInterface parameter of GetProgramInterfaceiv, GetProgramResourceIndex, GetProgramResourceName, GetProgramResourceiv, GetProgramResourceLocation, and GetProgramResourceLocationIndex.

GL_MESH_SUBROUTINE_UNIFORM_NVback to summary
public static final int GL_MESH_SUBROUTINE_UNIFORM_NV

Accepted by the programInterface parameter of GetProgramInterfaceiv, GetProgramResourceIndex, GetProgramResourceName, GetProgramResourceiv, GetProgramResourceLocation, and GetProgramResourceLocationIndex.

GL_MESH_VERTICES_OUT_NVback to summary
public static final int GL_MESH_VERTICES_OUT_NV

Accepted by the pname parameter of GetProgramiv.

GL_MESH_WORK_GROUP_SIZE_NVback to summary
public static final int GL_MESH_WORK_GROUP_SIZE_NV

Accepted by the pname parameter of GetProgramiv.

GL_REFERENCED_BY_MESH_SHADER_NVback to summary
public static final int GL_REFERENCED_BY_MESH_SHADER_NV

Accepted in the props array of GetProgramResourceiv.

GL_REFERENCED_BY_TASK_SHADER_NVback to summary
public static final int GL_REFERENCED_BY_TASK_SHADER_NV

Accepted in the props array of GetProgramResourceiv.

GL_TASK_SHADER_BIT_NVback to summary
public static final int GL_TASK_SHADER_BIT_NV

Accepted by the stages parameter of UseProgramStages.

GL_TASK_SHADER_NVback to summary
public static final int GL_TASK_SHADER_NV

Accepted by the type parameter of CreateShader and returned by the params parameter of GetShaderiv.

GL_TASK_SUBROUTINE_NVback to summary
public static final int GL_TASK_SUBROUTINE_NV

Accepted by the programInterface parameter of GetProgramInterfaceiv, GetProgramResourceIndex, GetProgramResourceName, GetProgramResourceiv, GetProgramResourceLocation, and GetProgramResourceLocationIndex.

GL_TASK_SUBROUTINE_UNIFORM_NVback to summary
public static final int GL_TASK_SUBROUTINE_UNIFORM_NV

Accepted by the programInterface parameter of GetProgramInterfaceiv, GetProgramResourceIndex, GetProgramResourceName, GetProgramResourceiv, GetProgramResourceLocation, and GetProgramResourceLocationIndex.

GL_TASK_WORK_GROUP_SIZE_NVback to summary
public static final int GL_TASK_WORK_GROUP_SIZE_NV

Accepted by the pname parameter of GetProgramiv.

GL_UNIFORM_BLOCK_REFERENCED_BY_MESH_SHADER_NVback to summary
public static final int GL_UNIFORM_BLOCK_REFERENCED_BY_MESH_SHADER_NV

Accepted by the pname parameter of GetActiveUniformBlockiv.

GL_UNIFORM_BLOCK_REFERENCED_BY_TASK_SHADER_NVback to summary
public static final int GL_UNIFORM_BLOCK_REFERENCED_BY_TASK_SHADER_NV

Accepted by the pname parameter of GetActiveUniformBlockiv.

Constructor Detail

NVMeshShaderback to summary
protected NVMeshShader()

Method Detail

glDrawMeshTasksIndirectNVback to summary
public static native void glDrawMeshTasksIndirectNV(long indirect)
glDrawMeshTasksNVback to summary
public static native void glDrawMeshTasksNV(int first, int count)
glMultiDrawMeshTasksIndirectCountNVback to summary
public static native void glMultiDrawMeshTasksIndirectCountNV(long indirect, long drawcount, int maxdrawcount, int stride)
glMultiDrawMeshTasksIndirectNVback to summary
public static native void glMultiDrawMeshTasksIndirectNV(long indirect, int drawcount, int stride)