Class SpvcMslShaderInterfaceVar

All Implemented Interfaces:
AutoCloseable, NativeResource, Pointer

public class SpvcMslShaderInterfaceVar extends Struct<SpvcMslShaderInterfaceVar> implements NativeResource

 struct spvc_msl_shader_interface_var {
     unsigned location;
     spvc_msl_vertex_format format;
     SpvBuiltIn builtin;
     unsigned vecsize;
 }
  • Field Details

    • SIZEOF

      public static final int SIZEOF
      The struct size in bytes.
    • ALIGNOF

      public static final int ALIGNOF
      The struct alignment in bytes.
    • LOCATION

      public static final int LOCATION
      The struct member offsets.
    • FORMAT

      public static final int FORMAT
      The struct member offsets.
    • BUILTIN

      public static final int BUILTIN
      The struct member offsets.
    • VECSIZE

      public static final int VECSIZE
      The struct member offsets.
  • Constructor Details

    • SpvcMslShaderInterfaceVar

      public SpvcMslShaderInterfaceVar(ByteBuffer container)
      Creates a SpvcMslShaderInterfaceVar instance at the current position of the specified ByteBuffer container. Changes to the buffer's content will be visible to the struct instance and vice versa.

      The created instance holds a strong reference to the container object.

  • Method Details