Class SpvcReflectedResource

All Implemented Interfaces:
AutoCloseable, NativeResource, Pointer

@NativeType("struct spvc_reflected_resource") public class SpvcReflectedResource extends Struct<SpvcReflectedResource> implements NativeResource
struct spvc_reflected_resource {
    spvc_variable_id id;
    spvc_type_id base_type_id;
    spvc_type_id type_id;
    char const * name;
}
  • Field Details

    • SIZEOF

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

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

      public static final int ID
      The struct member offsets.
    • BASE_TYPE_ID

      public static final int BASE_TYPE_ID
      The struct member offsets.
    • TYPE_ID

      public static final int TYPE_ID
      The struct member offsets.
    • NAME

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

    • SpvcReflectedResource

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