Record Class WGPUHubReport
java.lang.Object
java.lang.Record
club.doki7.webgpu.datatype.WGPUHubReport
- All Implemented Interfaces:
IPointer,IWGPUHubReport
@ValueBasedCandidate
@UnsafeConstructor
public record WGPUHubReport(@NotNull MemorySegment segment)
extends Record
implements IWGPUHubReport
Represents a pointer to a WGPUHubReport structure in native memory.
Structure
typedef struct WGPUHubReport {
WGPURegistryReport adapters;
WGPURegistryReport devices;
WGPURegistryReport queues;
WGPURegistryReport pipelineLayouts;
WGPURegistryReport shaderModules;
WGPURegistryReport bindGroupLayouts;
WGPURegistryReport bindGroups;
WGPURegistryReport commandBuffers;
WGPURegistryReport renderBundles;
WGPURegistryReport renderPipelines;
WGPURegistryReport computePipelines;
WGPURegistryReport pipelineCaches;
WGPURegistryReport querySets;
WGPURegistryReport buffers;
WGPURegistryReport textures;
WGPURegistryReport textureViews;
WGPURegistryReport samplers;
} WGPUHubReport;
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.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final recordRepresents a pointer to / an array of null structure(s) in native memory. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final longstatic final StructLayoutstatic final StructLayoutstatic final StructLayoutstatic final StructLayoutstatic final StructLayoutstatic final StructLayoutstatic final StructLayoutstatic final StructLayoutstatic final StructLayoutstatic final StructLayoutstatic final StructLayoutstatic final StructLayoutstatic final StructLayoutstatic final StructLayoutstatic final StructLayoutstatic final StructLayoutstatic final StructLayoutstatic final StructLayoutstatic final longstatic final longstatic final longstatic final longstatic final longstatic final longstatic final longstatic final longstatic final longstatic final longstatic final longstatic final longstatic final longstatic final longstatic final longstatic final longstatic final longstatic final MemoryLayout.PathElementstatic final MemoryLayout.PathElementstatic final MemoryLayout.PathElementstatic final MemoryLayout.PathElementstatic final MemoryLayout.PathElementstatic final MemoryLayout.PathElementstatic final MemoryLayout.PathElementstatic final MemoryLayout.PathElementstatic final MemoryLayout.PathElementstatic final MemoryLayout.PathElementstatic final MemoryLayout.PathElementstatic final MemoryLayout.PathElementstatic final MemoryLayout.PathElementstatic final MemoryLayout.PathElementstatic final MemoryLayout.PathElementstatic final MemoryLayout.PathElementstatic final MemoryLayout.PathElementstatic final longstatic final longstatic final longstatic final longstatic final longstatic final longstatic final longstatic final longstatic final longstatic final longstatic final longstatic final longstatic final longstatic final longstatic final longstatic final longstatic final long -
Constructor Summary
ConstructorsConstructorDescriptionWGPUHubReport(@NotNull MemorySegment segment) Creates an instance of aWGPUHubReportrecord class. -
Method Summary
Modifier and TypeMethodDescription@NotNull WGPURegistryReportadapters()adapters(@NotNull WGPURegistryReport value) adapters(Consumer<@NotNull WGPURegistryReport> consumer) static WGPUHubReportstatic WGPUHubReport.Ptr@NotNull WGPURegistryReportbindGroupLayouts(@NotNull WGPURegistryReport value) bindGroupLayouts(Consumer<@NotNull WGPURegistryReport> consumer) @NotNull WGPURegistryReportbindGroups(@NotNull WGPURegistryReport value) bindGroups(Consumer<@NotNull WGPURegistryReport> consumer) @NotNull WGPURegistryReportbuffers()buffers(@NotNull WGPURegistryReport value) buffers(Consumer<@NotNull WGPURegistryReport> consumer) static WGPUHubReportclone(Arena arena, WGPUHubReport src) @NotNull WGPURegistryReportcommandBuffers(@NotNull WGPURegistryReport value) commandBuffers(Consumer<@NotNull WGPURegistryReport> consumer) @NotNull WGPURegistryReportcomputePipelines(@NotNull WGPURegistryReport value) computePipelines(Consumer<@NotNull WGPURegistryReport> consumer) @NotNull WGPURegistryReportdevices()devices(@NotNull WGPURegistryReport value) devices(Consumer<@NotNull WGPURegistryReport> consumer) final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.@NotNull WGPURegistryReportpipelineCaches(@NotNull WGPURegistryReport value) pipelineCaches(Consumer<@NotNull WGPURegistryReport> consumer) @NotNull WGPURegistryReportpipelineLayouts(@NotNull WGPURegistryReport value) pipelineLayouts(Consumer<@NotNull WGPURegistryReport> consumer) @NotNull WGPURegistryReportquerySets(@NotNull WGPURegistryReport value) querySets(Consumer<@NotNull WGPURegistryReport> consumer) @NotNull WGPURegistryReportqueues()queues(@NotNull WGPURegistryReport value) queues(Consumer<@NotNull WGPURegistryReport> consumer) @NotNull WGPURegistryReportrenderBundles(@NotNull WGPURegistryReport value) renderBundles(Consumer<@NotNull WGPURegistryReport> consumer) @NotNull WGPURegistryReportrenderPipelines(@NotNull WGPURegistryReport value) renderPipelines(Consumer<@NotNull WGPURegistryReport> consumer) @NotNull WGPURegistryReportsamplers()samplers(@NotNull WGPURegistryReport value) samplers(Consumer<@NotNull WGPURegistryReport> consumer) @NotNull MemorySegmentsegment()Returns the value of thesegmentrecord component.@NotNull WGPURegistryReportshaderModules(@NotNull WGPURegistryReport value) shaderModules(Consumer<@NotNull WGPURegistryReport> consumer) @NotNull WGPURegistryReporttextures()textures(@NotNull WGPURegistryReport value) textures(Consumer<@NotNull WGPURegistryReport> consumer) @NotNull WGPURegistryReporttextureViews(@NotNull WGPURegistryReport value) textureViews(Consumer<@NotNull WGPURegistryReport> consumer) final StringtoString()Returns a string representation of this record class.
-
Field Details
-
LAYOUT
-
BYTES
public static final long BYTES -
PATH$adapters
-
PATH$devices
-
PATH$queues
-
PATH$pipelineLayouts
-
PATH$shaderModules
-
PATH$bindGroupLayouts
-
PATH$bindGroups
-
PATH$commandBuffers
-
PATH$renderBundles
-
PATH$renderPipelines
-
PATH$computePipelines
-
PATH$pipelineCaches
-
PATH$querySets
-
PATH$buffers
-
PATH$textures
-
PATH$textureViews
-
PATH$samplers
-
LAYOUT$adapters
-
LAYOUT$devices
-
LAYOUT$queues
-
LAYOUT$pipelineLayouts
-
LAYOUT$shaderModules
-
LAYOUT$bindGroupLayouts
-
LAYOUT$bindGroups
-
LAYOUT$commandBuffers
-
LAYOUT$renderBundles
-
LAYOUT$renderPipelines
-
LAYOUT$computePipelines
-
LAYOUT$pipelineCaches
-
LAYOUT$querySets
-
LAYOUT$buffers
-
LAYOUT$textures
-
LAYOUT$textureViews
-
LAYOUT$samplers
-
SIZE$adapters
public static final long SIZE$adapters -
SIZE$devices
public static final long SIZE$devices -
SIZE$queues
public static final long SIZE$queues -
SIZE$pipelineLayouts
public static final long SIZE$pipelineLayouts -
SIZE$shaderModules
public static final long SIZE$shaderModules -
SIZE$bindGroupLayouts
public static final long SIZE$bindGroupLayouts -
SIZE$bindGroups
public static final long SIZE$bindGroups -
SIZE$commandBuffers
public static final long SIZE$commandBuffers -
SIZE$renderBundles
public static final long SIZE$renderBundles -
SIZE$renderPipelines
public static final long SIZE$renderPipelines -
SIZE$computePipelines
public static final long SIZE$computePipelines -
SIZE$pipelineCaches
public static final long SIZE$pipelineCaches -
SIZE$querySets
public static final long SIZE$querySets -
SIZE$buffers
public static final long SIZE$buffers -
SIZE$textures
public static final long SIZE$textures -
SIZE$textureViews
public static final long SIZE$textureViews -
SIZE$samplers
public static final long SIZE$samplers -
OFFSET$adapters
public static final long OFFSET$adapters -
OFFSET$devices
public static final long OFFSET$devices -
OFFSET$queues
public static final long OFFSET$queues -
OFFSET$pipelineLayouts
public static final long OFFSET$pipelineLayouts -
OFFSET$shaderModules
public static final long OFFSET$shaderModules -
OFFSET$bindGroupLayouts
public static final long OFFSET$bindGroupLayouts -
OFFSET$bindGroups
public static final long OFFSET$bindGroups -
OFFSET$commandBuffers
public static final long OFFSET$commandBuffers -
OFFSET$renderBundles
public static final long OFFSET$renderBundles -
OFFSET$renderPipelines
public static final long OFFSET$renderPipelines -
OFFSET$computePipelines
public static final long OFFSET$computePipelines -
OFFSET$pipelineCaches
public static final long OFFSET$pipelineCaches -
OFFSET$querySets
public static final long OFFSET$querySets -
OFFSET$buffers
public static final long OFFSET$buffers -
OFFSET$textures
public static final long OFFSET$textures -
OFFSET$textureViews
public static final long OFFSET$textureViews -
OFFSET$samplers
public static final long OFFSET$samplers
-
-
Constructor Details
-
WGPUHubReport
Creates an instance of aWGPUHubReportrecord class.- Parameters:
segment- the value for thesegmentrecord component
-
-
Method Details
-
allocate
-
allocate
-
clone
-
adapters
-
adapters
-
adapters
-
devices
-
devices
-
devices
-
queues
-
queues
-
queues
-
pipelineLayouts
-
pipelineLayouts
-
pipelineLayouts
-
shaderModules
-
shaderModules
-
shaderModules
-
bindGroupLayouts
-
bindGroupLayouts
-
bindGroupLayouts
-
bindGroups
-
bindGroups
-
bindGroups
-
commandBuffers
-
commandBuffers
-
commandBuffers
-
renderBundles
-
renderBundles
-
renderBundles
-
renderPipelines
-
renderPipelines
-
renderPipelines
-
computePipelines
-
computePipelines
-
computePipelines
-
pipelineCaches
-
pipelineCaches
-
pipelineCaches
-
querySets
-
querySets
-
querySets
-
buffers
-
buffers
-
buffers
-
textures
-
textures
-
textures
-
textureViews
-
textureViews
-
textureViews
-
samplers
-
samplers
-
samplers
-
toString
-
hashCode
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object). -
segment
Returns the value of thesegmentrecord component.
-