Class SpvcHlslRootConstants

All Implemented Interfaces:
AutoCloseable, NativeResource, Pointer

@NativeType("struct spvc_hlsl_root_constants") public class SpvcHlslRootConstants extends Struct<SpvcHlslRootConstants> implements NativeResource
struct spvc_hlsl_root_constants {
    unsigned int start;
    unsigned int end;
    unsigned int binding;
    unsigned int space;
}
  • Field Details

    • SIZEOF

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

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

      public static final int START
      The struct member offsets.
    • END

      public static final int END
      The struct member offsets.
    • BINDING

      public static final int BINDING
      The struct member offsets.
    • SPACE

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

    • SpvcHlslRootConstants

      public SpvcHlslRootConstants(ByteBuffer container)
      Creates a SpvcHlslRootConstants 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