Class VkGpaSampleBeginInfoAMD.Buffer
java.lang.Object
org.lwjgl.system.Pointer.Default
org.lwjgl.system.CustomBuffer<VkGpaSampleBeginInfoAMD.Buffer>
org.lwjgl.system.StructBuffer<VkGpaSampleBeginInfoAMD, VkGpaSampleBeginInfoAMD.Buffer>
org.lwjgl.vulkan.VkGpaSampleBeginInfoAMD.Buffer
- All Implemented Interfaces:
AutoCloseable, Iterable<VkGpaSampleBeginInfoAMD>, NativeResource, Pointer
- Enclosing class:
VkGpaSampleBeginInfoAMD
public static class VkGpaSampleBeginInfoAMD.Buffer
extends StructBuffer<VkGpaSampleBeginInfoAMD, VkGpaSampleBeginInfoAMD.Buffer>
implements NativeResource
An array of
VkGpaSampleBeginInfoAMD structs.-
Nested Class Summary
Nested classes/interfaces inherited from interface Pointer
Pointer.Default -
Field Summary
Fields inherited from interface Pointer
BITS32, BITS64, CLONG_SHIFT, CLONG_SIZE, POINTER_SHIFT, POINTER_SIZE -
Constructor Summary
ConstructorsConstructorDescriptionBuffer(long address, int cap) Buffer(ByteBuffer container) Creates a newVkGpaSampleBeginInfoAMD.Bufferinstance backed by the specified container. -
Method Summary
Modifier and TypeMethodDescriptionbooleancacheFlushOnCounterCollection(boolean value) Sets the specified value to thecacheFlushOnCounterCollectionfield.intlongperfCounterDeviceMemoryLimit(long value) Sets the specified value to theperfCounterDeviceMemoryLimitfield.longpNext()pNext(long value) Sets the specified value to thepNextfield.Sets the address of the specifiedVkGpaPerfCounterAMD.Bufferto thepPerfCountersfield.booleansampleInternalOperations(boolean value) Sets the specified value to thesampleInternalOperationsfield.intsampleType(int value) Sets the specified value to thesampleTypefield.intsqShaderMask(int value) Sets the specified value to thesqShaderMaskfield.booleansqShaderMaskEnable(boolean value) Sets the specified value to thesqShaderMaskEnablefield.longsqThreadTraceDeviceMemoryLimit(long value) Sets the specified value to thesqThreadTraceDeviceMemoryLimitfield.booleansqThreadTraceEnable(boolean value) Sets the specified value to thesqThreadTraceEnablefield.booleansqThreadTraceSuppressInstructionTokens(boolean value) Sets the specified value to thesqThreadTraceSuppressInstructionTokensfield.intstreamingPerfTraceSampleInterval(int value) Sets the specified value to thestreamingPerfTraceSampleIntervalfield.intsType()sType(int value) Sets the specified value to thesTypefield.Sets theSTRUCTURE_TYPE_GPA_SAMPLE_BEGIN_INFO_AMDvalue to thesTypefield.inttimingPostSample(int value) Sets the specified value to thetimingPostSamplefield.inttimingPreSample(int value) Sets the specified value to thetimingPreSamplefield.Methods inherited from class StructBuffer
apply, apply, forEach, get, get, get, get, iterator, parallelStream, put, put, sizeof, spliterator, streamMethods inherited from class CustomBuffer
address, address, address0, capacity, clear, compact, duplicate, flip, free, hasRemaining, limit, limit, mark, position, position, put, remaining, reset, rewind, slice, slice, toStringMethods inherited from class Pointer.Default
equals, hashCodeMethods inherited from interface NativeResource
close, free
-
Constructor Details
-
Buffer
Creates a newVkGpaSampleBeginInfoAMD.Bufferinstance backed by the specified container.Changes to the container's content will be visible to the struct buffer instance and vice versa. The two buffers' position, limit, and mark values will be independent. The new buffer's position will be zero, its capacity and its limit will be the number of bytes remaining in this buffer divided by
VkGpaSampleBeginInfoAMD.SIZEOF, and its mark will be undefined.The created buffer instance holds a strong reference to the container object.
-
Buffer
public Buffer(long address, int cap)
-
-
Method Details
-
sType
- Returns:
- the value of the
sTypefield.
-
pNext
- Returns:
- the value of the
pNextfield.
-
sampleType
- Returns:
- the value of the
sampleTypefield.
-
sampleInternalOperations
- Returns:
- the value of the
sampleInternalOperationsfield.
-
cacheFlushOnCounterCollection
- Returns:
- the value of the
cacheFlushOnCounterCollectionfield.
-
sqShaderMaskEnable
- Returns:
- the value of the
sqShaderMaskEnablefield.
-
sqShaderMask
- Returns:
- the value of the
sqShaderMaskfield.
-
perfCounterCount
- Returns:
- the value of the
perfCounterCountfield.
-
pPerfCounters
- Returns:
- a
VkGpaPerfCounterAMD.Bufferview of the struct array pointed to by thepPerfCountersfield.
-
streamingPerfTraceSampleInterval
- Returns:
- the value of the
streamingPerfTraceSampleIntervalfield.
-
perfCounterDeviceMemoryLimit
- Returns:
- the value of the
perfCounterDeviceMemoryLimitfield.
-
sqThreadTraceEnable
- Returns:
- the value of the
sqThreadTraceEnablefield.
-
sqThreadTraceSuppressInstructionTokens
- Returns:
- the value of the
sqThreadTraceSuppressInstructionTokensfield.
-
sqThreadTraceDeviceMemoryLimit
- Returns:
- the value of the
sqThreadTraceDeviceMemoryLimitfield.
-
timingPreSample
- Returns:
- the value of the
timingPreSamplefield.
-
timingPostSample
- Returns:
- the value of the
timingPostSamplefield.
-
sType
Sets the specified value to thesTypefield. -
sType$Default
Sets theSTRUCTURE_TYPE_GPA_SAMPLE_BEGIN_INFO_AMDvalue to thesTypefield. -
pNext
Sets the specified value to thepNextfield. -
sampleType
Sets the specified value to thesampleTypefield. -
sampleInternalOperations
public VkGpaSampleBeginInfoAMD.Buffer sampleInternalOperations(@NativeType("VkBool32") boolean value) Sets the specified value to thesampleInternalOperationsfield. -
cacheFlushOnCounterCollection
public VkGpaSampleBeginInfoAMD.Buffer cacheFlushOnCounterCollection(@NativeType("VkBool32") boolean value) Sets the specified value to thecacheFlushOnCounterCollectionfield. -
sqShaderMaskEnable
Sets the specified value to thesqShaderMaskEnablefield. -
sqShaderMask
public VkGpaSampleBeginInfoAMD.Buffer sqShaderMask(@NativeType("VkGpaSqShaderStageFlagsAMD") int value) Sets the specified value to thesqShaderMaskfield. -
pPerfCounters
public VkGpaSampleBeginInfoAMD.Buffer pPerfCounters(@NativeType("VkGpaPerfCounterAMD const *") VkGpaPerfCounterAMD.Buffer value) Sets the address of the specifiedVkGpaPerfCounterAMD.Bufferto thepPerfCountersfield. -
streamingPerfTraceSampleInterval
public VkGpaSampleBeginInfoAMD.Buffer streamingPerfTraceSampleInterval(@NativeType("uint32_t") int value) Sets the specified value to thestreamingPerfTraceSampleIntervalfield. -
perfCounterDeviceMemoryLimit
public VkGpaSampleBeginInfoAMD.Buffer perfCounterDeviceMemoryLimit(@NativeType("VkDeviceSize") long value) Sets the specified value to theperfCounterDeviceMemoryLimitfield. -
sqThreadTraceEnable
Sets the specified value to thesqThreadTraceEnablefield. -
sqThreadTraceSuppressInstructionTokens
public VkGpaSampleBeginInfoAMD.Buffer sqThreadTraceSuppressInstructionTokens(@NativeType("VkBool32") boolean value) Sets the specified value to thesqThreadTraceSuppressInstructionTokensfield. -
sqThreadTraceDeviceMemoryLimit
public VkGpaSampleBeginInfoAMD.Buffer sqThreadTraceDeviceMemoryLimit(@NativeType("VkDeviceSize") long value) Sets the specified value to thesqThreadTraceDeviceMemoryLimitfield. -
timingPreSample
public VkGpaSampleBeginInfoAMD.Buffer timingPreSample(@NativeType("VkPipelineStageFlags") int value) Sets the specified value to thetimingPreSamplefield. -
timingPostSample
public VkGpaSampleBeginInfoAMD.Buffer timingPostSample(@NativeType("VkPipelineStageFlags") int value) Sets the specified value to thetimingPostSamplefield.
-