Package org.lwjgl.vulkan
Class VkShaderStatisticsInfoAMD
- All Implemented Interfaces:
Pointer
struct VkShaderStatisticsInfoAMD {
VkShaderStageFlags shaderStageMask;
{@link VkShaderResourceUsageAMD 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.StructValidation
Nested classes/interfaces inherited from interface org.lwjgl.system.Pointer
Pointer.Default
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
The struct alignment in bytes.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The 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 aVkShaderStatisticsInfoAMD
instance at the current position of the specifiedByteBuffer
container. -
Method Summary
Modifier and TypeMethodDescriptionint
computeWorkGroupSize
(int index) static VkShaderStatisticsInfoAMD
create
(long address) Returns a newVkShaderStatisticsInfoAMD
instance for the specified memory address.create
(long address, int capacity) Create aVkShaderStatisticsInfoAMD.Buffer
instance at the specified memory.static @Nullable VkShaderStatisticsInfoAMD
createSafe
(long address) static @Nullable VkShaderStatisticsInfoAMD.Buffer
createSafe
(long address, int capacity) static IntBuffer
ncomputeWorkGroupSize
(long struct) Unsafe version ofcomputeWorkGroupSize()
.static int
ncomputeWorkGroupSize
(long struct, int index) Unsafe version ofcomputeWorkGroupSize
.static int
nnumAvailableSgprs
(long struct) Unsafe version ofnumAvailableSgprs()
.static int
nnumAvailableVgprs
(long struct) Unsafe version ofnumAvailableVgprs()
.static int
nnumPhysicalSgprs
(long struct) Unsafe version ofnumPhysicalSgprs()
.static int
nnumPhysicalVgprs
(long struct) Unsafe version ofnumPhysicalVgprs()
.static VkShaderResourceUsageAMD
nresourceUsage
(long struct) Unsafe version ofresourceUsage()
.static int
nshaderStageMask
(long struct) Unsafe version ofshaderStageMask()
.int
int
int
int
int
int
sizeof()
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 aVkShaderStatisticsInfoAMD
instance at the current position of the specifiedByteBuffer
container. 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:Struct
Returnssizeof(struct)
.- Specified by:
sizeof
in classStruct<VkShaderStatisticsInfoAMD>
-
shaderStageMask
public int shaderStageMask()- Returns:
- the value of the
shaderStageMask
field.
-
resourceUsage
- Returns:
- a
VkShaderResourceUsageAMD
view of theresourceUsage
field.
-
numPhysicalVgprs
public int numPhysicalVgprs()- Returns:
- the value of the
numPhysicalVgprs
field.
-
numPhysicalSgprs
public int numPhysicalSgprs()- Returns:
- the value of the
numPhysicalSgprs
field.
-
numAvailableVgprs
public int numAvailableVgprs()- Returns:
- the value of the
numAvailableVgprs
field.
-
numAvailableSgprs
public int numAvailableSgprs()- Returns:
- the value of the
numAvailableSgprs
field.
-
computeWorkGroupSize
- Returns:
- a
IntBuffer
view of thecomputeWorkGroupSize
field.
-
computeWorkGroupSize
public int computeWorkGroupSize(int index) - Returns:
- the value at the specified index of the
computeWorkGroupSize
field.
-
create
Returns a newVkShaderStatisticsInfoAMD
instance for the specified memory address. -
createSafe
-
create
Create aVkShaderStatisticsInfoAMD.Buffer
instance 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
.
-