Package org.lwjgl.vulkan
Class VkSamplerYcbcrConversionInfoKHR
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.Struct
-
- org.lwjgl.vulkan.VkSamplerYcbcrConversionInfo
-
- org.lwjgl.vulkan.VkSamplerYcbcrConversionInfoKHR
-
- All Implemented Interfaces:
java.lang.AutoCloseable,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
public class VkSamplerYcbcrConversionInfoKHR extends VkSamplerYcbcrConversionInfo
SeeVkSamplerYcbcrConversionInfo.Layout
struct VkSamplerYcbcrConversionInfoKHR { VkStructureType sType; void const * pNext; VkSamplerYcbcrConversion conversion; }
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classVkSamplerYcbcrConversionInfoKHR.BufferAn array ofVkSamplerYcbcrConversionInfoKHRstructs.
-
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.VkSamplerYcbcrConversionInfo
ALIGNOF, CONVERSION, PNEXT, SIZEOF, STYPE
-
-
Constructor Summary
Constructors Constructor Description VkSamplerYcbcrConversionInfoKHR(java.nio.ByteBuffer container)Creates aVkSamplerYcbcrConversionInfoKHRinstance at the current position of the specifiedByteBuffercontainer.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static VkSamplerYcbcrConversionInfoKHRcalloc()Returns a newVkSamplerYcbcrConversionInfoKHRinstance allocated withmemCalloc.static VkSamplerYcbcrConversionInfoKHR.Buffercalloc(int capacity)Returns a newVkSamplerYcbcrConversionInfoKHR.Bufferinstance allocated withmemCalloc.static VkSamplerYcbcrConversionInfoKHRcallocStack()Returns a newVkSamplerYcbcrConversionInfoKHRinstance allocated on the thread-localMemoryStackand initializes all its bits to zero.static VkSamplerYcbcrConversionInfoKHR.BuffercallocStack(int capacity)Returns a newVkSamplerYcbcrConversionInfoKHR.Bufferinstance allocated on the thread-localMemoryStackand initializes all its bits to zero.static VkSamplerYcbcrConversionInfoKHR.BuffercallocStack(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkSamplerYcbcrConversionInfoKHR.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkSamplerYcbcrConversionInfoKHRcallocStack(org.lwjgl.system.MemoryStack stack)Returns a newVkSamplerYcbcrConversionInfoKHRinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.VkSamplerYcbcrConversionInfoKHRconversion(long value)Sets the specified value to theconversionfield.static VkSamplerYcbcrConversionInfoKHRcreate()Returns a newVkSamplerYcbcrConversionInfoKHRinstance allocated withBufferUtils.static VkSamplerYcbcrConversionInfoKHR.Buffercreate(int capacity)Returns a newVkSamplerYcbcrConversionInfoKHR.Bufferinstance allocated withBufferUtils.static VkSamplerYcbcrConversionInfoKHRcreate(long address)Returns a newVkSamplerYcbcrConversionInfoKHRinstance for the specified memory address.static VkSamplerYcbcrConversionInfoKHR.Buffercreate(long address, int capacity)Create aVkSamplerYcbcrConversionInfoKHR.Bufferinstance at the specified memory.static VkSamplerYcbcrConversionInfoKHRcreateSafe(long address)static VkSamplerYcbcrConversionInfoKHR.BuffercreateSafe(long address, int capacity)static VkSamplerYcbcrConversionInfoKHRmalloc()Returns a newVkSamplerYcbcrConversionInfoKHRinstance allocated withmemAlloc.static VkSamplerYcbcrConversionInfoKHR.Buffermalloc(int capacity)Returns a newVkSamplerYcbcrConversionInfoKHR.Bufferinstance allocated withmemAlloc.static VkSamplerYcbcrConversionInfoKHRmallocStack()Returns a newVkSamplerYcbcrConversionInfoKHRinstance allocated on the thread-localMemoryStack.static VkSamplerYcbcrConversionInfoKHR.BuffermallocStack(int capacity)Returns a newVkSamplerYcbcrConversionInfoKHR.Bufferinstance allocated on the thread-localMemoryStack.static VkSamplerYcbcrConversionInfoKHR.BuffermallocStack(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkSamplerYcbcrConversionInfoKHR.Bufferinstance allocated on the specifiedMemoryStack.static VkSamplerYcbcrConversionInfoKHRmallocStack(org.lwjgl.system.MemoryStack stack)Returns a newVkSamplerYcbcrConversionInfoKHRinstance allocated on the specifiedMemoryStack.VkSamplerYcbcrConversionInfoKHRpNext(long value)Sets the specified value to thepNextfield.VkSamplerYcbcrConversionInfoKHRset(int sType, long pNext, long conversion)Initializes this struct with the specified values.VkSamplerYcbcrConversionInfoKHRset(VkSamplerYcbcrConversionInfoKHR src)Copies the specified struct data to this struct.VkSamplerYcbcrConversionInfoKHRsType(int value)Sets the specified value to thesTypefield.-
Methods inherited from class org.lwjgl.vulkan.VkSamplerYcbcrConversionInfo
conversion, nconversion, nconversion, npNext, npNext, nsType, nsType, pNext, set, sizeof, sType
-
-
-
-
Constructor Detail
-
VkSamplerYcbcrConversionInfoKHR
public VkSamplerYcbcrConversionInfoKHR(java.nio.ByteBuffer container)
Creates aVkSamplerYcbcrConversionInfoKHRinstance 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 VkSamplerYcbcrConversionInfoKHR sType(int value)
Sets the specified value to thesTypefield.- Overrides:
sTypein classVkSamplerYcbcrConversionInfo
-
pNext
public VkSamplerYcbcrConversionInfoKHR pNext(long value)
Sets the specified value to thepNextfield.- Overrides:
pNextin classVkSamplerYcbcrConversionInfo
-
conversion
public VkSamplerYcbcrConversionInfoKHR conversion(long value)
Sets the specified value to theconversionfield.- Overrides:
conversionin classVkSamplerYcbcrConversionInfo
-
set
public VkSamplerYcbcrConversionInfoKHR set(int sType, long pNext, long conversion)
Initializes this struct with the specified values.- Overrides:
setin classVkSamplerYcbcrConversionInfo
-
set
public VkSamplerYcbcrConversionInfoKHR set(VkSamplerYcbcrConversionInfoKHR src)
Copies the specified struct data to this struct.- Parameters:
src- the source struct- Returns:
- this struct
-
malloc
public static VkSamplerYcbcrConversionInfoKHR malloc()
Returns a newVkSamplerYcbcrConversionInfoKHRinstance allocated withmemAlloc. The instance must be explicitly freed.
-
calloc
public static VkSamplerYcbcrConversionInfoKHR calloc()
Returns a newVkSamplerYcbcrConversionInfoKHRinstance allocated withmemCalloc. The instance must be explicitly freed.
-
create
public static VkSamplerYcbcrConversionInfoKHR create()
Returns a newVkSamplerYcbcrConversionInfoKHRinstance allocated withBufferUtils.
-
create
public static VkSamplerYcbcrConversionInfoKHR create(long address)
Returns a newVkSamplerYcbcrConversionInfoKHRinstance for the specified memory address.
-
createSafe
@Nullable public static VkSamplerYcbcrConversionInfoKHR createSafe(long address)
-
malloc
public static VkSamplerYcbcrConversionInfoKHR.Buffer malloc(int capacity)
Returns a newVkSamplerYcbcrConversionInfoKHR.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
public static VkSamplerYcbcrConversionInfoKHR.Buffer calloc(int capacity)
Returns a newVkSamplerYcbcrConversionInfoKHR.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
public static VkSamplerYcbcrConversionInfoKHR.Buffer create(int capacity)
Returns a newVkSamplerYcbcrConversionInfoKHR.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
public static VkSamplerYcbcrConversionInfoKHR.Buffer create(long address, int capacity)
Create aVkSamplerYcbcrConversionInfoKHR.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
@Nullable public static VkSamplerYcbcrConversionInfoKHR.Buffer createSafe(long address, int capacity)
-
mallocStack
public static VkSamplerYcbcrConversionInfoKHR mallocStack()
Returns a newVkSamplerYcbcrConversionInfoKHRinstance allocated on the thread-localMemoryStack.
-
callocStack
public static VkSamplerYcbcrConversionInfoKHR callocStack()
Returns a newVkSamplerYcbcrConversionInfoKHRinstance allocated on the thread-localMemoryStackand initializes all its bits to zero.
-
mallocStack
public static VkSamplerYcbcrConversionInfoKHR mallocStack(org.lwjgl.system.MemoryStack stack)
Returns a newVkSamplerYcbcrConversionInfoKHRinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
callocStack
public static VkSamplerYcbcrConversionInfoKHR callocStack(org.lwjgl.system.MemoryStack stack)
Returns a newVkSamplerYcbcrConversionInfoKHRinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocate
-
mallocStack
public static VkSamplerYcbcrConversionInfoKHR.Buffer mallocStack(int capacity)
Returns a newVkSamplerYcbcrConversionInfoKHR.Bufferinstance allocated on the thread-localMemoryStack.- Parameters:
capacity- the buffer capacity
-
callocStack
public static VkSamplerYcbcrConversionInfoKHR.Buffer callocStack(int capacity)
Returns a newVkSamplerYcbcrConversionInfoKHR.Bufferinstance allocated on the thread-localMemoryStackand initializes all its bits to zero.- Parameters:
capacity- the buffer capacity
-
mallocStack
public static VkSamplerYcbcrConversionInfoKHR.Buffer mallocStack(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkSamplerYcbcrConversionInfoKHR.Bufferinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
callocStack
public static VkSamplerYcbcrConversionInfoKHR.Buffer callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkSamplerYcbcrConversionInfoKHR.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
-