Package org.lwjgl.vulkan
Class VkPhysicalDeviceSubpassShadingPropertiesHUAWEI
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.Struct
-
- org.lwjgl.vulkan.VkPhysicalDeviceSubpassShadingPropertiesHUAWEI
-
- All Implemented Interfaces:
java.lang.AutoCloseable,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
public class VkPhysicalDeviceSubpassShadingPropertiesHUAWEI extends org.lwjgl.system.Struct implements org.lwjgl.system.NativeResourceStructure describing subpass shading properties supported by an implementation.Description
If the
VkPhysicalDeviceSubpassShadingPropertiesHUAWEIstructure is included in thepNextchain of theVkPhysicalDeviceProperties2structure passed toGetPhysicalDeviceProperties2, it is filled in with each corresponding implementation-dependent property.Valid Usage (Implicit)
Layout
struct VkPhysicalDeviceSubpassShadingPropertiesHUAWEI { VkStructureTypesType(); void *pNext(); uint32_tmaxSubpassShadingWorkgroupSizeAspectRatio(); }
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classVkPhysicalDeviceSubpassShadingPropertiesHUAWEI.BufferAn array ofVkPhysicalDeviceSubpassShadingPropertiesHUAWEIstructs.
-
Field Summary
Fields Modifier and Type Field Description static intALIGNOFThe struct alignment in bytes.static intMAXSUBPASSSHADINGWORKGROUPSIZEASPECTRATIO
PNEXTThe struct member offsets.static intSIZEOFThe struct size in bytes.static intSTYPEThe struct member offsets.
-
Constructor Summary
Constructors Constructor Description VkPhysicalDeviceSubpassShadingPropertiesHUAWEI(java.nio.ByteBuffer container)Creates aVkPhysicalDeviceSubpassShadingPropertiesHUAWEIinstance at the current position of the specifiedByteBuffercontainer.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static VkPhysicalDeviceSubpassShadingPropertiesHUAWEIcalloc()Returns a newVkPhysicalDeviceSubpassShadingPropertiesHUAWEIinstance allocated withmemCalloc.static VkPhysicalDeviceSubpassShadingPropertiesHUAWEI.Buffercalloc(int capacity)Returns a newVkPhysicalDeviceSubpassShadingPropertiesHUAWEI.Bufferinstance allocated withmemCalloc.static VkPhysicalDeviceSubpassShadingPropertiesHUAWEI.Buffercalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkPhysicalDeviceSubpassShadingPropertiesHUAWEI.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkPhysicalDeviceSubpassShadingPropertiesHUAWEIcalloc(org.lwjgl.system.MemoryStack stack)Returns a newVkPhysicalDeviceSubpassShadingPropertiesHUAWEIinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkPhysicalDeviceSubpassShadingPropertiesHUAWEIcreate()Returns a newVkPhysicalDeviceSubpassShadingPropertiesHUAWEIinstance allocated withBufferUtils.static VkPhysicalDeviceSubpassShadingPropertiesHUAWEI.Buffercreate(int capacity)Returns a newVkPhysicalDeviceSubpassShadingPropertiesHUAWEI.Bufferinstance allocated withBufferUtils.static VkPhysicalDeviceSubpassShadingPropertiesHUAWEIcreate(long address)Returns a newVkPhysicalDeviceSubpassShadingPropertiesHUAWEIinstance for the specified memory address.static VkPhysicalDeviceSubpassShadingPropertiesHUAWEI.Buffercreate(long address, int capacity)Create aVkPhysicalDeviceSubpassShadingPropertiesHUAWEI.Bufferinstance at the specified memory.static VkPhysicalDeviceSubpassShadingPropertiesHUAWEIcreateSafe(long address)static VkPhysicalDeviceSubpassShadingPropertiesHUAWEI.BuffercreateSafe(long address, int capacity)static VkPhysicalDeviceSubpassShadingPropertiesHUAWEImalloc()Returns a newVkPhysicalDeviceSubpassShadingPropertiesHUAWEIinstance allocated withmemAlloc.static VkPhysicalDeviceSubpassShadingPropertiesHUAWEI.Buffermalloc(int capacity)Returns a newVkPhysicalDeviceSubpassShadingPropertiesHUAWEI.Bufferinstance allocated withmemAlloc.static VkPhysicalDeviceSubpassShadingPropertiesHUAWEI.Buffermalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkPhysicalDeviceSubpassShadingPropertiesHUAWEI.Bufferinstance allocated on the specifiedMemoryStack.static VkPhysicalDeviceSubpassShadingPropertiesHUAWEImalloc(org.lwjgl.system.MemoryStack stack)Returns a newVkPhysicalDeviceSubpassShadingPropertiesHUAWEIinstance allocated on the specifiedMemoryStack.intmaxSubpassShadingWorkgroupSizeAspectRatio()indicates the maximum ratio between the width and height of the portion of the subpass shading shader workgroup size.static intnmaxSubpassShadingWorkgroupSizeAspectRatio(long struct)Unsafe version ofmaxSubpassShadingWorkgroupSizeAspectRatio().static longnpNext(long struct)Unsafe version ofpNext().static voidnpNext(long struct, long value)Unsafe version ofpNext.static intnsType(long struct)Unsafe version ofsType().static voidnsType(long struct, int value)Unsafe version ofsType.longpNext()NULLor a pointer to a structure extending this structure.VkPhysicalDeviceSubpassShadingPropertiesHUAWEIpNext(long value)Sets the specified value to thepNext()field.VkPhysicalDeviceSubpassShadingPropertiesHUAWEIset(int sType, long pNext)Initializes this struct with the specified values.VkPhysicalDeviceSubpassShadingPropertiesHUAWEIset(VkPhysicalDeviceSubpassShadingPropertiesHUAWEI src)Copies the specified struct data to this struct.intsizeof()intsType()the type of this structure.VkPhysicalDeviceSubpassShadingPropertiesHUAWEIsType(int value)Sets the specified value to thesType()field.VkPhysicalDeviceSubpassShadingPropertiesHUAWEIsType$Default()Sets theSTRUCTURE_TYPE_PHYSICAL_DEVICE_SUBPASS_SHADING_PROPERTIES_HUAWEIvalue to thesType()field.
-
-
-
Constructor Detail
-
VkPhysicalDeviceSubpassShadingPropertiesHUAWEI
public VkPhysicalDeviceSubpassShadingPropertiesHUAWEI(java.nio.ByteBuffer container)
Creates aVkPhysicalDeviceSubpassShadingPropertiesHUAWEIinstance 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 Detail
-
sizeof
public int sizeof()
- Specified by:
sizeofin classorg.lwjgl.system.Struct
-
sType
public int sType()
the type of this structure.
-
pNext
public long pNext()
NULLor a pointer to a structure extending this structure.
-
maxSubpassShadingWorkgroupSizeAspectRatio
public int maxSubpassShadingWorkgroupSizeAspectRatio()
indicates the maximum ratio between the width and height of the portion of the subpass shading shader workgroup size.maxSubpassShadingWorkgroupSizeAspectRatiomust be a power-of-two value, and must be less than or equal to max(WorkgroupSize.x/WorkgroupSize.y,WorkgroupSize.y/WorkgroupSize.x).
-
sType
public VkPhysicalDeviceSubpassShadingPropertiesHUAWEI sType(int value)
Sets the specified value to thesType()field.
-
sType$Default
public VkPhysicalDeviceSubpassShadingPropertiesHUAWEI sType$Default()
Sets theSTRUCTURE_TYPE_PHYSICAL_DEVICE_SUBPASS_SHADING_PROPERTIES_HUAWEIvalue to thesType()field.
-
pNext
public VkPhysicalDeviceSubpassShadingPropertiesHUAWEI pNext(long value)
Sets the specified value to thepNext()field.
-
set
public VkPhysicalDeviceSubpassShadingPropertiesHUAWEI set(int sType, long pNext)
Initializes this struct with the specified values.
-
set
public VkPhysicalDeviceSubpassShadingPropertiesHUAWEI set(VkPhysicalDeviceSubpassShadingPropertiesHUAWEI src)
Copies the specified struct data to this struct.- Parameters:
src- the source struct- Returns:
- this struct
-
malloc
public static VkPhysicalDeviceSubpassShadingPropertiesHUAWEI malloc()
Returns a newVkPhysicalDeviceSubpassShadingPropertiesHUAWEIinstance allocated withmemAlloc. The instance must be explicitly freed.
-
calloc
public static VkPhysicalDeviceSubpassShadingPropertiesHUAWEI calloc()
Returns a newVkPhysicalDeviceSubpassShadingPropertiesHUAWEIinstance allocated withmemCalloc. The instance must be explicitly freed.
-
create
public static VkPhysicalDeviceSubpassShadingPropertiesHUAWEI create()
Returns a newVkPhysicalDeviceSubpassShadingPropertiesHUAWEIinstance allocated withBufferUtils.
-
create
public static VkPhysicalDeviceSubpassShadingPropertiesHUAWEI create(long address)
Returns a newVkPhysicalDeviceSubpassShadingPropertiesHUAWEIinstance for the specified memory address.
-
createSafe
@Nullable public static VkPhysicalDeviceSubpassShadingPropertiesHUAWEI createSafe(long address)
-
malloc
public static VkPhysicalDeviceSubpassShadingPropertiesHUAWEI.Buffer malloc(int capacity)
Returns a newVkPhysicalDeviceSubpassShadingPropertiesHUAWEI.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
public static VkPhysicalDeviceSubpassShadingPropertiesHUAWEI.Buffer calloc(int capacity)
Returns a newVkPhysicalDeviceSubpassShadingPropertiesHUAWEI.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
public static VkPhysicalDeviceSubpassShadingPropertiesHUAWEI.Buffer create(int capacity)
Returns a newVkPhysicalDeviceSubpassShadingPropertiesHUAWEI.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
public static VkPhysicalDeviceSubpassShadingPropertiesHUAWEI.Buffer create(long address, int capacity)
Create aVkPhysicalDeviceSubpassShadingPropertiesHUAWEI.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
@Nullable public static VkPhysicalDeviceSubpassShadingPropertiesHUAWEI.Buffer createSafe(long address, int capacity)
-
malloc
public static VkPhysicalDeviceSubpassShadingPropertiesHUAWEI malloc(org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceSubpassShadingPropertiesHUAWEIinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
calloc
public static VkPhysicalDeviceSubpassShadingPropertiesHUAWEI calloc(org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceSubpassShadingPropertiesHUAWEIinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocate
-
malloc
public static VkPhysicalDeviceSubpassShadingPropertiesHUAWEI.Buffer malloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceSubpassShadingPropertiesHUAWEI.Bufferinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
calloc
public static VkPhysicalDeviceSubpassShadingPropertiesHUAWEI.Buffer calloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceSubpassShadingPropertiesHUAWEI.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
nsType
public static int nsType(long struct)
Unsafe version ofsType().
-
npNext
public static long npNext(long struct)
Unsafe version ofpNext().
-
nmaxSubpassShadingWorkgroupSizeAspectRatio
public static int nmaxSubpassShadingWorkgroupSizeAspectRatio(long struct)
Unsafe version ofmaxSubpassShadingWorkgroupSizeAspectRatio().
-
nsType
public static void nsType(long struct, int value)Unsafe version ofsType.
-
npNext
public static void npNext(long struct, long value)Unsafe version ofpNext.
-
-