Package org.lwjgl.vulkan
Class VkPhysicalDeviceSamplerYcbcrConversionFeatures
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.Struct
-
- org.lwjgl.vulkan.VkPhysicalDeviceSamplerYcbcrConversionFeatures
-
- All Implemented Interfaces:
java.lang.AutoCloseable,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
- Direct Known Subclasses:
VkPhysicalDeviceSamplerYcbcrConversionFeaturesKHR
public class VkPhysicalDeviceSamplerYcbcrConversionFeatures extends org.lwjgl.system.Struct implements org.lwjgl.system.NativeResourceStructure describing Y'CbCr conversion features that can be supported by an implementation.Valid Usage (Implicit)
Member documentation
samplerYcbcrConversion– specifies whether the implementation supports sampler Y’CBCR conversion. IfsamplerYcbcrConversionisFALSE, sampler Y’CBCR conversion is not supported, and samplers using sampler Y’CBCR conversion must not be used.
Layout
struct VkPhysicalDeviceSamplerYcbcrConversionFeatures { VkStructureType sType; void * pNext; VkBool32 samplerYcbcrConversion; }
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classVkPhysicalDeviceSamplerYcbcrConversionFeatures.BufferAn array ofVkPhysicalDeviceSamplerYcbcrConversionFeaturesstructs.
-
Field Summary
Fields Modifier and Type Field Description static intALIGNOFThe struct alignment in bytes.static intPNEXT
SAMPLERYCBCRCONVERSIONThe struct member offsets.static intSIZEOFThe struct size in bytes.static intSTYPEThe struct member offsets.
-
Constructor Summary
Constructors Constructor Description VkPhysicalDeviceSamplerYcbcrConversionFeatures(java.nio.ByteBuffer container)Creates aVkPhysicalDeviceSamplerYcbcrConversionFeaturesinstance at the current position of the specifiedByteBuffercontainer.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static VkPhysicalDeviceSamplerYcbcrConversionFeaturescalloc()Returns a newVkPhysicalDeviceSamplerYcbcrConversionFeaturesinstance allocated withmemCalloc.static VkPhysicalDeviceSamplerYcbcrConversionFeatures.Buffercalloc(int capacity)Returns a newVkPhysicalDeviceSamplerYcbcrConversionFeatures.Bufferinstance allocated withmemCalloc.static VkPhysicalDeviceSamplerYcbcrConversionFeaturescallocStack()Returns a newVkPhysicalDeviceSamplerYcbcrConversionFeaturesinstance allocated on the thread-localMemoryStackand initializes all its bits to zero.static VkPhysicalDeviceSamplerYcbcrConversionFeatures.BuffercallocStack(int capacity)Returns a newVkPhysicalDeviceSamplerYcbcrConversionFeatures.Bufferinstance allocated on the thread-localMemoryStackand initializes all its bits to zero.static VkPhysicalDeviceSamplerYcbcrConversionFeatures.BuffercallocStack(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkPhysicalDeviceSamplerYcbcrConversionFeatures.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkPhysicalDeviceSamplerYcbcrConversionFeaturescallocStack(org.lwjgl.system.MemoryStack stack)Returns a newVkPhysicalDeviceSamplerYcbcrConversionFeaturesinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkPhysicalDeviceSamplerYcbcrConversionFeaturescreate()Returns a newVkPhysicalDeviceSamplerYcbcrConversionFeaturesinstance allocated withBufferUtils.static VkPhysicalDeviceSamplerYcbcrConversionFeatures.Buffercreate(int capacity)Returns a newVkPhysicalDeviceSamplerYcbcrConversionFeatures.Bufferinstance allocated withBufferUtils.static VkPhysicalDeviceSamplerYcbcrConversionFeaturescreate(long address)Returns a newVkPhysicalDeviceSamplerYcbcrConversionFeaturesinstance for the specified memory address.static VkPhysicalDeviceSamplerYcbcrConversionFeatures.Buffercreate(long address, int capacity)Create aVkPhysicalDeviceSamplerYcbcrConversionFeatures.Bufferinstance at the specified memory.static VkPhysicalDeviceSamplerYcbcrConversionFeaturescreateSafe(long address)static VkPhysicalDeviceSamplerYcbcrConversionFeatures.BuffercreateSafe(long address, int capacity)static VkPhysicalDeviceSamplerYcbcrConversionFeaturesmalloc()Returns a newVkPhysicalDeviceSamplerYcbcrConversionFeaturesinstance allocated withmemAlloc.static VkPhysicalDeviceSamplerYcbcrConversionFeatures.Buffermalloc(int capacity)Returns a newVkPhysicalDeviceSamplerYcbcrConversionFeatures.Bufferinstance allocated withmemAlloc.static VkPhysicalDeviceSamplerYcbcrConversionFeaturesmallocStack()Returns a newVkPhysicalDeviceSamplerYcbcrConversionFeaturesinstance allocated on the thread-localMemoryStack.static VkPhysicalDeviceSamplerYcbcrConversionFeatures.BuffermallocStack(int capacity)Returns a newVkPhysicalDeviceSamplerYcbcrConversionFeatures.Bufferinstance allocated on the thread-localMemoryStack.static VkPhysicalDeviceSamplerYcbcrConversionFeatures.BuffermallocStack(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkPhysicalDeviceSamplerYcbcrConversionFeatures.Bufferinstance allocated on the specifiedMemoryStack.static VkPhysicalDeviceSamplerYcbcrConversionFeaturesmallocStack(org.lwjgl.system.MemoryStack stack)Returns a newVkPhysicalDeviceSamplerYcbcrConversionFeaturesinstance allocated on the specifiedMemoryStack.static longnpNext(long struct)Unsafe version ofpNext().static voidnpNext(long struct, long value)Unsafe version ofpNext.static intnsamplerYcbcrConversion(long struct)Unsafe version ofsamplerYcbcrConversion().static voidnsamplerYcbcrConversion(long struct, int value)Unsafe version ofsamplerYcbcrConversion.static intnsType(long struct)Unsafe version ofsType().static voidnsType(long struct, int value)Unsafe version ofsType.longpNext()Returns the value of thepNextfield.VkPhysicalDeviceSamplerYcbcrConversionFeaturespNext(long value)Sets the specified value to thepNextfield.booleansamplerYcbcrConversion()Returns the value of thesamplerYcbcrConversionfield.VkPhysicalDeviceSamplerYcbcrConversionFeaturessamplerYcbcrConversion(boolean value)Sets the specified value to thesamplerYcbcrConversionfield.VkPhysicalDeviceSamplerYcbcrConversionFeaturesset(int sType, long pNext, boolean samplerYcbcrConversion)Initializes this struct with the specified values.VkPhysicalDeviceSamplerYcbcrConversionFeaturesset(VkPhysicalDeviceSamplerYcbcrConversionFeatures src)Copies the specified struct data to this struct.intsizeof()intsType()Returns the value of thesTypefield.VkPhysicalDeviceSamplerYcbcrConversionFeaturessType(int value)Sets the specified value to thesTypefield.
-
-
-
Constructor Detail
-
VkPhysicalDeviceSamplerYcbcrConversionFeatures
public VkPhysicalDeviceSamplerYcbcrConversionFeatures(java.nio.ByteBuffer container)
Creates aVkPhysicalDeviceSamplerYcbcrConversionFeaturesinstance 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()
Returns the value of thesTypefield.
-
pNext
public long pNext()
Returns the value of thepNextfield.
-
samplerYcbcrConversion
public boolean samplerYcbcrConversion()
Returns the value of thesamplerYcbcrConversionfield.
-
sType
public VkPhysicalDeviceSamplerYcbcrConversionFeatures sType(int value)
Sets the specified value to thesTypefield.
-
pNext
public VkPhysicalDeviceSamplerYcbcrConversionFeatures pNext(long value)
Sets the specified value to thepNextfield.
-
samplerYcbcrConversion
public VkPhysicalDeviceSamplerYcbcrConversionFeatures samplerYcbcrConversion(boolean value)
Sets the specified value to thesamplerYcbcrConversionfield.
-
set
public VkPhysicalDeviceSamplerYcbcrConversionFeatures set(int sType, long pNext, boolean samplerYcbcrConversion)
Initializes this struct with the specified values.
-
set
public VkPhysicalDeviceSamplerYcbcrConversionFeatures set(VkPhysicalDeviceSamplerYcbcrConversionFeatures src)
Copies the specified struct data to this struct.- Parameters:
src- the source struct- Returns:
- this struct
-
malloc
public static VkPhysicalDeviceSamplerYcbcrConversionFeatures malloc()
Returns a newVkPhysicalDeviceSamplerYcbcrConversionFeaturesinstance allocated withmemAlloc. The instance must be explicitly freed.
-
calloc
public static VkPhysicalDeviceSamplerYcbcrConversionFeatures calloc()
Returns a newVkPhysicalDeviceSamplerYcbcrConversionFeaturesinstance allocated withmemCalloc. The instance must be explicitly freed.
-
create
public static VkPhysicalDeviceSamplerYcbcrConversionFeatures create()
Returns a newVkPhysicalDeviceSamplerYcbcrConversionFeaturesinstance allocated withBufferUtils.
-
create
public static VkPhysicalDeviceSamplerYcbcrConversionFeatures create(long address)
Returns a newVkPhysicalDeviceSamplerYcbcrConversionFeaturesinstance for the specified memory address.
-
createSafe
@Nullable public static VkPhysicalDeviceSamplerYcbcrConversionFeatures createSafe(long address)
-
malloc
public static VkPhysicalDeviceSamplerYcbcrConversionFeatures.Buffer malloc(int capacity)
Returns a newVkPhysicalDeviceSamplerYcbcrConversionFeatures.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
public static VkPhysicalDeviceSamplerYcbcrConversionFeatures.Buffer calloc(int capacity)
Returns a newVkPhysicalDeviceSamplerYcbcrConversionFeatures.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
public static VkPhysicalDeviceSamplerYcbcrConversionFeatures.Buffer create(int capacity)
Returns a newVkPhysicalDeviceSamplerYcbcrConversionFeatures.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
public static VkPhysicalDeviceSamplerYcbcrConversionFeatures.Buffer create(long address, int capacity)
Create aVkPhysicalDeviceSamplerYcbcrConversionFeatures.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
@Nullable public static VkPhysicalDeviceSamplerYcbcrConversionFeatures.Buffer createSafe(long address, int capacity)
-
mallocStack
public static VkPhysicalDeviceSamplerYcbcrConversionFeatures mallocStack()
Returns a newVkPhysicalDeviceSamplerYcbcrConversionFeaturesinstance allocated on the thread-localMemoryStack.
-
callocStack
public static VkPhysicalDeviceSamplerYcbcrConversionFeatures callocStack()
Returns a newVkPhysicalDeviceSamplerYcbcrConversionFeaturesinstance allocated on the thread-localMemoryStackand initializes all its bits to zero.
-
mallocStack
public static VkPhysicalDeviceSamplerYcbcrConversionFeatures mallocStack(org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceSamplerYcbcrConversionFeaturesinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
callocStack
public static VkPhysicalDeviceSamplerYcbcrConversionFeatures callocStack(org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceSamplerYcbcrConversionFeaturesinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocate
-
mallocStack
public static VkPhysicalDeviceSamplerYcbcrConversionFeatures.Buffer mallocStack(int capacity)
Returns a newVkPhysicalDeviceSamplerYcbcrConversionFeatures.Bufferinstance allocated on the thread-localMemoryStack.- Parameters:
capacity- the buffer capacity
-
callocStack
public static VkPhysicalDeviceSamplerYcbcrConversionFeatures.Buffer callocStack(int capacity)
Returns a newVkPhysicalDeviceSamplerYcbcrConversionFeatures.Bufferinstance allocated on the thread-localMemoryStackand initializes all its bits to zero.- Parameters:
capacity- the buffer capacity
-
mallocStack
public static VkPhysicalDeviceSamplerYcbcrConversionFeatures.Buffer mallocStack(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceSamplerYcbcrConversionFeatures.Bufferinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
callocStack
public static VkPhysicalDeviceSamplerYcbcrConversionFeatures.Buffer callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceSamplerYcbcrConversionFeatures.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().
-
nsamplerYcbcrConversion
public static int nsamplerYcbcrConversion(long struct)
Unsafe version ofsamplerYcbcrConversion().
-
nsType
public static void nsType(long struct, int value)Unsafe version ofsType.
-
npNext
public static void npNext(long struct, long value)Unsafe version ofpNext.
-
nsamplerYcbcrConversion
public static void nsamplerYcbcrConversion(long struct, int value)Unsafe version ofsamplerYcbcrConversion.
-
-