Record Class VkPhysicalDeviceConservativeRasterizationPropertiesEXT

java.lang.Object
java.lang.Record
club.doki7.vulkan.datatype.VkPhysicalDeviceConservativeRasterizationPropertiesEXT
All Implemented Interfaces:
IPointer, IVkPhysicalDeviceConservativeRasterizationPropertiesEXT

@ValueBasedCandidate @UnsafeConstructor public record VkPhysicalDeviceConservativeRasterizationPropertiesEXT(@NotNull MemorySegment segment) extends Record implements IVkPhysicalDeviceConservativeRasterizationPropertiesEXT

Represents a pointer to a VkPhysicalDeviceConservativeRasterizationPropertiesEXT structure in native memory.

Structure

typedef struct VkPhysicalDeviceConservativeRasterizationPropertiesEXT {
    VkStructureType sType;
    void* pNext; // optional
    float primitiveOverestimationSize;
    float maxExtraPrimitiveOverestimationSize;
    float extraPrimitiveOverestimationSizeGranularity;
    VkBool32 primitiveUnderestimation;
    VkBool32 conservativePointAndLineRasterization;
    VkBool32 degenerateTrianglesRasterized;
    VkBool32 degenerateLinesRasterized;
    VkBool32 fullyCoveredFragmentShaderInputVariable;
    VkBool32 conservativeRasterizationPostDepthCoverage;
} VkPhysicalDeviceConservativeRasterizationPropertiesEXT;

Auto initialization

This structure has the following members that can be automatically initialized:

  • sType = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_CONSERVATIVE_RASTERIZATION_PROPERTIES_EXT

The allocate (allocate(Arena), allocate(Arena, long)) functions will automatically initialize these fields. Also, you may call autoInit() to initialize these fields manually for non-allocated instances.

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.

See Also:
  • Field Details

    • LAYOUT

      public static final StructLayout LAYOUT
    • BYTES

      public static final long BYTES
    • PATH$sType

      public static final MemoryLayout.PathElement PATH$sType
    • PATH$pNext

      public static final MemoryLayout.PathElement PATH$pNext
    • PATH$primitiveOverestimationSize

      public static final MemoryLayout.PathElement PATH$primitiveOverestimationSize
    • PATH$maxExtraPrimitiveOverestimationSize

      public static final MemoryLayout.PathElement PATH$maxExtraPrimitiveOverestimationSize
    • PATH$extraPrimitiveOverestimationSizeGranularity

      public static final MemoryLayout.PathElement PATH$extraPrimitiveOverestimationSizeGranularity
    • PATH$primitiveUnderestimation

      public static final MemoryLayout.PathElement PATH$primitiveUnderestimation
    • PATH$conservativePointAndLineRasterization

      public static final MemoryLayout.PathElement PATH$conservativePointAndLineRasterization
    • PATH$degenerateTrianglesRasterized

      public static final MemoryLayout.PathElement PATH$degenerateTrianglesRasterized
    • PATH$degenerateLinesRasterized

      public static final MemoryLayout.PathElement PATH$degenerateLinesRasterized
    • PATH$fullyCoveredFragmentShaderInputVariable

      public static final MemoryLayout.PathElement PATH$fullyCoveredFragmentShaderInputVariable
    • PATH$conservativeRasterizationPostDepthCoverage

      public static final MemoryLayout.PathElement PATH$conservativeRasterizationPostDepthCoverage
    • LAYOUT$sType

      public static final ValueLayout.OfInt LAYOUT$sType
    • LAYOUT$pNext

      public static final AddressLayout LAYOUT$pNext
    • LAYOUT$primitiveOverestimationSize

      public static final ValueLayout.OfFloat LAYOUT$primitiveOverestimationSize
    • LAYOUT$maxExtraPrimitiveOverestimationSize

      public static final ValueLayout.OfFloat LAYOUT$maxExtraPrimitiveOverestimationSize
    • LAYOUT$extraPrimitiveOverestimationSizeGranularity

      public static final ValueLayout.OfFloat LAYOUT$extraPrimitiveOverestimationSizeGranularity
    • LAYOUT$primitiveUnderestimation

      public static final ValueLayout.OfInt LAYOUT$primitiveUnderestimation
    • LAYOUT$conservativePointAndLineRasterization

      public static final ValueLayout.OfInt LAYOUT$conservativePointAndLineRasterization
    • LAYOUT$degenerateTrianglesRasterized

      public static final ValueLayout.OfInt LAYOUT$degenerateTrianglesRasterized
    • LAYOUT$degenerateLinesRasterized

      public static final ValueLayout.OfInt LAYOUT$degenerateLinesRasterized
    • LAYOUT$fullyCoveredFragmentShaderInputVariable

      public static final ValueLayout.OfInt LAYOUT$fullyCoveredFragmentShaderInputVariable
    • LAYOUT$conservativeRasterizationPostDepthCoverage

      public static final ValueLayout.OfInt LAYOUT$conservativeRasterizationPostDepthCoverage
    • SIZE$sType

      public static final long SIZE$sType
    • SIZE$pNext

      public static final long SIZE$pNext
    • SIZE$primitiveOverestimationSize

      public static final long SIZE$primitiveOverestimationSize
    • SIZE$maxExtraPrimitiveOverestimationSize

      public static final long SIZE$maxExtraPrimitiveOverestimationSize
    • SIZE$extraPrimitiveOverestimationSizeGranularity

      public static final long SIZE$extraPrimitiveOverestimationSizeGranularity
    • SIZE$primitiveUnderestimation

      public static final long SIZE$primitiveUnderestimation
    • SIZE$conservativePointAndLineRasterization

      public static final long SIZE$conservativePointAndLineRasterization
    • SIZE$degenerateTrianglesRasterized

      public static final long SIZE$degenerateTrianglesRasterized
    • SIZE$degenerateLinesRasterized

      public static final long SIZE$degenerateLinesRasterized
    • SIZE$fullyCoveredFragmentShaderInputVariable

      public static final long SIZE$fullyCoveredFragmentShaderInputVariable
    • SIZE$conservativeRasterizationPostDepthCoverage

      public static final long SIZE$conservativeRasterizationPostDepthCoverage
    • OFFSET$sType

      public static final long OFFSET$sType
    • OFFSET$pNext

      public static final long OFFSET$pNext
    • OFFSET$primitiveOverestimationSize

      public static final long OFFSET$primitiveOverestimationSize
    • OFFSET$maxExtraPrimitiveOverestimationSize

      public static final long OFFSET$maxExtraPrimitiveOverestimationSize
    • OFFSET$extraPrimitiveOverestimationSizeGranularity

      public static final long OFFSET$extraPrimitiveOverestimationSizeGranularity
    • OFFSET$primitiveUnderestimation

      public static final long OFFSET$primitiveUnderestimation
    • OFFSET$conservativePointAndLineRasterization

      public static final long OFFSET$conservativePointAndLineRasterization
    • OFFSET$degenerateTrianglesRasterized

      public static final long OFFSET$degenerateTrianglesRasterized
    • OFFSET$degenerateLinesRasterized

      public static final long OFFSET$degenerateLinesRasterized
    • OFFSET$fullyCoveredFragmentShaderInputVariable

      public static final long OFFSET$fullyCoveredFragmentShaderInputVariable
    • OFFSET$conservativeRasterizationPostDepthCoverage

      public static final long OFFSET$conservativeRasterizationPostDepthCoverage
  • Constructor Details

    • VkPhysicalDeviceConservativeRasterizationPropertiesEXT

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