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 ofVkPhysicalDeviceShaderCorePropertiesAMD
structs.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
computeUnitsPerShaderArray()
Returns the value of thecomputeUnitsPerShaderArray
field.int
maxSgprAllocation()
Returns the value of themaxSgprAllocation
field.int
maxVgprAllocation()
Returns the value of themaxVgprAllocation
field.int
minSgprAllocation()
Returns the value of theminSgprAllocation
field.int
minVgprAllocation()
Returns the value of theminVgprAllocation
field.long
pNext()
Returns the value of thepNext
field.VkPhysicalDeviceShaderCorePropertiesAMD.Buffer
pNext(long value)
Sets the specified value to thepNext
field.int
sgprAllocationGranularity()
Returns the value of thesgprAllocationGranularity
field.int
sgprsPerSimd()
Returns the value of thesgprsPerSimd
field.int
shaderArraysPerEngineCount()
Returns the value of theshaderArraysPerEngineCount
field.int
shaderEngineCount()
Returns the value of theshaderEngineCount
field.int
simdPerComputeUnit()
Returns the value of thesimdPerComputeUnit
field.int
sType()
Returns the value of thesType
field.VkPhysicalDeviceShaderCorePropertiesAMD.Buffer
sType(int value)
Sets the specified value to thesType
field.int
vgprAllocationGranularity()
Returns the value of thevgprAllocationGranularity
field.int
vgprsPerSimd()
Returns the value of thevgprsPerSimd
field.int
wavefrontSize()
Returns the value of thewavefrontSize
field.int
wavefrontsPerSimd()
Returns the value of thewavefrontsPerSimd
field.
-
-
-
Constructor Detail
-
Buffer
public Buffer(java.nio.ByteBuffer container)
Creates a newVkPhysicalDeviceShaderCorePropertiesAMD.Buffer
instance 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 thesType
field.
-
pNext
public long pNext()
Returns the value of thepNext
field.
-
shaderEngineCount
public int shaderEngineCount()
Returns the value of theshaderEngineCount
field.
-
shaderArraysPerEngineCount
public int shaderArraysPerEngineCount()
Returns the value of theshaderArraysPerEngineCount
field.
-
computeUnitsPerShaderArray
public int computeUnitsPerShaderArray()
Returns the value of thecomputeUnitsPerShaderArray
field.
-
simdPerComputeUnit
public int simdPerComputeUnit()
Returns the value of thesimdPerComputeUnit
field.
-
wavefrontsPerSimd
public int wavefrontsPerSimd()
Returns the value of thewavefrontsPerSimd
field.
-
wavefrontSize
public int wavefrontSize()
Returns the value of thewavefrontSize
field.
-
sgprsPerSimd
public int sgprsPerSimd()
Returns the value of thesgprsPerSimd
field.
-
minSgprAllocation
public int minSgprAllocation()
Returns the value of theminSgprAllocation
field.
-
maxSgprAllocation
public int maxSgprAllocation()
Returns the value of themaxSgprAllocation
field.
-
sgprAllocationGranularity
public int sgprAllocationGranularity()
Returns the value of thesgprAllocationGranularity
field.
-
vgprsPerSimd
public int vgprsPerSimd()
Returns the value of thevgprsPerSimd
field.
-
minVgprAllocation
public int minVgprAllocation()
Returns the value of theminVgprAllocation
field.
-
maxVgprAllocation
public int maxVgprAllocation()
Returns the value of themaxVgprAllocation
field.
-
vgprAllocationGranularity
public int vgprAllocationGranularity()
Returns the value of thevgprAllocationGranularity
field.
-
sType
public VkPhysicalDeviceShaderCorePropertiesAMD.Buffer sType(int value)
Sets the specified value to thesType
field.
-
pNext
public VkPhysicalDeviceShaderCorePropertiesAMD.Buffer pNext(long value)
Sets the specified value to thepNext
field.
-
-