Top Description Interfaces Classes
module lwjgl.spvc

Package org.lwjgl.util.spvc

Annotations
@NonnullDefault

Contains bindings to SPIRV-Cross, a library for performing reflection on SPIR-V and disassembling SPIR-V back to high level languages.

Interface Summary

Modifier and TypeInterface and Description
public interface
SpvcErrorCallbackI

Instances of this interface may be passed to the context_set_error_callback method.

Class Summary

Modifier and TypeClass and Description
public class
Spv

Enumeration tokens for SPIR-V.

public class
Spvc

Native bindings to the C API of SPIRV-Cross.

public class
SpvcBufferRange

Layout


struct spvc_buffer_range {
    unsigned int index;
    size_t offset;
    size_t range;
}
public class
SpvcCombinedImageSampler

Layout


struct spvc_combined_image_sampler {
    spvc_variable_id combined_id;
    spvc_variable_id image_id;
    spvc_variable_id sampler_id;
}
public class
SpvcEntryPoint

Layout


struct spvc_entry_point {
    SpvExecutionModel execution_model;
    char const * name;
}
public abstract class
SpvcErrorCallback

Instances of this class may be passed to the context_set_error_callback method.

public class
SpvcHLSLResourceBinding

Layout


struct spvc_hlsl_resource_binding {
    SpvExecutionModel stage;
    unsigned desc_set;
    unsigned binding;
    spvc_hlsl_resource_binding_mapping cbv;
    spvc_hlsl_resource_binding_mapping uav;
    spvc_hlsl_resource_binding_mapping srv;
    spvc_hlsl_resource_binding_mapping sampler;
}
public class
SpvcHLSLResourceBindingMapping

Layout


struct spvc_hlsl_resource_binding_mapping {
    unsigned register_space;
    unsigned register_binding;
}
public class
SpvcHlslRootConstants

Specifying a root constant (d3d12) or push constant range (vulkan).

public class
SpvcHlslVertexAttributeRemap

Interface which remaps vertex inputs to a fixed semantic name to make linking easier.

public class
SpvcMslConstexprSampler

Layout


struct spvc_msl_constexpr_sampler {
    spvc_msl_sampler_coord coord;
    spvc_msl_sampler_filter min_filter;
    spvc_msl_sampler_filter mag_filter;
    spvc_msl_sampler_mip_filter mip_filter;
    spvc_msl_sampler_address s_address;
    spvc_msl_sampler_address t_address;
    spvc_msl_sampler_address r_address;
    spvc_msl_sampler_compare_func compare_func;
    spvc_msl_sampler_border_color border_color;
    float lod_clamp_min;
    float lod_clamp_max;
    int max_anisotropy;
    spvc_bool compare_enable;
    spvc_bool lod_clamp_enable;
    spvc_bool anisotropy_enable;
}
public class
SpvcMslResourceBinding

Matches the binding index of a MSL resource for a binding within a descriptor set.

public class
SpvcMslSamplerYcbcrConversion

Maps to the sampler Y'CbCr conversion-related portions of MSLConstexprSampler.

public class
SpvcMslShaderInput

Defines MSL characteristics of an input variable at a particular location.

public class
SpvcMslShaderInterfaceVar

Defines MSL characteristics of an input variable at a particular location.

public class
SpvcMslShaderInterfaceVar2

Layout


struct spvc_msl_shader_interface_var_2 {
    unsigned location;
    spvc_msl_shader_variable_format format;
    SpvBuiltIn builtin;
    unsigned vecsize;
    spvc_msl_shader_variable_rate rate;
}
public class
SpvcMslVertexAttribute

Defines MSL characteristics of a vertex attribute at a particular location.

public class
SpvcReflectedBuiltinResource

Layout


struct spvc_reflected_builtin_resource {
    SpvBuiltIn builtin;
    spvc_type_id value_type_id;
    spvc_reflected_resource resource;
}
public class
SpvcReflectedResource

Layout


struct spvc_reflected_resource {
    spvc_variable_id id;
    spvc_type_id base_type_id;
    spvc_type_id type_id;
    char const * name;
}
public class
SpvcSpecializationConstant

Layout


struct spvc_specialization_constant {
    spvc_constant_id id;
    unsigned int constant_id;
}