public class VkSamplerYcbcrConversionImageFormatProperties
extends org.lwjgl.system.Struct
implements org.lwjgl.system.NativeResource
sType – the type of this structure.pNext – NULL or a pointer to an extension-specific structure.combinedImageSamplerDescriptorCount – the number of combined image sampler descriptors that the implementation uses to access the format.
struct VkSamplerYcbcrConversionImageFormatProperties {
VkStructureType sType;
void * pNext;
uint32_t combinedImageSamplerDescriptorCount;
}| Modifier and Type | Class and Description |
|---|---|
static class |
VkSamplerYcbcrConversionImageFormatProperties.Buffer
An array of
VkSamplerYcbcrConversionImageFormatProperties structs. |
| Modifier and Type | Field and Description |
|---|---|
static int |
ALIGNOF
The struct alignment in bytes.
|
static int |
COMBINEDIMAGESAMPLERDESCRIPTORCOUNT
The struct member offsets.
|
static int |
PNEXT
The struct member offsets.
|
static int |
SIZEOF
The struct size in bytes.
|
static int |
STYPE
The struct member offsets.
|
| Constructor and Description |
|---|
VkSamplerYcbcrConversionImageFormatProperties(java.nio.ByteBuffer container)
Creates a
VkSamplerYcbcrConversionImageFormatProperties instance at the current position of the specified ByteBuffer container. |
| Modifier and Type | Method and Description |
|---|---|
static VkSamplerYcbcrConversionImageFormatProperties |
calloc()
Returns a new
VkSamplerYcbcrConversionImageFormatProperties instance allocated with memCalloc. |
static VkSamplerYcbcrConversionImageFormatProperties.Buffer |
calloc(int capacity)
Returns a new
VkSamplerYcbcrConversionImageFormatProperties.Buffer instance allocated with memCalloc. |
static VkSamplerYcbcrConversionImageFormatProperties |
callocStack()
Returns a new
VkSamplerYcbcrConversionImageFormatProperties instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static VkSamplerYcbcrConversionImageFormatProperties.Buffer |
callocStack(int capacity)
Returns a new
VkSamplerYcbcrConversionImageFormatProperties.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static VkSamplerYcbcrConversionImageFormatProperties.Buffer |
callocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
VkSamplerYcbcrConversionImageFormatProperties.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero. |
static VkSamplerYcbcrConversionImageFormatProperties |
callocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
VkSamplerYcbcrConversionImageFormatProperties instance allocated on the specified MemoryStack and initializes all its bits to zero. |
int |
combinedImageSamplerDescriptorCount()
Returns the value of the
combinedImageSamplerDescriptorCount field. |
static VkSamplerYcbcrConversionImageFormatProperties |
create()
Returns a new
VkSamplerYcbcrConversionImageFormatProperties instance allocated with BufferUtils. |
static VkSamplerYcbcrConversionImageFormatProperties.Buffer |
create(int capacity)
Returns a new
VkSamplerYcbcrConversionImageFormatProperties.Buffer instance allocated with BufferUtils. |
static VkSamplerYcbcrConversionImageFormatProperties |
create(long address)
Returns a new
VkSamplerYcbcrConversionImageFormatProperties instance for the specified memory address. |
static VkSamplerYcbcrConversionImageFormatProperties.Buffer |
create(long address,
int capacity)
Create a
VkSamplerYcbcrConversionImageFormatProperties.Buffer instance at the specified memory. |
static VkSamplerYcbcrConversionImageFormatProperties |
createSafe(long address)
|
static VkSamplerYcbcrConversionImageFormatProperties.Buffer |
createSafe(long address,
int capacity)
|
static VkSamplerYcbcrConversionImageFormatProperties |
malloc()
Returns a new
VkSamplerYcbcrConversionImageFormatProperties instance allocated with memAlloc. |
static VkSamplerYcbcrConversionImageFormatProperties.Buffer |
malloc(int capacity)
Returns a new
VkSamplerYcbcrConversionImageFormatProperties.Buffer instance allocated with memAlloc. |
static VkSamplerYcbcrConversionImageFormatProperties |
mallocStack()
Returns a new
VkSamplerYcbcrConversionImageFormatProperties instance allocated on the thread-local MemoryStack. |
static VkSamplerYcbcrConversionImageFormatProperties.Buffer |
mallocStack(int capacity)
Returns a new
VkSamplerYcbcrConversionImageFormatProperties.Buffer instance allocated on the thread-local MemoryStack. |
static VkSamplerYcbcrConversionImageFormatProperties.Buffer |
mallocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
VkSamplerYcbcrConversionImageFormatProperties.Buffer instance allocated on the specified MemoryStack. |
static VkSamplerYcbcrConversionImageFormatProperties |
mallocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
VkSamplerYcbcrConversionImageFormatProperties instance allocated on the specified MemoryStack. |
static int |
ncombinedImageSamplerDescriptorCount(long struct)
Unsafe version of
combinedImageSamplerDescriptorCount(). |
static long |
npNext(long struct)
Unsafe version of
pNext(). |
static void |
npNext(long struct,
long value)
Unsafe version of
pNext. |
static int |
nsType(long struct)
Unsafe version of
sType(). |
static void |
nsType(long struct,
int value)
Unsafe version of
sType. |
long |
pNext()
Returns the value of the
pNext field. |
VkSamplerYcbcrConversionImageFormatProperties |
pNext(long value)
Sets the specified value to the
pNext field. |
VkSamplerYcbcrConversionImageFormatProperties |
set(int sType,
long pNext)
Initializes this struct with the specified values.
|
VkSamplerYcbcrConversionImageFormatProperties |
set(VkSamplerYcbcrConversionImageFormatProperties src)
Copies the specified struct data to this struct.
|
int |
sizeof() |
int |
sType()
Returns the value of the
sType field. |
VkSamplerYcbcrConversionImageFormatProperties |
sType(int value)
Sets the specified value to the
sType field. |
public static final int SIZEOF
public static final int ALIGNOF
public static final int STYPE
public static final int PNEXT
public static final int COMBINEDIMAGESAMPLERDESCRIPTORCOUNT
public VkSamplerYcbcrConversionImageFormatProperties(java.nio.ByteBuffer container)
VkSamplerYcbcrConversionImageFormatProperties instance at the current position of the specified ByteBuffer container. 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.
public int sizeof()
sizeof in class org.lwjgl.system.Structpublic int sType()
sType field.public long pNext()
pNext field.public int combinedImageSamplerDescriptorCount()
combinedImageSamplerDescriptorCount field.public VkSamplerYcbcrConversionImageFormatProperties sType(int value)
sType field.public VkSamplerYcbcrConversionImageFormatProperties pNext(long value)
pNext field.public VkSamplerYcbcrConversionImageFormatProperties set(int sType, long pNext)
public VkSamplerYcbcrConversionImageFormatProperties set(VkSamplerYcbcrConversionImageFormatProperties src)
src - the source structpublic static VkSamplerYcbcrConversionImageFormatProperties malloc()
VkSamplerYcbcrConversionImageFormatProperties instance allocated with memAlloc. The instance must be explicitly freed.public static VkSamplerYcbcrConversionImageFormatProperties calloc()
VkSamplerYcbcrConversionImageFormatProperties instance allocated with memCalloc. The instance must be explicitly freed.public static VkSamplerYcbcrConversionImageFormatProperties create()
VkSamplerYcbcrConversionImageFormatProperties instance allocated with BufferUtils.public static VkSamplerYcbcrConversionImageFormatProperties create(long address)
VkSamplerYcbcrConversionImageFormatProperties instance for the specified memory address.@Nullable public static VkSamplerYcbcrConversionImageFormatProperties createSafe(long address)
public static VkSamplerYcbcrConversionImageFormatProperties.Buffer malloc(int capacity)
VkSamplerYcbcrConversionImageFormatProperties.Buffer instance allocated with memAlloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static VkSamplerYcbcrConversionImageFormatProperties.Buffer calloc(int capacity)
VkSamplerYcbcrConversionImageFormatProperties.Buffer instance allocated with memCalloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static VkSamplerYcbcrConversionImageFormatProperties.Buffer create(int capacity)
VkSamplerYcbcrConversionImageFormatProperties.Buffer instance allocated with BufferUtils.capacity - the buffer capacitypublic static VkSamplerYcbcrConversionImageFormatProperties.Buffer create(long address, int capacity)
VkSamplerYcbcrConversionImageFormatProperties.Buffer instance at the specified memory.address - the memory addresscapacity - the buffer capacity@Nullable public static VkSamplerYcbcrConversionImageFormatProperties.Buffer createSafe(long address, int capacity)
public static VkSamplerYcbcrConversionImageFormatProperties mallocStack()
VkSamplerYcbcrConversionImageFormatProperties instance allocated on the thread-local MemoryStack.public static VkSamplerYcbcrConversionImageFormatProperties callocStack()
VkSamplerYcbcrConversionImageFormatProperties instance allocated on the thread-local MemoryStack and initializes all its bits to zero.public static VkSamplerYcbcrConversionImageFormatProperties mallocStack(org.lwjgl.system.MemoryStack stack)
VkSamplerYcbcrConversionImageFormatProperties instance allocated on the specified MemoryStack.stack - the stack from which to allocatepublic static VkSamplerYcbcrConversionImageFormatProperties callocStack(org.lwjgl.system.MemoryStack stack)
VkSamplerYcbcrConversionImageFormatProperties instance allocated on the specified MemoryStack and initializes all its bits to zero.stack - the stack from which to allocatepublic static VkSamplerYcbcrConversionImageFormatProperties.Buffer mallocStack(int capacity)
VkSamplerYcbcrConversionImageFormatProperties.Buffer instance allocated on the thread-local MemoryStack.capacity - the buffer capacitypublic static VkSamplerYcbcrConversionImageFormatProperties.Buffer callocStack(int capacity)
VkSamplerYcbcrConversionImageFormatProperties.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero.capacity - the buffer capacitypublic static VkSamplerYcbcrConversionImageFormatProperties.Buffer mallocStack(int capacity, org.lwjgl.system.MemoryStack stack)
VkSamplerYcbcrConversionImageFormatProperties.Buffer instance allocated on the specified MemoryStack.stack - the stack from which to allocatecapacity - the buffer capacitypublic static VkSamplerYcbcrConversionImageFormatProperties.Buffer callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
VkSamplerYcbcrConversionImageFormatProperties.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero.stack - the stack from which to allocatecapacity - the buffer capacitypublic static int nsType(long struct)
sType().public static long npNext(long struct)
pNext().public static int ncombinedImageSamplerDescriptorCount(long struct)
combinedImageSamplerDescriptorCount().public static void nsType(long struct,
int value)
sType.public static void npNext(long struct,
long value)
pNext.Copyright LWJGL. All Rights Reserved. License terms.