public class VkImageViewHandleInfoNVX
extends org.lwjgl.system.Struct
implements org.lwjgl.system.NativeResource
descriptorType must be DESCRIPTOR_TYPE_SAMPLED_IMAGE, DESCRIPTOR_TYPE_STORAGE_IMAGE, or DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLERsampler must be a valid VkSampler if descriptorType is DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLERDESCRIPTOR_TYPE_SAMPLED_IMAGE or DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER, the image that imageView was created from must have been created with the IMAGE_USAGE_SAMPLED_BIT usage bit setDESCRIPTOR_TYPE_STORAGE_IMAGE, the image that imageView was created from must have been created with the IMAGE_USAGE_STORAGE_BIT usage bit setsType must be STRUCTURE_TYPE_IMAGE_VIEW_HANDLE_INFO_NVXpNext must be NULLimageView must be a valid VkImageView handledescriptorType must be a valid VkDescriptorType valuesampler is not NULL_HANDLE, sampler must be a valid VkSampler handleimageView, and sampler that are valid handles of non-ignored parameters must have been created, allocated, or retrieved from the same VkDevicesType – the type of this structure.pNext – NULL or a pointer to an extension-specific structure.imageView – the image view to query.descriptorType – the type of descriptor for which to query a handle.sampler – the sampler to combine with the image view when generating the handle.
struct VkImageViewHandleInfoNVX {
VkStructureType sType;
void const * pNext;
VkImageView imageView;
VkDescriptorType descriptorType;
VkSampler sampler;
}| Modifier and Type | Class and Description |
|---|---|
static class |
VkImageViewHandleInfoNVX.Buffer
An array of
VkImageViewHandleInfoNVX structs. |
| Modifier and Type | Field and Description |
|---|---|
static int |
ALIGNOF
The struct alignment in bytes.
|
static int |
DESCRIPTORTYPE
The struct member offsets.
|
static int |
IMAGEVIEW
The struct member offsets.
|
static int |
PNEXT
The struct member offsets.
|
static int |
SAMPLER
The struct member offsets.
|
static int |
SIZEOF
The struct size in bytes.
|
static int |
STYPE
The struct member offsets.
|
| Constructor and Description |
|---|
VkImageViewHandleInfoNVX(java.nio.ByteBuffer container)
Creates a
VkImageViewHandleInfoNVX instance at the current position of the specified ByteBuffer container. |
| Modifier and Type | Method and Description |
|---|---|
static VkImageViewHandleInfoNVX |
calloc()
Returns a new
VkImageViewHandleInfoNVX instance allocated with memCalloc. |
static VkImageViewHandleInfoNVX.Buffer |
calloc(int capacity)
Returns a new
VkImageViewHandleInfoNVX.Buffer instance allocated with memCalloc. |
static VkImageViewHandleInfoNVX |
callocStack()
Returns a new
VkImageViewHandleInfoNVX instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static VkImageViewHandleInfoNVX.Buffer |
callocStack(int capacity)
Returns a new
VkImageViewHandleInfoNVX.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static VkImageViewHandleInfoNVX.Buffer |
callocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
VkImageViewHandleInfoNVX.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero. |
static VkImageViewHandleInfoNVX |
callocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
VkImageViewHandleInfoNVX instance allocated on the specified MemoryStack and initializes all its bits to zero. |
static VkImageViewHandleInfoNVX |
create()
Returns a new
VkImageViewHandleInfoNVX instance allocated with BufferUtils. |
static VkImageViewHandleInfoNVX.Buffer |
create(int capacity)
Returns a new
VkImageViewHandleInfoNVX.Buffer instance allocated with BufferUtils. |
static VkImageViewHandleInfoNVX |
create(long address)
Returns a new
VkImageViewHandleInfoNVX instance for the specified memory address. |
static VkImageViewHandleInfoNVX.Buffer |
create(long address,
int capacity)
Create a
VkImageViewHandleInfoNVX.Buffer instance at the specified memory. |
static VkImageViewHandleInfoNVX |
createSafe(long address)
|
static VkImageViewHandleInfoNVX.Buffer |
createSafe(long address,
int capacity)
|
int |
descriptorType()
Returns the value of the
descriptorType field. |
VkImageViewHandleInfoNVX |
descriptorType(int value)
Sets the specified value to the
descriptorType field. |
long |
imageView()
Returns the value of the
imageView field. |
VkImageViewHandleInfoNVX |
imageView(long value)
Sets the specified value to the
imageView field. |
static VkImageViewHandleInfoNVX |
malloc()
Returns a new
VkImageViewHandleInfoNVX instance allocated with memAlloc. |
static VkImageViewHandleInfoNVX.Buffer |
malloc(int capacity)
Returns a new
VkImageViewHandleInfoNVX.Buffer instance allocated with memAlloc. |
static VkImageViewHandleInfoNVX |
mallocStack()
Returns a new
VkImageViewHandleInfoNVX instance allocated on the thread-local MemoryStack. |
static VkImageViewHandleInfoNVX.Buffer |
mallocStack(int capacity)
Returns a new
VkImageViewHandleInfoNVX.Buffer instance allocated on the thread-local MemoryStack. |
static VkImageViewHandleInfoNVX.Buffer |
mallocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
VkImageViewHandleInfoNVX.Buffer instance allocated on the specified MemoryStack. |
static VkImageViewHandleInfoNVX |
mallocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
VkImageViewHandleInfoNVX instance allocated on the specified MemoryStack. |
static int |
ndescriptorType(long struct)
Unsafe version of
descriptorType(). |
static void |
ndescriptorType(long struct,
int value)
Unsafe version of
descriptorType. |
static long |
nimageView(long struct)
Unsafe version of
imageView(). |
static void |
nimageView(long struct,
long value)
Unsafe version of
imageView. |
static long |
npNext(long struct)
Unsafe version of
pNext(). |
static void |
npNext(long struct,
long value)
Unsafe version of
pNext. |
static long |
nsampler(long struct)
Unsafe version of
sampler(). |
static void |
nsampler(long struct,
long value)
Unsafe version of
sampler. |
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. |
VkImageViewHandleInfoNVX |
pNext(long value)
Sets the specified value to the
pNext field. |
long |
sampler()
Returns the value of the
sampler field. |
VkImageViewHandleInfoNVX |
sampler(long value)
Sets the specified value to the
sampler field. |
VkImageViewHandleInfoNVX |
set(int sType,
long pNext,
long imageView,
int descriptorType,
long sampler)
Initializes this struct with the specified values.
|
VkImageViewHandleInfoNVX |
set(VkImageViewHandleInfoNVX src)
Copies the specified struct data to this struct.
|
int |
sizeof() |
int |
sType()
Returns the value of the
sType field. |
VkImageViewHandleInfoNVX |
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 IMAGEVIEW
public static final int DESCRIPTORTYPE
public static final int SAMPLER
public VkImageViewHandleInfoNVX(java.nio.ByteBuffer container)
VkImageViewHandleInfoNVX 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 long imageView()
imageView field.public int descriptorType()
descriptorType field.public long sampler()
sampler field.public VkImageViewHandleInfoNVX sType(int value)
sType field.public VkImageViewHandleInfoNVX pNext(long value)
pNext field.public VkImageViewHandleInfoNVX imageView(long value)
imageView field.public VkImageViewHandleInfoNVX descriptorType(int value)
descriptorType field.public VkImageViewHandleInfoNVX sampler(long value)
sampler field.public VkImageViewHandleInfoNVX set(int sType, long pNext, long imageView, int descriptorType, long sampler)
public VkImageViewHandleInfoNVX set(VkImageViewHandleInfoNVX src)
src - the source structpublic static VkImageViewHandleInfoNVX malloc()
VkImageViewHandleInfoNVX instance allocated with memAlloc. The instance must be explicitly freed.public static VkImageViewHandleInfoNVX calloc()
VkImageViewHandleInfoNVX instance allocated with memCalloc. The instance must be explicitly freed.public static VkImageViewHandleInfoNVX create()
VkImageViewHandleInfoNVX instance allocated with BufferUtils.public static VkImageViewHandleInfoNVX create(long address)
VkImageViewHandleInfoNVX instance for the specified memory address.@Nullable public static VkImageViewHandleInfoNVX createSafe(long address)
public static VkImageViewHandleInfoNVX.Buffer malloc(int capacity)
VkImageViewHandleInfoNVX.Buffer instance allocated with memAlloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static VkImageViewHandleInfoNVX.Buffer calloc(int capacity)
VkImageViewHandleInfoNVX.Buffer instance allocated with memCalloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static VkImageViewHandleInfoNVX.Buffer create(int capacity)
VkImageViewHandleInfoNVX.Buffer instance allocated with BufferUtils.capacity - the buffer capacitypublic static VkImageViewHandleInfoNVX.Buffer create(long address, int capacity)
VkImageViewHandleInfoNVX.Buffer instance at the specified memory.address - the memory addresscapacity - the buffer capacity@Nullable public static VkImageViewHandleInfoNVX.Buffer createSafe(long address, int capacity)
public static VkImageViewHandleInfoNVX mallocStack()
VkImageViewHandleInfoNVX instance allocated on the thread-local MemoryStack.public static VkImageViewHandleInfoNVX callocStack()
VkImageViewHandleInfoNVX instance allocated on the thread-local MemoryStack and initializes all its bits to zero.public static VkImageViewHandleInfoNVX mallocStack(org.lwjgl.system.MemoryStack stack)
VkImageViewHandleInfoNVX instance allocated on the specified MemoryStack.stack - the stack from which to allocatepublic static VkImageViewHandleInfoNVX callocStack(org.lwjgl.system.MemoryStack stack)
VkImageViewHandleInfoNVX instance allocated on the specified MemoryStack and initializes all its bits to zero.stack - the stack from which to allocatepublic static VkImageViewHandleInfoNVX.Buffer mallocStack(int capacity)
VkImageViewHandleInfoNVX.Buffer instance allocated on the thread-local MemoryStack.capacity - the buffer capacitypublic static VkImageViewHandleInfoNVX.Buffer callocStack(int capacity)
VkImageViewHandleInfoNVX.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero.capacity - the buffer capacitypublic static VkImageViewHandleInfoNVX.Buffer mallocStack(int capacity, org.lwjgl.system.MemoryStack stack)
VkImageViewHandleInfoNVX.Buffer instance allocated on the specified MemoryStack.stack - the stack from which to allocatecapacity - the buffer capacitypublic static VkImageViewHandleInfoNVX.Buffer callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
VkImageViewHandleInfoNVX.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 long nimageView(long struct)
imageView().public static int ndescriptorType(long struct)
descriptorType().public static long nsampler(long struct)
sampler().public static void nsType(long struct,
int value)
sType.public static void npNext(long struct,
long value)
pNext.public static void nimageView(long struct,
long value)
imageView.public static void ndescriptorType(long struct,
int value)
descriptorType.public static void nsampler(long struct,
long value)
sampler.Copyright LWJGL. All Rights Reserved. License terms.