Class GLSLang

java.lang.Object
org.lwjgl.util.shaderc.GLSLang

public class GLSLang extends Object
  • Field Details

    • GLSLANG_STAGE_VERTEX

      public static final int GLSLANG_STAGE_VERTEX
      See Also:
    • GLSLANG_STAGE_TESSCONTROL

      public static final int GLSLANG_STAGE_TESSCONTROL
      See Also:
    • GLSLANG_STAGE_TESSEVALUATION

      public static final int GLSLANG_STAGE_TESSEVALUATION
      See Also:
    • GLSLANG_STAGE_GEOMETRY

      public static final int GLSLANG_STAGE_GEOMETRY
      See Also:
    • GLSLANG_STAGE_FRAGMENT

      public static final int GLSLANG_STAGE_FRAGMENT
      See Also:
    • GLSLANG_STAGE_COMPUTE

      public static final int GLSLANG_STAGE_COMPUTE
      See Also:
    • GLSLANG_STAGE_RAYGEN

      public static final int GLSLANG_STAGE_RAYGEN
      See Also:
    • GLSLANG_STAGE_RAYGEN_NV

      public static final int GLSLANG_STAGE_RAYGEN_NV
      See Also:
    • GLSLANG_STAGE_INTERSECT

      public static final int GLSLANG_STAGE_INTERSECT
      See Also:
    • GLSLANG_STAGE_INTERSECT_NV

      public static final int GLSLANG_STAGE_INTERSECT_NV
      See Also:
    • GLSLANG_STAGE_ANYHIT

      public static final int GLSLANG_STAGE_ANYHIT
      See Also:
    • GLSLANG_STAGE_ANYHIT_NV

      public static final int GLSLANG_STAGE_ANYHIT_NV
      See Also:
    • GLSLANG_STAGE_CLOSESTHIT

      public static final int GLSLANG_STAGE_CLOSESTHIT
      See Also:
    • GLSLANG_STAGE_CLOSESTHIT_NV

      public static final int GLSLANG_STAGE_CLOSESTHIT_NV
      See Also:
    • GLSLANG_STAGE_MISS

      public static final int GLSLANG_STAGE_MISS
      See Also:
    • GLSLANG_STAGE_MISS_NV

      public static final int GLSLANG_STAGE_MISS_NV
      See Also:
    • GLSLANG_STAGE_CALLABLE

      public static final int GLSLANG_STAGE_CALLABLE
      See Also:
    • GLSLANG_STAGE_CALLABLE_NV

      public static final int GLSLANG_STAGE_CALLABLE_NV
      See Also:
    • GLSLANG_STAGE_TASK

      public static final int GLSLANG_STAGE_TASK
      See Also:
    • GLSLANG_STAGE_TASK_NV

      public static final int GLSLANG_STAGE_TASK_NV
      See Also:
    • GLSLANG_STAGE_MESH

      public static final int GLSLANG_STAGE_MESH
      See Also:
    • GLSLANG_STAGE_MESH_NV

      public static final int GLSLANG_STAGE_MESH_NV
      See Also:
    • GLSLANG_STAGE_VERTEX_MASK

      public static final int GLSLANG_STAGE_VERTEX_MASK
      See Also:
    • GLSLANG_STAGE_TESSCONTROL_MASK

      public static final int GLSLANG_STAGE_TESSCONTROL_MASK
      See Also:
    • GLSLANG_STAGE_TESSEVALUATION_MASK

      public static final int GLSLANG_STAGE_TESSEVALUATION_MASK
      See Also:
    • GLSLANG_STAGE_GEOMETRY_MASK

      public static final int GLSLANG_STAGE_GEOMETRY_MASK
      See Also:
    • GLSLANG_STAGE_FRAGMENT_MASK

      public static final int GLSLANG_STAGE_FRAGMENT_MASK
      See Also:
    • GLSLANG_STAGE_COMPUTE_MASK

      public static final int GLSLANG_STAGE_COMPUTE_MASK
      See Also:
    • GLSLANG_STAGE_RAYGEN_MASK

      public static final int GLSLANG_STAGE_RAYGEN_MASK
      See Also:
    • GLSLANG_STAGE_RAYGEN_NV_MASK

      public static final int GLSLANG_STAGE_RAYGEN_NV_MASK
      See Also:
    • GLSLANG_STAGE_INTERSECT_MASK

      public static final int GLSLANG_STAGE_INTERSECT_MASK
      See Also:
    • GLSLANG_STAGE_INTERSECT_NV_MASK

      public static final int GLSLANG_STAGE_INTERSECT_NV_MASK
      See Also:
    • GLSLANG_STAGE_ANYHIT_MASK

      public static final int GLSLANG_STAGE_ANYHIT_MASK
      See Also:
    • GLSLANG_STAGE_ANYHIT_NV_MASK

      public static final int GLSLANG_STAGE_ANYHIT_NV_MASK
      See Also:
    • GLSLANG_STAGE_CLOSESTHIT_MASK

      public static final int GLSLANG_STAGE_CLOSESTHIT_MASK
      See Also:
    • GLSLANG_STAGE_CLOSESTHIT_NV_MASK

      public static final int GLSLANG_STAGE_CLOSESTHIT_NV_MASK
      See Also:
    • GLSLANG_STAGE_MISS_MASK

      public static final int GLSLANG_STAGE_MISS_MASK
      See Also:
    • GLSLANG_STAGE_MISS_NV_MASK

      public static final int GLSLANG_STAGE_MISS_NV_MASK
      See Also:
    • GLSLANG_STAGE_CALLABLE_MASK

      public static final int GLSLANG_STAGE_CALLABLE_MASK
      See Also:
    • GLSLANG_STAGE_CALLABLE_NV_MASK

      public static final int GLSLANG_STAGE_CALLABLE_NV_MASK
      See Also:
    • GLSLANG_STAGE_TASK_MASK

      public static final int GLSLANG_STAGE_TASK_MASK
      See Also:
    • GLSLANG_STAGE_TASK_NV_MASK

      public static final int GLSLANG_STAGE_TASK_NV_MASK
      See Also:
    • GLSLANG_STAGE_MESH_MASK

      public static final int GLSLANG_STAGE_MESH_MASK
      See Also:
    • GLSLANG_STAGE_MESH_NV_MASK

      public static final int GLSLANG_STAGE_MESH_NV_MASK
      See Also:
    • GLSLANG_SOURCE_NONE

      public static final int GLSLANG_SOURCE_NONE
      See Also:
    • GLSLANG_SOURCE_GLSL

      public static final int GLSLANG_SOURCE_GLSL
      See Also:
    • GLSLANG_SOURCE_HLSL

      public static final int GLSLANG_SOURCE_HLSL
      See Also:
    • GLSLANG_CLIENT_NONE

      public static final int GLSLANG_CLIENT_NONE
      See Also:
    • GLSLANG_CLIENT_VULKAN

      public static final int GLSLANG_CLIENT_VULKAN
      See Also:
    • GLSLANG_CLIENT_OPENGL

      public static final int GLSLANG_CLIENT_OPENGL
      See Also:
    • GLSLANG_TARGET_NONE

      public static final int GLSLANG_TARGET_NONE
      See Also:
    • GLSLANG_TARGET_SPV

      public static final int GLSLANG_TARGET_SPV
      See Also:
    • GLSLANG_TARGET_VULKAN_1_0

      public static final int GLSLANG_TARGET_VULKAN_1_0
      See Also:
    • GLSLANG_TARGET_VULKAN_1_1

      public static final int GLSLANG_TARGET_VULKAN_1_1
      See Also:
    • GLSLANG_TARGET_VULKAN_1_2

      public static final int GLSLANG_TARGET_VULKAN_1_2
      See Also:
    • GLSLANG_TARGET_VULKAN_1_3

      public static final int GLSLANG_TARGET_VULKAN_1_3
      See Also:
    • GLSLANG_TARGET_VULKAN_1_4

      public static final int GLSLANG_TARGET_VULKAN_1_4
      See Also:
    • GLSLANG_TARGET_OPENGL_450

      public static final int GLSLANG_TARGET_OPENGL_450
      See Also:
    • GLSLANG_TARGET_SPV_1_0

      public static final int GLSLANG_TARGET_SPV_1_0
      See Also:
    • GLSLANG_TARGET_SPV_1_1

      public static final int GLSLANG_TARGET_SPV_1_1
      See Also:
    • GLSLANG_TARGET_SPV_1_2

      public static final int GLSLANG_TARGET_SPV_1_2
      See Also:
    • GLSLANG_TARGET_SPV_1_3

      public static final int GLSLANG_TARGET_SPV_1_3
      See Also:
    • GLSLANG_TARGET_SPV_1_4

      public static final int GLSLANG_TARGET_SPV_1_4
      See Also:
    • GLSLANG_TARGET_SPV_1_5

      public static final int GLSLANG_TARGET_SPV_1_5
      See Also:
    • GLSLANG_TARGET_SPV_1_6

      public static final int GLSLANG_TARGET_SPV_1_6
      See Also:
    • GLSLANG_EX_VERTEX_FRAGMENT

      public static final int GLSLANG_EX_VERTEX_FRAGMENT
      See Also:
    • GLSLANG_EX_FRAGMENT

      public static final int GLSLANG_EX_FRAGMENT
      See Also:
    • GLSLANG_OPT_NO_GENERATION

      public static final int GLSLANG_OPT_NO_GENERATION
      See Also:
    • GLSLANG_OPT_NONE

      public static final int GLSLANG_OPT_NONE
      See Also:
    • GLSLANG_OPT_SIMPLE

      public static final int GLSLANG_OPT_SIMPLE
      See Also:
    • GLSLANG_OPT_FULL

      public static final int GLSLANG_OPT_FULL
      See Also:
    • GLSLANG_TEX_SAMP_TRANS_KEEP

      public static final int GLSLANG_TEX_SAMP_TRANS_KEEP
      See Also:
    • GLSLANG_TEX_SAMP_TRANS_UPGRADE_TEXTURE_REMOVE_SAMPLER

      public static final int GLSLANG_TEX_SAMP_TRANS_UPGRADE_TEXTURE_REMOVE_SAMPLER
      See Also:
    • GLSLANG_MSG_DEFAULT_BIT

      public static final int GLSLANG_MSG_DEFAULT_BIT
      See Also:
    • GLSLANG_MSG_RELAXED_ERRORS_BIT

      public static final int GLSLANG_MSG_RELAXED_ERRORS_BIT
      See Also:
    • GLSLANG_MSG_SUPPRESS_WARNINGS_BIT

      public static final int GLSLANG_MSG_SUPPRESS_WARNINGS_BIT
      See Also:
    • GLSLANG_MSG_AST_BIT

      public static final int GLSLANG_MSG_AST_BIT
      See Also:
    • GLSLANG_MSG_SPV_RULES_BIT

      public static final int GLSLANG_MSG_SPV_RULES_BIT
      See Also:
    • GLSLANG_MSG_VULKAN_RULES_BIT

      public static final int GLSLANG_MSG_VULKAN_RULES_BIT
      See Also:
    • GLSLANG_MSG_ONLY_PREPROCESSOR_BIT

      public static final int GLSLANG_MSG_ONLY_PREPROCESSOR_BIT
      See Also:
    • GLSLANG_MSG_READ_HLSL_BIT

      public static final int GLSLANG_MSG_READ_HLSL_BIT
      See Also:
    • GLSLANG_MSG_CASCADING_ERRORS_BIT

      public static final int GLSLANG_MSG_CASCADING_ERRORS_BIT
      See Also:
    • GLSLANG_MSG_KEEP_UNCALLED_BIT

      public static final int GLSLANG_MSG_KEEP_UNCALLED_BIT
      See Also:
    • GLSLANG_MSG_HLSL_OFFSETS_BIT

      public static final int GLSLANG_MSG_HLSL_OFFSETS_BIT
      See Also:
    • GLSLANG_MSG_DEBUG_INFO_BIT

      public static final int GLSLANG_MSG_DEBUG_INFO_BIT
      See Also:
    • GLSLANG_MSG_HLSL_ENABLE_16BIT_TYPES_BIT

      public static final int GLSLANG_MSG_HLSL_ENABLE_16BIT_TYPES_BIT
      See Also:
    • GLSLANG_MSG_HLSL_LEGALIZATION_BIT

      public static final int GLSLANG_MSG_HLSL_LEGALIZATION_BIT
      See Also:
    • GLSLANG_MSG_HLSL_DX9_COMPATIBLE_BIT

      public static final int GLSLANG_MSG_HLSL_DX9_COMPATIBLE_BIT
      See Also:
    • GLSLANG_MSG_BUILTIN_SYMBOL_TABLE_BIT

      public static final int GLSLANG_MSG_BUILTIN_SYMBOL_TABLE_BIT
      See Also:
    • GLSLANG_MSG_ENHANCED

      public static final int GLSLANG_MSG_ENHANCED
      See Also:
    • GLSLANG_MSG_ABSOLUTE_PATH

      public static final int GLSLANG_MSG_ABSOLUTE_PATH
      See Also:
    • GLSLANG_MSG_DISPLAY_ERROR_COLUMN

      public static final int GLSLANG_MSG_DISPLAY_ERROR_COLUMN
      See Also:
    • GLSLANG_MSG_VALIDATE_CROSS_STAGE_IO_BIT

      public static final int GLSLANG_MSG_VALIDATE_CROSS_STAGE_IO_BIT
      See Also:
    • GLSLANG_REFLECTION_DEFAULT_BIT

      public static final int GLSLANG_REFLECTION_DEFAULT_BIT
      See Also:
    • GLSLANG_REFLECTION_STRICT_ARRAY_SUFFIX_BIT

      public static final int GLSLANG_REFLECTION_STRICT_ARRAY_SUFFIX_BIT
      See Also:
    • GLSLANG_REFLECTION_BASIC_ARRAY_SUFFIX_BIT

      public static final int GLSLANG_REFLECTION_BASIC_ARRAY_SUFFIX_BIT
      See Also:
    • GLSLANG_REFLECTION_INTERMEDIATE_IOO_BIT

      public static final int GLSLANG_REFLECTION_INTERMEDIATE_IOO_BIT
      See Also:
    • GLSLANG_REFLECTION_SEPARATE_BUFFERS_BIT

      public static final int GLSLANG_REFLECTION_SEPARATE_BUFFERS_BIT
      See Also:
    • GLSLANG_REFLECTION_ALL_BLOCK_VARIABLES_BIT

      public static final int GLSLANG_REFLECTION_ALL_BLOCK_VARIABLES_BIT
      See Also:
    • GLSLANG_REFLECTION_UNWRAP_IO_BLOCKS_BIT

      public static final int GLSLANG_REFLECTION_UNWRAP_IO_BLOCKS_BIT
      See Also:
    • GLSLANG_REFLECTION_ALL_IO_VARIABLES_BIT

      public static final int GLSLANG_REFLECTION_ALL_IO_VARIABLES_BIT
      See Also:
    • GLSLANG_REFLECTION_SHARED_STD140_SSBO_BIT

      public static final int GLSLANG_REFLECTION_SHARED_STD140_SSBO_BIT
      See Also:
    • GLSLANG_REFLECTION_SHARED_STD140_UBO_BIT

      public static final int GLSLANG_REFLECTION_SHARED_STD140_UBO_BIT
      See Also:
    • GLSLANG_BAD_PROFILE

      public static final int GLSLANG_BAD_PROFILE
      See Also:
    • GLSLANG_NO_PROFILE

      public static final int GLSLANG_NO_PROFILE
      See Also:
    • GLSLANG_CORE_PROFILE

      public static final int GLSLANG_CORE_PROFILE
      See Also:
    • GLSLANG_COMPATIBILITY_PROFILE

      public static final int GLSLANG_COMPATIBILITY_PROFILE
      See Also:
    • GLSLANG_ES_PROFILE

      public static final int GLSLANG_ES_PROFILE
      See Also:
    • GLSLANG_SHADER_DEFAULT_BIT

      public static final int GLSLANG_SHADER_DEFAULT_BIT
      See Also:
    • GLSLANG_SHADER_AUTO_MAP_BINDINGS

      public static final int GLSLANG_SHADER_AUTO_MAP_BINDINGS
      See Also:
    • GLSLANG_SHADER_AUTO_MAP_LOCATIONS

      public static final int GLSLANG_SHADER_AUTO_MAP_LOCATIONS
      See Also:
    • GLSLANG_SHADER_VULKAN_RULES_RELAXED

      public static final int GLSLANG_SHADER_VULKAN_RULES_RELAXED
      See Also:
    • GLSLANG_RESOURCE_TYPE_SAMPLER

      public static final int GLSLANG_RESOURCE_TYPE_SAMPLER
      See Also:
    • GLSLANG_RESOURCE_TYPE_TEXTURE

      public static final int GLSLANG_RESOURCE_TYPE_TEXTURE
      See Also:
    • GLSLANG_RESOURCE_TYPE_IMAGE

      public static final int GLSLANG_RESOURCE_TYPE_IMAGE
      See Also:
    • GLSLANG_RESOURCE_TYPE_UBO

      public static final int GLSLANG_RESOURCE_TYPE_UBO
      See Also:
    • GLSLANG_RESOURCE_TYPE_SSBO

      public static final int GLSLANG_RESOURCE_TYPE_SSBO
      See Also:
    • GLSLANG_RESOURCE_TYPE_UAV

      public static final int GLSLANG_RESOURCE_TYPE_UAV
      See Also:
  • Method Details

    • getLibrary

      public static SharedLibrary getLibrary()
      Returns the shaderc SharedLibrary.
    • nglslang_get_version

      public static void nglslang_get_version(long version)
      void glslang_get_version(glslang_version_t * version)
    • glslang_get_version

      public static void glslang_get_version(GLSLangVersion version)
      void glslang_get_version(glslang_version_t * version)
    • glslang_initialize_process

      public static boolean glslang_initialize_process()
      int glslang_initialize_process(void)
    • glslang_finalize_process

      public static void glslang_finalize_process()
      void glslang_finalize_process(void)
    • nglslang_shader_create

      public static long nglslang_shader_create(long input)
      glslang_shader_t * glslang_shader_create(glslang_input_t const * input)
    • glslang_shader_create

      public static long glslang_shader_create(GLSLangInput input)
      glslang_shader_t * glslang_shader_create(glslang_input_t const * input)
    • glslang_shader_delete

      public static void glslang_shader_delete(long shader)
      void glslang_shader_delete(glslang_shader_t * shader)
    • nglslang_shader_set_preamble

      public static void nglslang_shader_set_preamble(long shader, long s)
      void glslang_shader_set_preamble(glslang_shader_t * shader, char const * s)
    • glslang_shader_set_preamble

      public static void glslang_shader_set_preamble(long shader, ByteBuffer s)
      void glslang_shader_set_preamble(glslang_shader_t * shader, char const * s)
    • glslang_shader_set_preamble

      public static void glslang_shader_set_preamble(long shader, CharSequence s)
      void glslang_shader_set_preamble(glslang_shader_t * shader, char const * s)
    • nglslang_shader_set_entry_point

      public static void nglslang_shader_set_entry_point(long shader, long s)
      void glslang_shader_set_entry_point(glslang_shader_t * shader, char const * s)
    • glslang_shader_set_entry_point

      public static void glslang_shader_set_entry_point(long shader, ByteBuffer s)
      void glslang_shader_set_entry_point(glslang_shader_t * shader, char const * s)
    • glslang_shader_set_entry_point

      public static void glslang_shader_set_entry_point(long shader, CharSequence s)
      void glslang_shader_set_entry_point(glslang_shader_t * shader, char const * s)
    • glslang_shader_set_invert_y

      public static void glslang_shader_set_invert_y(long shader, boolean y)
      void glslang_shader_set_invert_y(glslang_shader_t * shader, bool y)
    • glslang_shader_shift_binding

      public static void glslang_shader_shift_binding(long shader, int res, int base)
      void glslang_shader_shift_binding(glslang_shader_t * shader, glslang_resource_type_t res, unsigned int base)
    • glslang_shader_shift_binding_for_set

      public static void glslang_shader_shift_binding_for_set(long shader, int res, int base, int set)
      void glslang_shader_shift_binding_for_set(glslang_shader_t * shader, glslang_resource_type_t res, unsigned int base, unsigned int set)
    • glslang_shader_set_options

      public static void glslang_shader_set_options(long shader, int options)
      void glslang_shader_set_options(glslang_shader_t * shader, int options)
    • glslang_shader_set_glsl_version

      public static void glslang_shader_set_glsl_version(long shader, int version)
      void glslang_shader_set_glsl_version(glslang_shader_t * shader, int version)
    • glslang_shader_set_default_uniform_block_set_and_binding

      public static void glslang_shader_set_default_uniform_block_set_and_binding(long shader, int set, int binding)
      void glslang_shader_set_default_uniform_block_set_and_binding(glslang_shader_t * shader, unsigned int set, unsigned int binding)
    • nglslang_shader_set_default_uniform_block_name

      public static void nglslang_shader_set_default_uniform_block_name(long shader, long name)
      void glslang_shader_set_default_uniform_block_name(glslang_shader_t * shader, char const * name)
    • glslang_shader_set_default_uniform_block_name

      public static void glslang_shader_set_default_uniform_block_name(long shader, ByteBuffer name)
      void glslang_shader_set_default_uniform_block_name(glslang_shader_t * shader, char const * name)
    • glslang_shader_set_default_uniform_block_name

      public static void glslang_shader_set_default_uniform_block_name(long shader, CharSequence name)
      void glslang_shader_set_default_uniform_block_name(glslang_shader_t * shader, char const * name)
    • nglslang_shader_set_resource_set_binding

      public static void nglslang_shader_set_resource_set_binding(long shader, long bindings, int num_bindings)
      void glslang_shader_set_resource_set_binding(glslang_shader_t * shader, char const * const * bindings, unsigned int num_bindings)
    • glslang_shader_set_resource_set_binding

      public static void glslang_shader_set_resource_set_binding(long shader, PointerBuffer bindings)
      void glslang_shader_set_resource_set_binding(glslang_shader_t * shader, char const * const * bindings, unsigned int num_bindings)
    • nglslang_shader_preprocess

      public static int nglslang_shader_preprocess(long shader, long input)
      int glslang_shader_preprocess(glslang_shader_t * shader, glslang_input_t const * input)
    • glslang_shader_preprocess

      public static boolean glslang_shader_preprocess(long shader, GLSLangInput input)
      int glslang_shader_preprocess(glslang_shader_t * shader, glslang_input_t const * input)
    • nglslang_shader_parse

      public static int nglslang_shader_parse(long shader, long input)
      int glslang_shader_parse(glslang_shader_t * shader, glslang_input_t const * input)
    • glslang_shader_parse

      public static boolean glslang_shader_parse(long shader, GLSLangInput input)
      int glslang_shader_parse(glslang_shader_t * shader, glslang_input_t const * input)
    • nglslang_shader_get_preprocessed_code

      public static long nglslang_shader_get_preprocessed_code(long shader)
      char const * glslang_shader_get_preprocessed_code(glslang_shader_t * shader)
    • glslang_shader_get_preprocessed_code

      public static @Nullable String glslang_shader_get_preprocessed_code(long shader)
      char const * glslang_shader_get_preprocessed_code(glslang_shader_t * shader)
    • nglslang_shader_set_preprocessed_code

      public static void nglslang_shader_set_preprocessed_code(long shader, long code)
      void glslang_shader_set_preprocessed_code(glslang_shader_t * shader, char const * code)
    • glslang_shader_set_preprocessed_code

      public static void glslang_shader_set_preprocessed_code(long shader, ByteBuffer code)
      void glslang_shader_set_preprocessed_code(glslang_shader_t * shader, char const * code)
    • glslang_shader_set_preprocessed_code

      public static void glslang_shader_set_preprocessed_code(long shader, CharSequence code)
      void glslang_shader_set_preprocessed_code(glslang_shader_t * shader, char const * code)
    • nglslang_shader_get_info_log

      public static long nglslang_shader_get_info_log(long shader)
      char const * glslang_shader_get_info_log(glslang_shader_t * shader)
    • glslang_shader_get_info_log

      public static @Nullable String glslang_shader_get_info_log(long shader)
      char const * glslang_shader_get_info_log(glslang_shader_t * shader)
    • nglslang_shader_get_info_debug_log

      public static long nglslang_shader_get_info_debug_log(long shader)
      char const * glslang_shader_get_info_debug_log(glslang_shader_t * shader)
    • glslang_shader_get_info_debug_log

      public static @Nullable String glslang_shader_get_info_debug_log(long shader)
      char const * glslang_shader_get_info_debug_log(glslang_shader_t * shader)
    • glslang_program_create

      public static long glslang_program_create()
      glslang_program_t * glslang_program_create(void)
    • glslang_program_delete

      public static void glslang_program_delete(long program)
      void glslang_program_delete(glslang_program_t * program)
    • glslang_program_add_shader

      public static void glslang_program_add_shader(long program, long shader)
      void glslang_program_add_shader(glslang_program_t * program, glslang_shader_t * shader)
    • glslang_program_link

      public static boolean glslang_program_link(long program, int messages)
      int glslang_program_link(glslang_program_t * program, int messages)
    • nglslang_program_add_source_text

      public static void nglslang_program_add_source_text(long program, int stage, long text, long len)
      void glslang_program_add_source_text(glslang_program_t * program, glslang_stage_t stage, char const * text, size_t len)
    • glslang_program_add_source_text

      public static void glslang_program_add_source_text(long program, int stage, ByteBuffer text)
      void glslang_program_add_source_text(glslang_program_t * program, glslang_stage_t stage, char const * text, size_t len)
    • glslang_program_add_source_text

      public static void glslang_program_add_source_text(long program, int stage, CharSequence text)
      void glslang_program_add_source_text(glslang_program_t * program, glslang_stage_t stage, char const * text, size_t len)
    • nglslang_program_set_source_file

      public static void nglslang_program_set_source_file(long program, int stage, long file)
      void glslang_program_set_source_file(glslang_program_t * program, glslang_stage_t stage, char const * file)
    • glslang_program_set_source_file

      public static void glslang_program_set_source_file(long program, int stage, ByteBuffer file)
      void glslang_program_set_source_file(glslang_program_t * program, glslang_stage_t stage, char const * file)
    • glslang_program_set_source_file

      public static void glslang_program_set_source_file(long program, int stage, CharSequence file)
      void glslang_program_set_source_file(glslang_program_t * program, glslang_stage_t stage, char const * file)
    • glslang_program_map_io

      public static boolean glslang_program_map_io(long program)
      int glslang_program_map_io(glslang_program_t * program)
    • glslang_program_map_io_with_resolver_and_mapper

      public static boolean glslang_program_map_io_with_resolver_and_mapper(long program, long resolver, long mapper)
      int glslang_program_map_io_with_resolver_and_mapper(glslang_program_t * program, glslang_resolver_t * resolver, glslang_mapper_t * mapper)
    • glslang_program_SPIRV_generate

      public static void glslang_program_SPIRV_generate(long program, int stage)
      void glslang_program_SPIRV_generate(glslang_program_t * program, glslang_stage_t stage)
    • nglslang_program_SPIRV_generate_with_options

      public static void nglslang_program_SPIRV_generate_with_options(long program, int stage, long spv_options)
      void glslang_program_SPIRV_generate_with_options(glslang_program_t * program, glslang_stage_t stage, glslang_spv_options_t * spv_options)
    • glslang_program_SPIRV_generate_with_options

      public static void glslang_program_SPIRV_generate_with_options(long program, int stage, GLSLangSPVOptions spv_options)
      void glslang_program_SPIRV_generate_with_options(glslang_program_t * program, glslang_stage_t stage, glslang_spv_options_t * spv_options)
    • glslang_program_SPIRV_get_size

      public static long glslang_program_SPIRV_get_size(long program)
      size_t glslang_program_SPIRV_get_size(glslang_program_t * program)
    • nglslang_program_SPIRV_get

      public static void nglslang_program_SPIRV_get(long program, long out)
      void glslang_program_SPIRV_get(glslang_program_t * program, unsigned int * out)
    • glslang_program_SPIRV_get

      public static void glslang_program_SPIRV_get(long program, IntBuffer out)
      void glslang_program_SPIRV_get(glslang_program_t * program, unsigned int * out)
    • nglslang_program_SPIRV_get_ptr

      public static long nglslang_program_SPIRV_get_ptr(long program)
      unsigned int * glslang_program_SPIRV_get_ptr(glslang_program_t * program)
    • glslang_program_SPIRV_get_ptr

      public static @Nullable IntBuffer glslang_program_SPIRV_get_ptr(long program)
      unsigned int * glslang_program_SPIRV_get_ptr(glslang_program_t * program)
    • glslang_program_SPIRV_get_ptr

      public static @Nullable IntBuffer glslang_program_SPIRV_get_ptr(long program, long length)
      unsigned int * glslang_program_SPIRV_get_ptr(glslang_program_t * program)
    • nglslang_program_SPIRV_get_messages

      public static long nglslang_program_SPIRV_get_messages(long program)
      char const * glslang_program_SPIRV_get_messages(glslang_program_t * program)
    • glslang_program_SPIRV_get_messages

      public static @Nullable String glslang_program_SPIRV_get_messages(long program)
      char const * glslang_program_SPIRV_get_messages(glslang_program_t * program)
    • nglslang_program_get_info_log

      public static long nglslang_program_get_info_log(long program)
      char const * glslang_program_get_info_log(glslang_program_t * program)
    • glslang_program_get_info_log

      public static @Nullable String glslang_program_get_info_log(long program)
      char const * glslang_program_get_info_log(glslang_program_t * program)
    • nglslang_program_get_info_debug_log

      public static long nglslang_program_get_info_debug_log(long program)
      char const * glslang_program_get_info_debug_log(glslang_program_t * program)
    • glslang_program_get_info_debug_log

      public static @Nullable String glslang_program_get_info_debug_log(long program)
      char const * glslang_program_get_info_debug_log(glslang_program_t * program)
    • glslang_glsl_mapper_create

      public static long glslang_glsl_mapper_create()
      glslang_mapper_t * glslang_glsl_mapper_create(void)
    • glslang_glsl_mapper_delete

      public static void glslang_glsl_mapper_delete(long mapper)
      void glslang_glsl_mapper_delete(glslang_mapper_t * mapper)
    • glslang_glsl_resolver_create

      public static long glslang_glsl_resolver_create(long program, int stage)
      glslang_resolver_t * glslang_glsl_resolver_create(glslang_program_t * program, glslang_stage_t stage)
    • glslang_glsl_resolver_delete

      public static void glslang_glsl_resolver_delete(long resolver)
      void glslang_glsl_resolver_delete(glslang_resolver_t * resolver)
    • nglslang_resource

      public static long nglslang_resource()
      glslang_resource_t * glslang_resource(void)
    • glslang_resource

      public static @Nullable GLSLangResource glslang_resource()
      glslang_resource_t * glslang_resource(void)
    • nglslang_default_resource

      public static long nglslang_default_resource()
      glslang_resource_t const * glslang_default_resource(void)
    • glslang_default_resource

      public static @Nullable GLSLangResource glslang_default_resource()
      glslang_resource_t const * glslang_default_resource(void)
    • glslang_default_resource_string

      public static long glslang_default_resource_string()
      const char * glslang_default_resource_string(void)
    • nglslang_decode_resource_limits

      public static void nglslang_decode_resource_limits(long resources, long config)
      void glslang_decode_resource_limits(glslang_resource_t * resources, char * config)
    • glslang_decode_resource_limits

      public static void glslang_decode_resource_limits(GLSLangResource resources, ByteBuffer config)
      void glslang_decode_resource_limits(glslang_resource_t * resources, char * config)