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 record
Represents a pointer to / an array of null structure(s) in native memory. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final long
static final StructLayout
static final StructLayout
static final StructLayout
static final StructLayout
static final StructLayout
static final StructLayout
static final StructLayout
static final StructLayout
static final StructLayout
static final StructLayout
static final StructLayout
static final StructLayout
static final StructLayout
static final StructLayout
static final StructLayout
static final StructLayout
static final StructLayout
static final StructLayout
static final long
static final long
static final long
static final long
static final long
static final long
static final long
static final long
static final long
static final long
static final long
static final long
static final long
static final long
static final long
static final long
static final long
static final MemoryLayout.PathElement
static final MemoryLayout.PathElement
static final MemoryLayout.PathElement
static final MemoryLayout.PathElement
static final MemoryLayout.PathElement
static final MemoryLayout.PathElement
static final MemoryLayout.PathElement
static final MemoryLayout.PathElement
static final MemoryLayout.PathElement
static final MemoryLayout.PathElement
static final MemoryLayout.PathElement
static final MemoryLayout.PathElement
static final MemoryLayout.PathElement
static final MemoryLayout.PathElement
static final MemoryLayout.PathElement
static final MemoryLayout.PathElement
static final MemoryLayout.PathElement
static final long
static final long
static final long
static final long
static final long
static final long
static final long
static final long
static final long
static final long
static final long
static final long
static final long
static final long
static final long
static final long
static final long
-
Constructor Summary
ConstructorsConstructorDescriptionWGPUHubReport
(@NotNull MemorySegment segment) Creates an instance of aWGPUHubReport
record class. -
Method Summary
Modifier and TypeMethodDescription@NotNull WGPURegistryReport
adapters()
adapters
(@NotNull WGPURegistryReport value) adapters
(Consumer<@NotNull WGPURegistryReport> consumer) static WGPUHubReport
static WGPUHubReport.Ptr
@NotNull WGPURegistryReport
bindGroupLayouts
(@NotNull WGPURegistryReport value) bindGroupLayouts
(Consumer<@NotNull WGPURegistryReport> consumer) @NotNull WGPURegistryReport
bindGroups
(@NotNull WGPURegistryReport value) bindGroups
(Consumer<@NotNull WGPURegistryReport> consumer) @NotNull WGPURegistryReport
buffers()
buffers
(@NotNull WGPURegistryReport value) buffers
(Consumer<@NotNull WGPURegistryReport> consumer) static WGPUHubReport
clone
(Arena arena, WGPUHubReport src) @NotNull WGPURegistryReport
commandBuffers
(@NotNull WGPURegistryReport value) commandBuffers
(Consumer<@NotNull WGPURegistryReport> consumer) @NotNull WGPURegistryReport
computePipelines
(@NotNull WGPURegistryReport value) computePipelines
(Consumer<@NotNull WGPURegistryReport> consumer) @NotNull WGPURegistryReport
devices()
devices
(@NotNull WGPURegistryReport value) devices
(Consumer<@NotNull WGPURegistryReport> consumer) final boolean
Indicates whether some other object is "equal to" this one.final int
hashCode()
Returns a hash code value for this object.@NotNull WGPURegistryReport
pipelineCaches
(@NotNull WGPURegistryReport value) pipelineCaches
(Consumer<@NotNull WGPURegistryReport> consumer) @NotNull WGPURegistryReport
pipelineLayouts
(@NotNull WGPURegistryReport value) pipelineLayouts
(Consumer<@NotNull WGPURegistryReport> consumer) @NotNull WGPURegistryReport
querySets
(@NotNull WGPURegistryReport value) querySets
(Consumer<@NotNull WGPURegistryReport> consumer) @NotNull WGPURegistryReport
queues()
queues
(@NotNull WGPURegistryReport value) queues
(Consumer<@NotNull WGPURegistryReport> consumer) @NotNull WGPURegistryReport
renderBundles
(@NotNull WGPURegistryReport value) renderBundles
(Consumer<@NotNull WGPURegistryReport> consumer) @NotNull WGPURegistryReport
renderPipelines
(@NotNull WGPURegistryReport value) renderPipelines
(Consumer<@NotNull WGPURegistryReport> consumer) @NotNull WGPURegistryReport
samplers()
samplers
(@NotNull WGPURegistryReport value) samplers
(Consumer<@NotNull WGPURegistryReport> consumer) @NotNull MemorySegment
segment()
Returns the value of thesegment
record component.@NotNull WGPURegistryReport
shaderModules
(@NotNull WGPURegistryReport value) shaderModules
(Consumer<@NotNull WGPURegistryReport> consumer) @NotNull WGPURegistryReport
textures()
textures
(@NotNull WGPURegistryReport value) textures
(Consumer<@NotNull WGPURegistryReport> consumer) @NotNull WGPURegistryReport
textureViews
(@NotNull WGPURegistryReport value) textureViews
(Consumer<@NotNull WGPURegistryReport> consumer) final String
toString()
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 aWGPUHubReport
record class.- Parameters:
segment
- the value for thesegment
record 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 thesegment
record component.
-