Record Class SDL_GPUColorTargetBlendState

java.lang.Object
java.lang.Record
club.doki7.sdl3.datatype.SDL_GPUColorTargetBlendState
All Implemented Interfaces:
IPointer, ISDL_GPUColorTargetBlendState

@ValueBasedCandidate @UnsafeConstructor public record SDL_GPUColorTargetBlendState(@NotNull MemorySegment segment) extends Record implements ISDL_GPUColorTargetBlendState

A structure specifying the blend state of a color target.

Since: This struct is available since SDL 3.2.0.

See also:

  • SDL_GPUColorTargetDescription

Structure

Contracts

The property segment() should always be not-null (segment != NULL && !segment.equals(MemorySegment.NULL)), and properly aligned to LAYOUT.byteAlignment() bytes. To represent null pointer, you may use a Java null instead. See the documentation of IPointer.segment() for more details.

The constructor of this class is marked as UnsafeConstructor, because it does not perform any runtime check. The constructor can be useful for automatic code generators.

  • Field Details

    • LAYOUT

      public static final StructLayout LAYOUT
    • BYTES

      public static final long BYTES
    • PATH$src_color_blendfactor

      public static final MemoryLayout.PathElement PATH$src_color_blendfactor
    • PATH$dst_color_blendfactor

      public static final MemoryLayout.PathElement PATH$dst_color_blendfactor
    • PATH$color_blend_op

      public static final MemoryLayout.PathElement PATH$color_blend_op
    • PATH$src_alpha_blendfactor

      public static final MemoryLayout.PathElement PATH$src_alpha_blendfactor
    • PATH$dst_alpha_blendfactor

      public static final MemoryLayout.PathElement PATH$dst_alpha_blendfactor
    • PATH$alpha_blend_op

      public static final MemoryLayout.PathElement PATH$alpha_blend_op
    • PATH$color_write_mask

      public static final MemoryLayout.PathElement PATH$color_write_mask
    • PATH$enable_blend

      public static final MemoryLayout.PathElement PATH$enable_blend
    • PATH$enable_color_write_mask

      public static final MemoryLayout.PathElement PATH$enable_color_write_mask
    • PATH$padding1

      public static final MemoryLayout.PathElement PATH$padding1
    • PATH$padding2

      public static final MemoryLayout.PathElement PATH$padding2
    • LAYOUT$src_color_blendfactor

      public static final ValueLayout.OfInt LAYOUT$src_color_blendfactor
    • LAYOUT$dst_color_blendfactor

      public static final ValueLayout.OfInt LAYOUT$dst_color_blendfactor
    • LAYOUT$color_blend_op

      public static final ValueLayout.OfInt LAYOUT$color_blend_op
    • LAYOUT$src_alpha_blendfactor

      public static final ValueLayout.OfInt LAYOUT$src_alpha_blendfactor
    • LAYOUT$dst_alpha_blendfactor

      public static final ValueLayout.OfInt LAYOUT$dst_alpha_blendfactor
    • LAYOUT$alpha_blend_op

      public static final ValueLayout.OfInt LAYOUT$alpha_blend_op
    • LAYOUT$color_write_mask

      public static final ValueLayout.OfByte LAYOUT$color_write_mask
    • LAYOUT$enable_blend

      public static final ValueLayout.OfBoolean LAYOUT$enable_blend
    • LAYOUT$enable_color_write_mask

      public static final ValueLayout.OfBoolean LAYOUT$enable_color_write_mask
    • LAYOUT$padding1

      public static final ValueLayout.OfByte LAYOUT$padding1
    • LAYOUT$padding2

      public static final ValueLayout.OfByte LAYOUT$padding2
    • SIZE$src_color_blendfactor

      public static final long SIZE$src_color_blendfactor
    • SIZE$dst_color_blendfactor

      public static final long SIZE$dst_color_blendfactor
    • SIZE$color_blend_op

      public static final long SIZE$color_blend_op
    • SIZE$src_alpha_blendfactor

      public static final long SIZE$src_alpha_blendfactor
    • SIZE$dst_alpha_blendfactor

      public static final long SIZE$dst_alpha_blendfactor
    • SIZE$alpha_blend_op

      public static final long SIZE$alpha_blend_op
    • SIZE$color_write_mask

      public static final long SIZE$color_write_mask
    • SIZE$enable_blend

      public static final long SIZE$enable_blend
    • SIZE$enable_color_write_mask

      public static final long SIZE$enable_color_write_mask
    • SIZE$padding1

      public static final long SIZE$padding1
    • SIZE$padding2

      public static final long SIZE$padding2
    • OFFSET$src_color_blendfactor

      public static final long OFFSET$src_color_blendfactor
    • OFFSET$dst_color_blendfactor

      public static final long OFFSET$dst_color_blendfactor
    • OFFSET$color_blend_op

      public static final long OFFSET$color_blend_op
    • OFFSET$src_alpha_blendfactor

      public static final long OFFSET$src_alpha_blendfactor
    • OFFSET$dst_alpha_blendfactor

      public static final long OFFSET$dst_alpha_blendfactor
    • OFFSET$alpha_blend_op

      public static final long OFFSET$alpha_blend_op
    • OFFSET$color_write_mask

      public static final long OFFSET$color_write_mask
    • OFFSET$enable_blend

      public static final long OFFSET$enable_blend
    • OFFSET$enable_color_write_mask

      public static final long OFFSET$enable_color_write_mask
    • OFFSET$padding1

      public static final long OFFSET$padding1
    • OFFSET$padding2

      public static final long OFFSET$padding2
  • Constructor Details

    • SDL_GPUColorTargetBlendState

      public SDL_GPUColorTargetBlendState(@NotNull @NotNull MemorySegment segment)
      Creates an instance of a SDL_GPUColorTargetBlendState record class.
      Parameters:
      segment - the value for the segment record component
  • Method Details