public class NVMeshShader
extends java.lang.Object
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.
| Modifier and Type | Method and Description |
|---|---|
static void |
glDrawMeshTasksIndirectNV(long indirect) |
static void |
glDrawMeshTasksNV(int first,
int count) |
static void |
glMultiDrawMeshTasksIndirectCountNV(long indirect,
long drawcount,
int maxdrawcount,
int stride) |
static void |
glMultiDrawMeshTasksIndirectNV(long indirect,
int drawcount,
int stride) |
public static final int GL_MESH_SHADER_NV
public static final int GL_TASK_SHADER_NV
public static final int GL_MAX_MESH_UNIFORM_BLOCKS_NV
pname parameter of GetIntegerv, GetBooleanv, GetFloatv, GetDoublev and GetInteger64v.public static final int GL_MAX_MESH_TEXTURE_IMAGE_UNITS_NV
pname parameter of GetIntegerv, GetBooleanv, GetFloatv, GetDoublev and GetInteger64v.public static final int GL_MAX_MESH_IMAGE_UNIFORMS_NV
pname parameter of GetIntegerv, GetBooleanv, GetFloatv, GetDoublev and GetInteger64v.public static final int GL_MAX_MESH_UNIFORM_COMPONENTS_NV
pname parameter of GetIntegerv, GetBooleanv, GetFloatv, GetDoublev and GetInteger64v.public static final int GL_MAX_MESH_ATOMIC_COUNTER_BUFFERS_NV
pname parameter of GetIntegerv, GetBooleanv, GetFloatv, GetDoublev and GetInteger64v.public static final int GL_MAX_MESH_ATOMIC_COUNTERS_NV
pname parameter of GetIntegerv, GetBooleanv, GetFloatv, GetDoublev and GetInteger64v.public static final int GL_MAX_MESH_SHADER_STORAGE_BLOCKS_NV
pname parameter of GetIntegerv, GetBooleanv, GetFloatv, GetDoublev and GetInteger64v.public static final int GL_MAX_COMBINED_MESH_UNIFORM_COMPONENTS_NV
pname parameter of GetIntegerv, GetBooleanv, GetFloatv, GetDoublev and GetInteger64v.public static final int GL_MAX_TASK_UNIFORM_BLOCKS_NV
pname parameter of GetIntegerv, GetBooleanv, GetFloatv, GetDoublev and GetInteger64v.public static final int GL_MAX_TASK_TEXTURE_IMAGE_UNITS_NV
pname parameter of GetIntegerv, GetBooleanv, GetFloatv, GetDoublev and GetInteger64v.public static final int GL_MAX_TASK_IMAGE_UNIFORMS_NV
pname parameter of GetIntegerv, GetBooleanv, GetFloatv, GetDoublev and GetInteger64v.public static final int GL_MAX_TASK_UNIFORM_COMPONENTS_NV
pname parameter of GetIntegerv, GetBooleanv, GetFloatv, GetDoublev and GetInteger64v.public static final int GL_MAX_TASK_ATOMIC_COUNTER_BUFFERS_NV
pname parameter of GetIntegerv, GetBooleanv, GetFloatv, GetDoublev and GetInteger64v.public static final int GL_MAX_TASK_ATOMIC_COUNTERS_NV
pname parameter of GetIntegerv, GetBooleanv, GetFloatv, GetDoublev and GetInteger64v.public static final int GL_MAX_TASK_SHADER_STORAGE_BLOCKS_NV
pname parameter of GetIntegerv, GetBooleanv, GetFloatv, GetDoublev and GetInteger64v.public static final int GL_MAX_COMBINED_TASK_UNIFORM_COMPONENTS_NV
pname parameter of GetIntegerv, GetBooleanv, GetFloatv, GetDoublev and GetInteger64v.public static final int GL_MAX_MESH_WORK_GROUP_INVOCATIONS_NV
pname parameter of GetIntegerv, GetBooleanv, GetFloatv, GetDoublev and GetInteger64v.public static final int GL_MAX_TASK_WORK_GROUP_INVOCATIONS_NV
pname parameter of GetIntegerv, GetBooleanv, GetFloatv, GetDoublev and GetInteger64v.public static final int GL_MAX_MESH_TOTAL_MEMORY_SIZE_NV
pname parameter of GetIntegerv, GetBooleanv, GetFloatv, GetDoublev and GetInteger64v.public static final int GL_MAX_TASK_TOTAL_MEMORY_SIZE_NV
pname parameter of GetIntegerv, GetBooleanv, GetFloatv, GetDoublev and GetInteger64v.public static final int GL_MAX_MESH_OUTPUT_VERTICES_NV
pname parameter of GetIntegerv, GetBooleanv, GetFloatv, GetDoublev and GetInteger64v.public static final int GL_MAX_MESH_OUTPUT_PRIMITIVES_NV
pname parameter of GetIntegerv, GetBooleanv, GetFloatv, GetDoublev and GetInteger64v.public static final int GL_MAX_TASK_OUTPUT_COUNT_NV
pname parameter of GetIntegerv, GetBooleanv, GetFloatv, GetDoublev and GetInteger64v.public static final int GL_MAX_DRAW_MESH_TASKS_COUNT_NV
pname parameter of GetIntegerv, GetBooleanv, GetFloatv, GetDoublev and GetInteger64v.public static final int GL_MAX_MESH_VIEWS_NV
pname parameter of GetIntegerv, GetBooleanv, GetFloatv, GetDoublev and GetInteger64v.public static final int GL_MESH_OUTPUT_PER_VERTEX_GRANULARITY_NV
pname parameter of GetIntegerv, GetBooleanv, GetFloatv, GetDoublev and GetInteger64v.public static final int GL_MESH_OUTPUT_PER_PRIMITIVE_GRANULARITY_NV
pname parameter of GetIntegerv, GetBooleanv, GetFloatv, GetDoublev and GetInteger64v.public static final int GL_MAX_MESH_WORK_GROUP_SIZE_NV
pname parameter of GetIntegeri_v, GetBooleani_v, GetFloati_v, GetDoublei_v and GetInteger64i_v.public static final int GL_MAX_TASK_WORK_GROUP_SIZE_NV
pname parameter of GetIntegeri_v, GetBooleani_v, GetFloati_v, GetDoublei_v and GetInteger64i_v.public static final int GL_MESH_WORK_GROUP_SIZE_NV
pname parameter of GetProgramiv.public static final int GL_TASK_WORK_GROUP_SIZE_NV
pname parameter of GetProgramiv.public static final int GL_MESH_VERTICES_OUT_NV
pname parameter of GetProgramiv.public static final int GL_MESH_PRIMITIVES_OUT_NV
pname parameter of GetProgramiv.public static final int GL_MESH_OUTPUT_TYPE_NV
pname parameter of GetProgramiv.public static final int GL_UNIFORM_BLOCK_REFERENCED_BY_MESH_SHADER_NV
pname parameter of GetActiveUniformBlockiv.public static final int GL_UNIFORM_BLOCK_REFERENCED_BY_TASK_SHADER_NV
pname parameter of GetActiveUniformBlockiv.public static final int GL_ATOMIC_COUNTER_BUFFER_REFERENCED_BY_MESH_SHADER_NV
pname parameter of GetActiveAtomicCounterBufferiv.public static final int GL_ATOMIC_COUNTER_BUFFER_REFERENCED_BY_TASK_SHADER_NV
pname parameter of GetActiveAtomicCounterBufferiv.public static final int GL_REFERENCED_BY_MESH_SHADER_NV
props array of GetProgramResourceiv.public static final int GL_REFERENCED_BY_TASK_SHADER_NV
props array of GetProgramResourceiv.public static final int GL_MESH_SUBROUTINE_NV
programInterface parameter of GetProgramInterfaceiv, GetProgramResourceIndex, GetProgramResourceName,
GetProgramResourceiv, GetProgramResourceLocation, and GetProgramResourceLocationIndex.public static final int GL_TASK_SUBROUTINE_NV
programInterface parameter of GetProgramInterfaceiv, GetProgramResourceIndex, GetProgramResourceName,
GetProgramResourceiv, GetProgramResourceLocation, and GetProgramResourceLocationIndex.public static final int GL_MESH_SUBROUTINE_UNIFORM_NV
programInterface parameter of GetProgramInterfaceiv, GetProgramResourceIndex, GetProgramResourceName,
GetProgramResourceiv, GetProgramResourceLocation, and GetProgramResourceLocationIndex.public static final int GL_TASK_SUBROUTINE_UNIFORM_NV
programInterface parameter of GetProgramInterfaceiv, GetProgramResourceIndex, GetProgramResourceName,
GetProgramResourceiv, GetProgramResourceLocation, and GetProgramResourceLocationIndex.public static final int GL_MESH_SHADER_BIT_NV
stages parameter of UseProgramStages.public static final int GL_TASK_SHADER_BIT_NV
stages parameter of UseProgramStages.public static void glDrawMeshTasksNV(int first,
int count)
public static void glDrawMeshTasksIndirectNV(long indirect)
public static void glMultiDrawMeshTasksIndirectNV(long indirect,
int drawcount,
int stride)
public static void glMultiDrawMeshTasksIndirectCountNV(long indirect,
long drawcount,
int maxdrawcount,
int stride)
Copyright LWJGL. All Rights Reserved. License terms.