Package org.lwjgl.vulkan
Class VkPhysicalDeviceSamplerYcbcrConversionFeaturesKHR
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.Struct
-
- org.lwjgl.vulkan.VkPhysicalDeviceSamplerYcbcrConversionFeatures
-
- org.lwjgl.vulkan.VkPhysicalDeviceSamplerYcbcrConversionFeaturesKHR
-
- All Implemented Interfaces:
java.lang.AutoCloseable,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
public class VkPhysicalDeviceSamplerYcbcrConversionFeaturesKHR extends VkPhysicalDeviceSamplerYcbcrConversionFeatures
SeeVkPhysicalDeviceSamplerYcbcrConversionFeatures.Layout
struct VkPhysicalDeviceSamplerYcbcrConversionFeaturesKHR { VkStructureType sType; void * pNext; VkBool32 samplerYcbcrConversion; }
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classVkPhysicalDeviceSamplerYcbcrConversionFeaturesKHR.BufferAn array ofVkPhysicalDeviceSamplerYcbcrConversionFeaturesKHRstructs.
-
Field Summary
-
Fields inherited from interface org.lwjgl.system.Pointer
BITS32, BITS64, CLONG_SHIFT, CLONG_SIZE, POINTER_SHIFT, POINTER_SIZE
-
Fields inherited from class org.lwjgl.vulkan.VkPhysicalDeviceSamplerYcbcrConversionFeatures
ALIGNOF, PNEXT, SAMPLERYCBCRCONVERSION, SIZEOF, STYPE
-
-
Constructor Summary
Constructors Constructor Description VkPhysicalDeviceSamplerYcbcrConversionFeaturesKHR(java.nio.ByteBuffer container)Creates aVkPhysicalDeviceSamplerYcbcrConversionFeaturesKHRinstance at the current position of the specifiedByteBuffercontainer.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static VkPhysicalDeviceSamplerYcbcrConversionFeaturesKHRcalloc()Returns a newVkPhysicalDeviceSamplerYcbcrConversionFeaturesKHRinstance allocated withmemCalloc.static VkPhysicalDeviceSamplerYcbcrConversionFeaturesKHR.Buffercalloc(int capacity)Returns a newVkPhysicalDeviceSamplerYcbcrConversionFeaturesKHR.Bufferinstance allocated withmemCalloc.static VkPhysicalDeviceSamplerYcbcrConversionFeaturesKHRcallocStack()Returns a newVkPhysicalDeviceSamplerYcbcrConversionFeaturesKHRinstance allocated on the thread-localMemoryStackand initializes all its bits to zero.static VkPhysicalDeviceSamplerYcbcrConversionFeaturesKHR.BuffercallocStack(int capacity)Returns a newVkPhysicalDeviceSamplerYcbcrConversionFeaturesKHR.Bufferinstance allocated on the thread-localMemoryStackand initializes all its bits to zero.static VkPhysicalDeviceSamplerYcbcrConversionFeaturesKHR.BuffercallocStack(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkPhysicalDeviceSamplerYcbcrConversionFeaturesKHR.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkPhysicalDeviceSamplerYcbcrConversionFeaturesKHRcallocStack(org.lwjgl.system.MemoryStack stack)Returns a newVkPhysicalDeviceSamplerYcbcrConversionFeaturesKHRinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkPhysicalDeviceSamplerYcbcrConversionFeaturesKHRcreate()Returns a newVkPhysicalDeviceSamplerYcbcrConversionFeaturesKHRinstance allocated withBufferUtils.static VkPhysicalDeviceSamplerYcbcrConversionFeaturesKHR.Buffercreate(int capacity)Returns a newVkPhysicalDeviceSamplerYcbcrConversionFeaturesKHR.Bufferinstance allocated withBufferUtils.static VkPhysicalDeviceSamplerYcbcrConversionFeaturesKHRcreate(long address)Returns a newVkPhysicalDeviceSamplerYcbcrConversionFeaturesKHRinstance for the specified memory address.static VkPhysicalDeviceSamplerYcbcrConversionFeaturesKHR.Buffercreate(long address, int capacity)Create aVkPhysicalDeviceSamplerYcbcrConversionFeaturesKHR.Bufferinstance at the specified memory.static VkPhysicalDeviceSamplerYcbcrConversionFeaturesKHRcreateSafe(long address)static VkPhysicalDeviceSamplerYcbcrConversionFeaturesKHR.BuffercreateSafe(long address, int capacity)static VkPhysicalDeviceSamplerYcbcrConversionFeaturesKHRmalloc()Returns a newVkPhysicalDeviceSamplerYcbcrConversionFeaturesKHRinstance allocated withmemAlloc.static VkPhysicalDeviceSamplerYcbcrConversionFeaturesKHR.Buffermalloc(int capacity)Returns a newVkPhysicalDeviceSamplerYcbcrConversionFeaturesKHR.Bufferinstance allocated withmemAlloc.static VkPhysicalDeviceSamplerYcbcrConversionFeaturesKHRmallocStack()Returns a newVkPhysicalDeviceSamplerYcbcrConversionFeaturesKHRinstance allocated on the thread-localMemoryStack.static VkPhysicalDeviceSamplerYcbcrConversionFeaturesKHR.BuffermallocStack(int capacity)Returns a newVkPhysicalDeviceSamplerYcbcrConversionFeaturesKHR.Bufferinstance allocated on the thread-localMemoryStack.static VkPhysicalDeviceSamplerYcbcrConversionFeaturesKHR.BuffermallocStack(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkPhysicalDeviceSamplerYcbcrConversionFeaturesKHR.Bufferinstance allocated on the specifiedMemoryStack.static VkPhysicalDeviceSamplerYcbcrConversionFeaturesKHRmallocStack(org.lwjgl.system.MemoryStack stack)Returns a newVkPhysicalDeviceSamplerYcbcrConversionFeaturesKHRinstance allocated on the specifiedMemoryStack.VkPhysicalDeviceSamplerYcbcrConversionFeaturesKHRpNext(long value)Sets the specified value to thepNextfield.VkPhysicalDeviceSamplerYcbcrConversionFeaturesKHRsamplerYcbcrConversion(boolean value)Sets the specified value to thesamplerYcbcrConversionfield.VkPhysicalDeviceSamplerYcbcrConversionFeaturesKHRset(int sType, long pNext, boolean samplerYcbcrConversion)Initializes this struct with the specified values.VkPhysicalDeviceSamplerYcbcrConversionFeaturesKHRset(VkPhysicalDeviceSamplerYcbcrConversionFeaturesKHR src)Copies the specified struct data to this struct.VkPhysicalDeviceSamplerYcbcrConversionFeaturesKHRsType(int value)Sets the specified value to thesTypefield.-
Methods inherited from class org.lwjgl.vulkan.VkPhysicalDeviceSamplerYcbcrConversionFeatures
npNext, npNext, nsamplerYcbcrConversion, nsamplerYcbcrConversion, nsType, nsType, pNext, samplerYcbcrConversion, set, sizeof, sType
-
-
-
-
Constructor Detail
-
VkPhysicalDeviceSamplerYcbcrConversionFeaturesKHR
public VkPhysicalDeviceSamplerYcbcrConversionFeaturesKHR(java.nio.ByteBuffer container)
Creates aVkPhysicalDeviceSamplerYcbcrConversionFeaturesKHRinstance 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
-
sType
public VkPhysicalDeviceSamplerYcbcrConversionFeaturesKHR sType(int value)
Sets the specified value to thesTypefield.- Overrides:
sTypein classVkPhysicalDeviceSamplerYcbcrConversionFeatures
-
pNext
public VkPhysicalDeviceSamplerYcbcrConversionFeaturesKHR pNext(long value)
Sets the specified value to thepNextfield.- Overrides:
pNextin classVkPhysicalDeviceSamplerYcbcrConversionFeatures
-
samplerYcbcrConversion
public VkPhysicalDeviceSamplerYcbcrConversionFeaturesKHR samplerYcbcrConversion(boolean value)
Sets the specified value to thesamplerYcbcrConversionfield.- Overrides:
samplerYcbcrConversionin classVkPhysicalDeviceSamplerYcbcrConversionFeatures
-
set
public VkPhysicalDeviceSamplerYcbcrConversionFeaturesKHR set(int sType, long pNext, boolean samplerYcbcrConversion)
Initializes this struct with the specified values.- Overrides:
setin classVkPhysicalDeviceSamplerYcbcrConversionFeatures
-
set
public VkPhysicalDeviceSamplerYcbcrConversionFeaturesKHR set(VkPhysicalDeviceSamplerYcbcrConversionFeaturesKHR src)
Copies the specified struct data to this struct.- Parameters:
src- the source struct- Returns:
- this struct
-
malloc
public static VkPhysicalDeviceSamplerYcbcrConversionFeaturesKHR malloc()
Returns a newVkPhysicalDeviceSamplerYcbcrConversionFeaturesKHRinstance allocated withmemAlloc. The instance must be explicitly freed.
-
calloc
public static VkPhysicalDeviceSamplerYcbcrConversionFeaturesKHR calloc()
Returns a newVkPhysicalDeviceSamplerYcbcrConversionFeaturesKHRinstance allocated withmemCalloc. The instance must be explicitly freed.
-
create
public static VkPhysicalDeviceSamplerYcbcrConversionFeaturesKHR create()
Returns a newVkPhysicalDeviceSamplerYcbcrConversionFeaturesKHRinstance allocated withBufferUtils.
-
create
public static VkPhysicalDeviceSamplerYcbcrConversionFeaturesKHR create(long address)
Returns a newVkPhysicalDeviceSamplerYcbcrConversionFeaturesKHRinstance for the specified memory address.
-
createSafe
@Nullable public static VkPhysicalDeviceSamplerYcbcrConversionFeaturesKHR createSafe(long address)
-
malloc
public static VkPhysicalDeviceSamplerYcbcrConversionFeaturesKHR.Buffer malloc(int capacity)
Returns a newVkPhysicalDeviceSamplerYcbcrConversionFeaturesKHR.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
public static VkPhysicalDeviceSamplerYcbcrConversionFeaturesKHR.Buffer calloc(int capacity)
Returns a newVkPhysicalDeviceSamplerYcbcrConversionFeaturesKHR.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
public static VkPhysicalDeviceSamplerYcbcrConversionFeaturesKHR.Buffer create(int capacity)
Returns a newVkPhysicalDeviceSamplerYcbcrConversionFeaturesKHR.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
public static VkPhysicalDeviceSamplerYcbcrConversionFeaturesKHR.Buffer create(long address, int capacity)
Create aVkPhysicalDeviceSamplerYcbcrConversionFeaturesKHR.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
@Nullable public static VkPhysicalDeviceSamplerYcbcrConversionFeaturesKHR.Buffer createSafe(long address, int capacity)
-
mallocStack
public static VkPhysicalDeviceSamplerYcbcrConversionFeaturesKHR mallocStack()
Returns a newVkPhysicalDeviceSamplerYcbcrConversionFeaturesKHRinstance allocated on the thread-localMemoryStack.
-
callocStack
public static VkPhysicalDeviceSamplerYcbcrConversionFeaturesKHR callocStack()
Returns a newVkPhysicalDeviceSamplerYcbcrConversionFeaturesKHRinstance allocated on the thread-localMemoryStackand initializes all its bits to zero.
-
mallocStack
public static VkPhysicalDeviceSamplerYcbcrConversionFeaturesKHR mallocStack(org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceSamplerYcbcrConversionFeaturesKHRinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
callocStack
public static VkPhysicalDeviceSamplerYcbcrConversionFeaturesKHR callocStack(org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceSamplerYcbcrConversionFeaturesKHRinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocate
-
mallocStack
public static VkPhysicalDeviceSamplerYcbcrConversionFeaturesKHR.Buffer mallocStack(int capacity)
Returns a newVkPhysicalDeviceSamplerYcbcrConversionFeaturesKHR.Bufferinstance allocated on the thread-localMemoryStack.- Parameters:
capacity- the buffer capacity
-
callocStack
public static VkPhysicalDeviceSamplerYcbcrConversionFeaturesKHR.Buffer callocStack(int capacity)
Returns a newVkPhysicalDeviceSamplerYcbcrConversionFeaturesKHR.Bufferinstance allocated on the thread-localMemoryStackand initializes all its bits to zero.- Parameters:
capacity- the buffer capacity
-
mallocStack
public static VkPhysicalDeviceSamplerYcbcrConversionFeaturesKHR.Buffer mallocStack(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceSamplerYcbcrConversionFeaturesKHR.Bufferinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
callocStack
public static VkPhysicalDeviceSamplerYcbcrConversionFeaturesKHR.Buffer callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceSamplerYcbcrConversionFeaturesKHR.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
-