Package org.lwjgl.vulkan
Class VkPhysicalDeviceShaderCorePropertiesAMD.Buffer
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.CustomBuffer<SELF>
-
- org.lwjgl.system.StructBuffer<VkPhysicalDeviceShaderCorePropertiesAMD,VkPhysicalDeviceShaderCorePropertiesAMD.Buffer>
-
- org.lwjgl.vulkan.VkPhysicalDeviceShaderCorePropertiesAMD.Buffer
-
- All Implemented Interfaces:
java.lang.AutoCloseable,java.lang.Iterable<VkPhysicalDeviceShaderCorePropertiesAMD>,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
- Enclosing class:
- VkPhysicalDeviceShaderCorePropertiesAMD
public static class VkPhysicalDeviceShaderCorePropertiesAMD.Buffer extends org.lwjgl.system.StructBuffer<VkPhysicalDeviceShaderCorePropertiesAMD,VkPhysicalDeviceShaderCorePropertiesAMD.Buffer> implements org.lwjgl.system.NativeResource
An array ofVkPhysicalDeviceShaderCorePropertiesAMDstructs.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intcomputeUnitsPerShaderArray()Returns the value of thecomputeUnitsPerShaderArrayfield.intmaxSgprAllocation()Returns the value of themaxSgprAllocationfield.intmaxVgprAllocation()Returns the value of themaxVgprAllocationfield.intminSgprAllocation()Returns the value of theminSgprAllocationfield.intminVgprAllocation()Returns the value of theminVgprAllocationfield.longpNext()Returns the value of thepNextfield.VkPhysicalDeviceShaderCorePropertiesAMD.BufferpNext(long value)Sets the specified value to thepNextfield.intsgprAllocationGranularity()Returns the value of thesgprAllocationGranularityfield.intsgprsPerSimd()Returns the value of thesgprsPerSimdfield.intshaderArraysPerEngineCount()Returns the value of theshaderArraysPerEngineCountfield.intshaderEngineCount()Returns the value of theshaderEngineCountfield.intsimdPerComputeUnit()Returns the value of thesimdPerComputeUnitfield.intsType()Returns the value of thesTypefield.VkPhysicalDeviceShaderCorePropertiesAMD.BuffersType(int value)Sets the specified value to thesTypefield.intvgprAllocationGranularity()Returns the value of thevgprAllocationGranularityfield.intvgprsPerSimd()Returns the value of thevgprsPerSimdfield.intwavefrontSize()Returns the value of thewavefrontSizefield.intwavefrontsPerSimd()Returns the value of thewavefrontsPerSimdfield.
-
-
-
Constructor Detail
-
Buffer
public Buffer(java.nio.ByteBuffer container)
Creates a newVkPhysicalDeviceShaderCorePropertiesAMD.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 byVkPhysicalDeviceShaderCorePropertiesAMD.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 Detail
-
sType
public int sType()
Returns the value of thesTypefield.
-
pNext
public long pNext()
Returns the value of thepNextfield.
-
shaderEngineCount
public int shaderEngineCount()
Returns the value of theshaderEngineCountfield.
-
shaderArraysPerEngineCount
public int shaderArraysPerEngineCount()
Returns the value of theshaderArraysPerEngineCountfield.
-
computeUnitsPerShaderArray
public int computeUnitsPerShaderArray()
Returns the value of thecomputeUnitsPerShaderArrayfield.
-
simdPerComputeUnit
public int simdPerComputeUnit()
Returns the value of thesimdPerComputeUnitfield.
-
wavefrontsPerSimd
public int wavefrontsPerSimd()
Returns the value of thewavefrontsPerSimdfield.
-
wavefrontSize
public int wavefrontSize()
Returns the value of thewavefrontSizefield.
-
sgprsPerSimd
public int sgprsPerSimd()
Returns the value of thesgprsPerSimdfield.
-
minSgprAllocation
public int minSgprAllocation()
Returns the value of theminSgprAllocationfield.
-
maxSgprAllocation
public int maxSgprAllocation()
Returns the value of themaxSgprAllocationfield.
-
sgprAllocationGranularity
public int sgprAllocationGranularity()
Returns the value of thesgprAllocationGranularityfield.
-
vgprsPerSimd
public int vgprsPerSimd()
Returns the value of thevgprsPerSimdfield.
-
minVgprAllocation
public int minVgprAllocation()
Returns the value of theminVgprAllocationfield.
-
maxVgprAllocation
public int maxVgprAllocation()
Returns the value of themaxVgprAllocationfield.
-
vgprAllocationGranularity
public int vgprAllocationGranularity()
Returns the value of thevgprAllocationGranularityfield.
-
sType
public VkPhysicalDeviceShaderCorePropertiesAMD.Buffer sType(int value)
Sets the specified value to thesTypefield.
-
pNext
public VkPhysicalDeviceShaderCorePropertiesAMD.Buffer pNext(long value)
Sets the specified value to thepNextfield.
-
-