Package org.lwjgl.vulkan
Class VkPhysicalDeviceRGBA10X6FormatsFeaturesEXT
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.Struct
-
- org.lwjgl.vulkan.VkPhysicalDeviceRGBA10X6FormatsFeaturesEXT
-
- All Implemented Interfaces:
java.lang.AutoCloseable,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
public class VkPhysicalDeviceRGBA10X6FormatsFeaturesEXT extends org.lwjgl.system.Struct implements org.lwjgl.system.NativeResourceStructure describing whether rendering to VK_FORMAT_R10X6G10X6B10X6A10X6_UNORM_4PACK16 formats can be supported by an implementation.Description
If the
VkPhysicalDeviceRGBA10X6FormatsFeaturesEXTstructure is included in thepNextchain of theVkPhysicalDeviceFeatures2structure passed toGetPhysicalDeviceFeatures2, it is filled in to indicate whether each corresponding feature is supported.VkPhysicalDeviceRGBA10X6FormatsFeaturesEXTcan also be used in thepNextchain ofVkDeviceCreateInfoto selectively enable these features.Valid Usage (Implicit)
Layout
struct VkPhysicalDeviceRGBA10X6FormatsFeaturesEXT { VkStructureTypesType(); void *pNext(); VkBool32formatRgba10x6WithoutYCbCrSampler(); }
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classVkPhysicalDeviceRGBA10X6FormatsFeaturesEXT.BufferAn array ofVkPhysicalDeviceRGBA10X6FormatsFeaturesEXTstructs.
-
Field Summary
Fields Modifier and Type Field Description static intALIGNOFThe struct alignment in bytes.static intFORMATRGBA10X6WITHOUTYCBCRSAMPLER
PNEXTThe struct member offsets.static intSIZEOFThe struct size in bytes.static intSTYPEThe struct member offsets.
-
Constructor Summary
Constructors Constructor Description VkPhysicalDeviceRGBA10X6FormatsFeaturesEXT(java.nio.ByteBuffer container)Creates aVkPhysicalDeviceRGBA10X6FormatsFeaturesEXTinstance at the current position of the specifiedByteBuffercontainer.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static VkPhysicalDeviceRGBA10X6FormatsFeaturesEXTcalloc()Returns a newVkPhysicalDeviceRGBA10X6FormatsFeaturesEXTinstance allocated withmemCalloc.static VkPhysicalDeviceRGBA10X6FormatsFeaturesEXT.Buffercalloc(int capacity)Returns a newVkPhysicalDeviceRGBA10X6FormatsFeaturesEXT.Bufferinstance allocated withmemCalloc.static VkPhysicalDeviceRGBA10X6FormatsFeaturesEXT.Buffercalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkPhysicalDeviceRGBA10X6FormatsFeaturesEXT.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkPhysicalDeviceRGBA10X6FormatsFeaturesEXTcalloc(org.lwjgl.system.MemoryStack stack)Returns a newVkPhysicalDeviceRGBA10X6FormatsFeaturesEXTinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkPhysicalDeviceRGBA10X6FormatsFeaturesEXTcreate()Returns a newVkPhysicalDeviceRGBA10X6FormatsFeaturesEXTinstance allocated withBufferUtils.static VkPhysicalDeviceRGBA10X6FormatsFeaturesEXT.Buffercreate(int capacity)Returns a newVkPhysicalDeviceRGBA10X6FormatsFeaturesEXT.Bufferinstance allocated withBufferUtils.static VkPhysicalDeviceRGBA10X6FormatsFeaturesEXTcreate(long address)Returns a newVkPhysicalDeviceRGBA10X6FormatsFeaturesEXTinstance for the specified memory address.static VkPhysicalDeviceRGBA10X6FormatsFeaturesEXT.Buffercreate(long address, int capacity)Create aVkPhysicalDeviceRGBA10X6FormatsFeaturesEXT.Bufferinstance at the specified memory.static VkPhysicalDeviceRGBA10X6FormatsFeaturesEXTcreateSafe(long address)static VkPhysicalDeviceRGBA10X6FormatsFeaturesEXT.BuffercreateSafe(long address, int capacity)booleanformatRgba10x6WithoutYCbCrSampler()indicates thatFORMAT_R10X6G10X6B10X6A10X6_UNORM_4PACK16can be used with aVkImageViewwithsubresourceRange.aspectMaskequal toIMAGE_ASPECT_COLOR_BITwithout a sampler Y′CBCR conversion enabled.VkPhysicalDeviceRGBA10X6FormatsFeaturesEXTformatRgba10x6WithoutYCbCrSampler(boolean value)Sets the specified value to theformatRgba10x6WithoutYCbCrSampler()field.static VkPhysicalDeviceRGBA10X6FormatsFeaturesEXTmalloc()Returns a newVkPhysicalDeviceRGBA10X6FormatsFeaturesEXTinstance allocated withmemAlloc.static VkPhysicalDeviceRGBA10X6FormatsFeaturesEXT.Buffermalloc(int capacity)Returns a newVkPhysicalDeviceRGBA10X6FormatsFeaturesEXT.Bufferinstance allocated withmemAlloc.static VkPhysicalDeviceRGBA10X6FormatsFeaturesEXT.Buffermalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkPhysicalDeviceRGBA10X6FormatsFeaturesEXT.Bufferinstance allocated on the specifiedMemoryStack.static VkPhysicalDeviceRGBA10X6FormatsFeaturesEXTmalloc(org.lwjgl.system.MemoryStack stack)Returns a newVkPhysicalDeviceRGBA10X6FormatsFeaturesEXTinstance allocated on the specifiedMemoryStack.static intnformatRgba10x6WithoutYCbCrSampler(long struct)Unsafe version offormatRgba10x6WithoutYCbCrSampler().static voidnformatRgba10x6WithoutYCbCrSampler(long struct, int value)Unsafe version offormatRgba10x6WithoutYCbCrSampler.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.VkPhysicalDeviceRGBA10X6FormatsFeaturesEXTpNext(long value)Sets the specified value to thepNext()field.VkPhysicalDeviceRGBA10X6FormatsFeaturesEXTset(int sType, long pNext, boolean formatRgba10x6WithoutYCbCrSampler)Initializes this struct with the specified values.VkPhysicalDeviceRGBA10X6FormatsFeaturesEXTset(VkPhysicalDeviceRGBA10X6FormatsFeaturesEXT src)Copies the specified struct data to this struct.intsizeof()intsType()the type of this structure.VkPhysicalDeviceRGBA10X6FormatsFeaturesEXTsType(int value)Sets the specified value to thesType()field.VkPhysicalDeviceRGBA10X6FormatsFeaturesEXTsType$Default()Sets theSTRUCTURE_TYPE_PHYSICAL_DEVICE_RGBA10X6_FORMATS_FEATURES_EXTvalue to thesType()field.
-
-
-
Constructor Detail
-
VkPhysicalDeviceRGBA10X6FormatsFeaturesEXT
public VkPhysicalDeviceRGBA10X6FormatsFeaturesEXT(java.nio.ByteBuffer container)
Creates aVkPhysicalDeviceRGBA10X6FormatsFeaturesEXTinstance 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.
-
formatRgba10x6WithoutYCbCrSampler
public boolean formatRgba10x6WithoutYCbCrSampler()
indicates thatFORMAT_R10X6G10X6B10X6A10X6_UNORM_4PACK16can be used with aVkImageViewwithsubresourceRange.aspectMaskequal toIMAGE_ASPECT_COLOR_BITwithout a sampler Y′CBCR conversion enabled.
-
sType
public VkPhysicalDeviceRGBA10X6FormatsFeaturesEXT sType(int value)
Sets the specified value to thesType()field.
-
sType$Default
public VkPhysicalDeviceRGBA10X6FormatsFeaturesEXT sType$Default()
Sets theSTRUCTURE_TYPE_PHYSICAL_DEVICE_RGBA10X6_FORMATS_FEATURES_EXTvalue to thesType()field.
-
pNext
public VkPhysicalDeviceRGBA10X6FormatsFeaturesEXT pNext(long value)
Sets the specified value to thepNext()field.
-
formatRgba10x6WithoutYCbCrSampler
public VkPhysicalDeviceRGBA10X6FormatsFeaturesEXT formatRgba10x6WithoutYCbCrSampler(boolean value)
Sets the specified value to theformatRgba10x6WithoutYCbCrSampler()field.
-
set
public VkPhysicalDeviceRGBA10X6FormatsFeaturesEXT set(int sType, long pNext, boolean formatRgba10x6WithoutYCbCrSampler)
Initializes this struct with the specified values.
-
set
public VkPhysicalDeviceRGBA10X6FormatsFeaturesEXT set(VkPhysicalDeviceRGBA10X6FormatsFeaturesEXT src)
Copies the specified struct data to this struct.- Parameters:
src- the source struct- Returns:
- this struct
-
malloc
public static VkPhysicalDeviceRGBA10X6FormatsFeaturesEXT malloc()
Returns a newVkPhysicalDeviceRGBA10X6FormatsFeaturesEXTinstance allocated withmemAlloc. The instance must be explicitly freed.
-
calloc
public static VkPhysicalDeviceRGBA10X6FormatsFeaturesEXT calloc()
Returns a newVkPhysicalDeviceRGBA10X6FormatsFeaturesEXTinstance allocated withmemCalloc. The instance must be explicitly freed.
-
create
public static VkPhysicalDeviceRGBA10X6FormatsFeaturesEXT create()
Returns a newVkPhysicalDeviceRGBA10X6FormatsFeaturesEXTinstance allocated withBufferUtils.
-
create
public static VkPhysicalDeviceRGBA10X6FormatsFeaturesEXT create(long address)
Returns a newVkPhysicalDeviceRGBA10X6FormatsFeaturesEXTinstance for the specified memory address.
-
createSafe
@Nullable public static VkPhysicalDeviceRGBA10X6FormatsFeaturesEXT createSafe(long address)
-
malloc
public static VkPhysicalDeviceRGBA10X6FormatsFeaturesEXT.Buffer malloc(int capacity)
Returns a newVkPhysicalDeviceRGBA10X6FormatsFeaturesEXT.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
public static VkPhysicalDeviceRGBA10X6FormatsFeaturesEXT.Buffer calloc(int capacity)
Returns a newVkPhysicalDeviceRGBA10X6FormatsFeaturesEXT.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
public static VkPhysicalDeviceRGBA10X6FormatsFeaturesEXT.Buffer create(int capacity)
Returns a newVkPhysicalDeviceRGBA10X6FormatsFeaturesEXT.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
public static VkPhysicalDeviceRGBA10X6FormatsFeaturesEXT.Buffer create(long address, int capacity)
Create aVkPhysicalDeviceRGBA10X6FormatsFeaturesEXT.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
@Nullable public static VkPhysicalDeviceRGBA10X6FormatsFeaturesEXT.Buffer createSafe(long address, int capacity)
-
malloc
public static VkPhysicalDeviceRGBA10X6FormatsFeaturesEXT malloc(org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceRGBA10X6FormatsFeaturesEXTinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
calloc
public static VkPhysicalDeviceRGBA10X6FormatsFeaturesEXT calloc(org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceRGBA10X6FormatsFeaturesEXTinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocate
-
malloc
public static VkPhysicalDeviceRGBA10X6FormatsFeaturesEXT.Buffer malloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceRGBA10X6FormatsFeaturesEXT.Bufferinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
calloc
public static VkPhysicalDeviceRGBA10X6FormatsFeaturesEXT.Buffer calloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceRGBA10X6FormatsFeaturesEXT.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().
-
nformatRgba10x6WithoutYCbCrSampler
public static int nformatRgba10x6WithoutYCbCrSampler(long struct)
Unsafe version offormatRgba10x6WithoutYCbCrSampler().
-
nsType
public static void nsType(long struct, int value)Unsafe version ofsType.
-
npNext
public static void npNext(long struct, long value)Unsafe version ofpNext.
-
nformatRgba10x6WithoutYCbCrSampler
public static void nformatRgba10x6WithoutYCbCrSampler(long struct, int value)Unsafe version offormatRgba10x6WithoutYCbCrSampler.
-
-