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()intmaxSgprAllocation()intmaxVgprAllocation()intminSgprAllocation()intminVgprAllocation()longpNext()VkPhysicalDeviceShaderCorePropertiesAMD.BufferpNext(long value)Sets the specified value to theVkPhysicalDeviceShaderCorePropertiesAMD.pNext()field.intsgprAllocationGranularity()intsgprsPerSimd()intshaderArraysPerEngineCount()intshaderEngineCount()intsimdPerComputeUnit()intsType()VkPhysicalDeviceShaderCorePropertiesAMD.BuffersType(int value)Sets the specified value to theVkPhysicalDeviceShaderCorePropertiesAMD.sType()field.VkPhysicalDeviceShaderCorePropertiesAMD.BuffersType$Default()Sets theSTRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_CORE_PROPERTIES_AMDvalue to theVkPhysicalDeviceShaderCorePropertiesAMD.sType()field.intvgprAllocationGranularity()intvgprsPerSimd()intwavefrontSize()intwavefrontsPerSimd()
-
-
-
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 the
VkPhysicalDeviceShaderCorePropertiesAMD.sType()field.
-
pNext
public long pNext()
- Returns:
- the value of the
VkPhysicalDeviceShaderCorePropertiesAMD.pNext()field.
-
shaderEngineCount
public int shaderEngineCount()
- Returns:
- the value of the
VkPhysicalDeviceShaderCorePropertiesAMD.shaderEngineCount()field.
-
shaderArraysPerEngineCount
public int shaderArraysPerEngineCount()
- Returns:
- the value of the
VkPhysicalDeviceShaderCorePropertiesAMD.shaderArraysPerEngineCount()field.
-
computeUnitsPerShaderArray
public int computeUnitsPerShaderArray()
- Returns:
- the value of the
VkPhysicalDeviceShaderCorePropertiesAMD.computeUnitsPerShaderArray()field.
-
simdPerComputeUnit
public int simdPerComputeUnit()
- Returns:
- the value of the
VkPhysicalDeviceShaderCorePropertiesAMD.simdPerComputeUnit()field.
-
wavefrontsPerSimd
public int wavefrontsPerSimd()
- Returns:
- the value of the
wavefrontsPerSimdfield.
-
wavefrontSize
public int wavefrontSize()
- Returns:
- the value of the
VkPhysicalDeviceShaderCorePropertiesAMD.wavefrontSize()field.
-
sgprsPerSimd
public int sgprsPerSimd()
- Returns:
- the value of the
VkPhysicalDeviceShaderCorePropertiesAMD.sgprsPerSimd()field.
-
minSgprAllocation
public int minSgprAllocation()
- Returns:
- the value of the
VkPhysicalDeviceShaderCorePropertiesAMD.minSgprAllocation()field.
-
maxSgprAllocation
public int maxSgprAllocation()
- Returns:
- the value of the
VkPhysicalDeviceShaderCorePropertiesAMD.maxSgprAllocation()field.
-
sgprAllocationGranularity
public int sgprAllocationGranularity()
- Returns:
- the value of the
VkPhysicalDeviceShaderCorePropertiesAMD.sgprAllocationGranularity()field.
-
vgprsPerSimd
public int vgprsPerSimd()
- Returns:
- the value of the
VkPhysicalDeviceShaderCorePropertiesAMD.vgprsPerSimd()field.
-
minVgprAllocation
public int minVgprAllocation()
- Returns:
- the value of the
VkPhysicalDeviceShaderCorePropertiesAMD.minVgprAllocation()field.
-
maxVgprAllocation
public int maxVgprAllocation()
- Returns:
- the value of the
VkPhysicalDeviceShaderCorePropertiesAMD.maxVgprAllocation()field.
-
vgprAllocationGranularity
public int vgprAllocationGranularity()
- Returns:
- the value of the
VkPhysicalDeviceShaderCorePropertiesAMD.vgprAllocationGranularity()field.
-
sType
public VkPhysicalDeviceShaderCorePropertiesAMD.Buffer sType(int value)
Sets the specified value to theVkPhysicalDeviceShaderCorePropertiesAMD.sType()field.
-
sType$Default
public VkPhysicalDeviceShaderCorePropertiesAMD.Buffer sType$Default()
Sets theSTRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_CORE_PROPERTIES_AMDvalue to theVkPhysicalDeviceShaderCorePropertiesAMD.sType()field.
-
pNext
public VkPhysicalDeviceShaderCorePropertiesAMD.Buffer pNext(long value)
Sets the specified value to theVkPhysicalDeviceShaderCorePropertiesAMD.pNext()field.
-
-