Package org.lwjgl.vulkan
Class VkShaderStatisticsInfoAMD
- All Implemented Interfaces:
Pointer
struct VkShaderStatisticsInfoAMD {
VkShaderStageFlags shaderStageMask;
VkShaderResourceUsageAMD resourceUsage;
uint32_t numPhysicalVgprs;
uint32_t numPhysicalSgprs;
uint32_t numAvailableVgprs;
uint32_t numAvailableSgprs;
uint32_t computeWorkGroupSize[3];
}-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class org.lwjgl.system.Struct
Struct.StructValidationNested classes/interfaces inherited from interface org.lwjgl.system.Pointer
Pointer.Default -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intThe struct alignment in bytes.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct size in bytes.Fields inherited from interface org.lwjgl.system.Pointer
BITS32, BITS64, CLONG_SHIFT, CLONG_SIZE, POINTER_SHIFT, POINTER_SIZE -
Constructor Summary
ConstructorsConstructorDescriptionVkShaderStatisticsInfoAMD(ByteBuffer container) Creates aVkShaderStatisticsInfoAMDinstance at the current position of the specifiedByteBuffercontainer. -
Method Summary
Modifier and TypeMethodDescriptionintcomputeWorkGroupSize(int index) static VkShaderStatisticsInfoAMDcreate(long address) Returns a newVkShaderStatisticsInfoAMDinstance for the specified memory address.create(long address, int capacity) Create aVkShaderStatisticsInfoAMD.Bufferinstance at the specified memory.static @Nullable VkShaderStatisticsInfoAMDcreateSafe(long address) static @Nullable VkShaderStatisticsInfoAMD.BuffercreateSafe(long address, int capacity) static IntBufferncomputeWorkGroupSize(long struct) Unsafe version ofcomputeWorkGroupSize().static intncomputeWorkGroupSize(long struct, int index) Unsafe version ofcomputeWorkGroupSize.static intnnumAvailableSgprs(long struct) Unsafe version ofnumAvailableSgprs().static intnnumAvailableVgprs(long struct) Unsafe version ofnumAvailableVgprs().static intnnumPhysicalSgprs(long struct) Unsafe version ofnumPhysicalSgprs().static intnnumPhysicalVgprs(long struct) Unsafe version ofnumPhysicalVgprs().static VkShaderResourceUsageAMDnresourceUsage(long struct) Unsafe version ofresourceUsage().static intnshaderStageMask(long struct) Unsafe version ofshaderStageMask().intintintintintintsizeof()Returnssizeof(struct).Methods inherited from class org.lwjgl.system.Pointer.Default
address, equals, hashCode, toString
-
Field Details
-
SIZEOF
public static final int SIZEOFThe struct size in bytes. -
ALIGNOF
public static final int ALIGNOFThe struct alignment in bytes. -
SHADERSTAGEMASK
public static final int SHADERSTAGEMASKThe struct member offsets. -
RESOURCEUSAGE
public static final int RESOURCEUSAGEThe struct member offsets. -
NUMPHYSICALVGPRS
public static final int NUMPHYSICALVGPRSThe struct member offsets. -
NUMPHYSICALSGPRS
public static final int NUMPHYSICALSGPRSThe struct member offsets. -
NUMAVAILABLEVGPRS
public static final int NUMAVAILABLEVGPRSThe struct member offsets. -
NUMAVAILABLESGPRS
public static final int NUMAVAILABLESGPRSThe struct member offsets. -
COMPUTEWORKGROUPSIZE
public static final int COMPUTEWORKGROUPSIZEThe struct member offsets.
-
-
Constructor Details
-
VkShaderStatisticsInfoAMD
Creates aVkShaderStatisticsInfoAMDinstance at the current position of the specifiedByteBuffercontainer. Changes to the buffer's content will be visible to the struct instance and vice versa.The created instance holds a strong reference to the container object.
-
-
Method Details
-
sizeof
public int sizeof()Description copied from class:StructReturnssizeof(struct).- Specified by:
sizeofin classStruct<VkShaderStatisticsInfoAMD>
-
shaderStageMask
public int shaderStageMask()- Returns:
- the value of the
shaderStageMaskfield.
-
resourceUsage
- Returns:
- a
VkShaderResourceUsageAMDview of theresourceUsagefield.
-
numPhysicalVgprs
public int numPhysicalVgprs()- Returns:
- the value of the
numPhysicalVgprsfield.
-
numPhysicalSgprs
public int numPhysicalSgprs()- Returns:
- the value of the
numPhysicalSgprsfield.
-
numAvailableVgprs
public int numAvailableVgprs()- Returns:
- the value of the
numAvailableVgprsfield.
-
numAvailableSgprs
public int numAvailableSgprs()- Returns:
- the value of the
numAvailableSgprsfield.
-
computeWorkGroupSize
- Returns:
- a
IntBufferview of thecomputeWorkGroupSizefield.
-
computeWorkGroupSize
public int computeWorkGroupSize(int index) - Returns:
- the value at the specified index of the
computeWorkGroupSizefield.
-
create
Returns a newVkShaderStatisticsInfoAMDinstance for the specified memory address. -
createSafe
-
create
Create aVkShaderStatisticsInfoAMD.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
-
nshaderStageMask
public static int nshaderStageMask(long struct) Unsafe version ofshaderStageMask(). -
nresourceUsage
Unsafe version ofresourceUsage(). -
nnumPhysicalVgprs
public static int nnumPhysicalVgprs(long struct) Unsafe version ofnumPhysicalVgprs(). -
nnumPhysicalSgprs
public static int nnumPhysicalSgprs(long struct) Unsafe version ofnumPhysicalSgprs(). -
nnumAvailableVgprs
public static int nnumAvailableVgprs(long struct) Unsafe version ofnumAvailableVgprs(). -
nnumAvailableSgprs
public static int nnumAvailableSgprs(long struct) Unsafe version ofnumAvailableSgprs(). -
ncomputeWorkGroupSize
Unsafe version ofcomputeWorkGroupSize(). -
ncomputeWorkGroupSize
public static int ncomputeWorkGroupSize(long struct, int index) Unsafe version ofcomputeWorkGroupSize.
-