public class VkFramebufferCreateInfo
extends org.lwjgl.system.Struct
implements org.lwjgl.system.NativeResource
Applications must ensure that all accesses to memory that backs image subresources used as attachments in a given renderpass instance either happen-before the load operations for those attachments, or happen-after the store operations for those attachments.
For depth/stencil attachments, each aspect can be used separately as attachments and non-attachments as long as the non-attachment accesses are also via an image subresource in either the IMAGE_LAYOUT_DEPTH_READ_ONLY_STENCIL_ATTACHMENT_OPTIMAL layout or the IMAGE_LAYOUT_DEPTH_ATTACHMENT_STENCIL_READ_ONLY_OPTIMAL layout, and the attachment resource uses whichever of those two layouts the image accesses do not. Use of non-attachment aspects in this case is only well defined if the attachment is used in the subpass where the non-attachment access is being made, or the layout of the image subresource is constant throughout the entire render pass instance, including the initialLayout and finalLayout.
These restrictions mean that the render pass has full knowledge of all uses of all of the attachments, so that the implementation is able to make correct decisions about when and how to perform layout transitions, when to overlap execution of subpasses, etc.
It is legal for a subpass to use no color or depth/stencil attachments, and rather use shader side effects such as image stores and atomics to produce an output. In this case, the subpass continues to use the width, height, and layers of the framebuffer to define the dimensions of the rendering area, and the rasterizationSamples from each pipeline's VkPipelineMultisampleStateCreateInfo to define the number of samples used in rasterization; however, if VkPhysicalDeviceFeatures::variableMultisampleRate is FALSE, then all pipelines to be bound with a given zero-attachment subpass must have the same value for VkPipelineMultisampleStateCreateInfo::rasterizationSamples.
attachmentCount must be equal to the attachment count specified in renderPassflags does not include FRAMEBUFFER_CREATE_IMAGELESS_BIT_KHR, and attachmentCount is not 0, pAttachments must be a valid pointer to an array of attachmentCount valid VkImageView handlesflags does not include FRAMEBUFFER_CREATE_IMAGELESS_BIT_KHR, each element of pAttachments that is used as a color attachment or resolve attachment by renderPass must have been created with a usage value including IMAGE_USAGE_COLOR_ATTACHMENT_BITflags does not include FRAMEBUFFER_CREATE_IMAGELESS_BIT_KHR, each element of pAttachments that is used as a depth/stencil attachment by renderPass must have been created with a usage value including IMAGE_USAGE_DEPTH_STENCIL_ATTACHMENT_BITflags does not include FRAMEBUFFER_CREATE_IMAGELESS_BIT_KHR, each element of pAttachments that is used as a depth/stencil resolve attachment by renderPass must have been created with a usage value including IMAGE_USAGE_DEPTH_STENCIL_ATTACHMENT_BITflags does not include FRAMEBUFFER_CREATE_IMAGELESS_BIT_KHR, each element of pAttachments that is used as an input attachment by renderPass must have been created with a usage value including IMAGE_USAGE_INPUT_ATTACHMENT_BITpAttachments that is used as a fragment density map attachment by renderPass must not have been created with a flags value including IMAGE_CREATE_SUBSAMPLED_BIT_EXT.renderPass has a fragment density map attachment and non-subsample image feature is not enabled, each element of pAttachments must have been created with a flags value including IMAGE_CREATE_SUBSAMPLED_BIT_EXT unless that element is the fragment density map attachment.flags does not include FRAMEBUFFER_CREATE_IMAGELESS_BIT_KHR, each element of pAttachments must have been created with a VkFormat value that matches the VkFormat specified by the corresponding VkAttachmentDescription in renderPassflags does not include FRAMEBUFFER_CREATE_IMAGELESS_BIT_KHR, each element of pAttachments must have been created with a samples value that matches the samples value specified by the corresponding VkAttachmentDescription in renderPassflags does not include FRAMEBUFFER_CREATE_IMAGELESS_BIT_KHR, each element of pAttachments must have dimensions at least as large as the corresponding framebuffer dimension except for any element that is referenced by fragmentDensityMapAttachmentrenderPass was specified with non-zero view masks, each element of pAttachments that is not referenced by fragmentDensityMapAttachment must have a layerCount greater than the index of the most significant bit set in any of those view masksrenderPass was specified with non-zero view masks, each element of pAttachments that is referenced by fragmentDensityMapAttachment must have a layerCount equal to 1 or greater than the index of the most significant bit set in any of those view masksrenderPass was not specified with non-zero view masks, each element of pAttachments that is referenced by fragmentDensityMapAttachment must have a layerCount equal to 1flags does not include FRAMEBUFFER_CREATE_IMAGELESS_BIT_KHR, an element of pAttachments that is referenced by fragmentDensityMapAttachment must have a width at least as large as ceil(width / maxFragmentDensityTexelSize.width)flags does not include FRAMEBUFFER_CREATE_IMAGELESS_BIT_KHR, an element of pAttachments that is referenced by fragmentDensityMapAttachment must have a height at least as large as ceil(height / maxFragmentDensityTexelSize.height)flags does not include FRAMEBUFFER_CREATE_IMAGELESS_BIT_KHR, each element of pAttachments must only specify a single mip levelflags does not include FRAMEBUFFER_CREATE_IMAGELESS_BIT_KHR, each element of pAttachments must have been created with the identity swizzlewidth must be greater than 0.width must be less than or equal to VkPhysicalDeviceLimits::maxFramebufferWidthheight must be greater than 0.height must be less than or equal to VkPhysicalDeviceLimits::maxFramebufferHeightlayers must be greater than 0.layers must be less than or equal to VkPhysicalDeviceLimits::maxFramebufferLayersrenderPass was specified with non-zero view masks, layers must be 1flags does not include FRAMEBUFFER_CREATE_IMAGELESS_BIT_KHR, each element of pAttachments that is a 2D or 2D array image view taken from a 3D image must not be a depth/stencil formatflags does not include FRAMEBUFFER_CREATE_IMAGELESS_BIT_KHR, and attachmentCount is not 0, pAttachments must be a valid pointer to an array of attachmentCount valid VkImageView handlesflags must not include FRAMEBUFFER_CREATE_IMAGELESS_BIT_KHRflags includes FRAMEBUFFER_CREATE_IMAGELESS_BIT_KHR, the pNext chain must include a VkFramebufferAttachmentsCreateInfoKHR structureflags includes FRAMEBUFFER_CREATE_IMAGELESS_BIT_KHR, the attachmentImageInfoCount member of a VkFramebufferAttachmentsCreateInfoKHR structure included in the pNext chain must be equal to either zero or attachmentCountflags includes FRAMEBUFFER_CREATE_IMAGELESS_BIT_KHR, the width member of any element of the pAttachmentImageInfos member of a VkFramebufferAttachmentsCreateInfoKHR structure included in the pNext chain must be greater than or equal to width, except for any element that is referenced by VkRenderPassFragmentDensityMapCreateInfoEXT::fragmentDensityMapAttachment in renderPassflags includes FRAMEBUFFER_CREATE_IMAGELESS_BIT_KHR, the height member of any element of the pAttachmentImageInfos member of a VkFramebufferAttachmentsCreateInfoKHR structure included in the pNext chain must be greater than or equal to height, except for any element that is referenced by VkRenderPassFragmentDensityMapCreateInfoEXT::fragmentDensityMapAttachment in renderPassflags includes FRAMEBUFFER_CREATE_IMAGELESS_BIT_KHR, the width member of any element of the pAttachmentImageInfos member of a VkFramebufferAttachmentsCreateInfoKHR structure included in the pNext chain that is referenced by VkRenderPassFragmentDensityMapCreateInfoEXT::fragmentDensityMapAttachment in renderPass must be greater than or equal to ceil(width / maxFragmentDensityTexelSize.width)flags includes FRAMEBUFFER_CREATE_IMAGELESS_BIT_KHR, the height member of any element of the pAttachmentImageInfos member of a VkFramebufferAttachmentsCreateInfoKHR structure included in the pNext chain that is referenced by VkRenderPassFragmentDensityMapCreateInfoEXT::fragmentDensityMapAttachment in renderPass must be greater than or equal to ceil(height / maxFragmentDensityTexelSize.height)renderPass, and flags includes FRAMEBUFFER_CREATE_IMAGELESS_BIT_KHR, the layerCount member of any element of the pAttachmentImageInfos member of a VkFramebufferAttachmentsCreateInfoKHR structure included in the pNext chain must be greater than the maximum bit index set in the view mask in the subpasses in which it is used in renderPassrenderPass, and flags includes FRAMEBUFFER_CREATE_IMAGELESS_BIT_KHR, the layerCount member of any element of the pAttachmentImageInfos member of a VkFramebufferAttachmentsCreateInfoKHR structure included in the pNext chain must be greater than or equal to layersflags includes FRAMEBUFFER_CREATE_IMAGELESS_BIT_KHR, the usage member of any element of the pAttachmentImageInfos member of a VkFramebufferAttachmentsCreateInfoKHR structure included in the pNext chain that refers to an attachment used as a color attachment or resolve attachment by renderPass must include IMAGE_USAGE_COLOR_ATTACHMENT_BITflags includes FRAMEBUFFER_CREATE_IMAGELESS_BIT_KHR, the usage member of any element of the pAttachmentImageInfos member of a VkFramebufferAttachmentsCreateInfoKHR structure included in the pNext chain that refers to an attachment used as a depth/stencil attachment by renderPass must include IMAGE_USAGE_DEPTH_STENCIL_ATTACHMENT_BITflags includes FRAMEBUFFER_CREATE_IMAGELESS_BIT_KHR, the usage member of any element of the pAttachmentImageInfos member of a VkFramebufferAttachmentsCreateInfoKHR structure included in the pNext chain that refers to an attachment used as a depth/stencil resolve attachment by renderPass must include IMAGE_USAGE_DEPTH_STENCIL_ATTACHMENT_BITflags includes FRAMEBUFFER_CREATE_IMAGELESS_BIT_KHR, the usage member of any element of the pAttachmentImageInfos member of a VkFramebufferAttachmentsCreateInfoKHR structure included in the pNext chain that refers to an attachment used as an input attachment by renderPass must include IMAGE_USAGE_INPUT_ATTACHMENT_BITflags includes FRAMEBUFFER_CREATE_IMAGELESS_BIT_KHR, at least one element of the pViewFormats member of any element of the pAttachmentImageInfos member of a VkFramebufferAttachmentsCreateInfoKHR structure included in the pNext chain must be equal to the corresponding value of VkAttachmentDescription::format used to create renderPasssType must be STRUCTURE_TYPE_FRAMEBUFFER_CREATE_INFOpNext must be NULL or a pointer to a valid instance of VkFramebufferAttachmentsCreateInfoKHRflags must be a valid combination of VkFramebufferCreateFlagBits valuesrenderPass must be a valid VkRenderPass handlerenderPass, and the elements of pAttachments 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.flags – a bitmask of VkFramebufferCreateFlagBitsrenderPass – a render pass defining what render passes the framebuffer will be compatible with. See Render Pass Compatibility for details.attachmentCount – the number of attachments.pAttachments – a pointer to an array of VkImageView handles, each of which will be used as the corresponding attachment in a render pass instance. If flags includes FRAMEBUFFER_CREATE_IMAGELESS_BIT_KHR, this parameter is ignored.width – width, height and layers define the dimensions of the framebuffer. If the render pass uses multiview, then layers must be one and each attachment requires a number of layers that is greater than the maximum bit index set in the view mask in the subpasses in which it is used.height – see widthlayers – see width
struct VkFramebufferCreateInfo {
VkStructureType sType;
void const * pNext;
VkFramebufferCreateFlags flags;
VkRenderPass renderPass;
uint32_t attachmentCount;
VkImageView const * pAttachments;
uint32_t width;
uint32_t height;
uint32_t layers;
}| Modifier and Type | Class and Description |
|---|---|
static class |
VkFramebufferCreateInfo.Buffer
An array of
VkFramebufferCreateInfo structs. |
| Modifier and Type | Field and Description |
|---|---|
static int |
ALIGNOF
The struct alignment in bytes.
|
static int |
ATTACHMENTCOUNT
The struct member offsets.
|
static int |
FLAGS
The struct member offsets.
|
static int |
HEIGHT
The struct member offsets.
|
static int |
LAYERS
The struct member offsets.
|
static int |
PATTACHMENTS
The struct member offsets.
|
static int |
PNEXT
The struct member offsets.
|
static int |
RENDERPASS
The struct member offsets.
|
static int |
SIZEOF
The struct size in bytes.
|
static int |
STYPE
The struct member offsets.
|
static int |
WIDTH
The struct member offsets.
|
| Constructor and Description |
|---|
VkFramebufferCreateInfo(java.nio.ByteBuffer container)
Creates a
VkFramebufferCreateInfo instance at the current position of the specified ByteBuffer container. |
| Modifier and Type | Method and Description |
|---|---|
int |
attachmentCount()
Returns the value of the
attachmentCount field. |
static VkFramebufferCreateInfo |
calloc()
Returns a new
VkFramebufferCreateInfo instance allocated with memCalloc. |
static VkFramebufferCreateInfo.Buffer |
calloc(int capacity)
Returns a new
VkFramebufferCreateInfo.Buffer instance allocated with memCalloc. |
static VkFramebufferCreateInfo |
callocStack()
Returns a new
VkFramebufferCreateInfo instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static VkFramebufferCreateInfo.Buffer |
callocStack(int capacity)
Returns a new
VkFramebufferCreateInfo.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static VkFramebufferCreateInfo.Buffer |
callocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
VkFramebufferCreateInfo.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero. |
static VkFramebufferCreateInfo |
callocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
VkFramebufferCreateInfo instance allocated on the specified MemoryStack and initializes all its bits to zero. |
static VkFramebufferCreateInfo |
create()
Returns a new
VkFramebufferCreateInfo instance allocated with BufferUtils. |
static VkFramebufferCreateInfo.Buffer |
create(int capacity)
Returns a new
VkFramebufferCreateInfo.Buffer instance allocated with BufferUtils. |
static VkFramebufferCreateInfo |
create(long address)
Returns a new
VkFramebufferCreateInfo instance for the specified memory address. |
static VkFramebufferCreateInfo.Buffer |
create(long address,
int capacity)
Create a
VkFramebufferCreateInfo.Buffer instance at the specified memory. |
static VkFramebufferCreateInfo |
createSafe(long address)
|
static VkFramebufferCreateInfo.Buffer |
createSafe(long address,
int capacity)
|
int |
flags()
Returns the value of the
flags field. |
VkFramebufferCreateInfo |
flags(int value)
Sets the specified value to the
flags field. |
int |
height()
Returns the value of the
height field. |
VkFramebufferCreateInfo |
height(int value)
Sets the specified value to the
height field. |
int |
layers()
Returns the value of the
layers field. |
VkFramebufferCreateInfo |
layers(int value)
Sets the specified value to the
layers field. |
static VkFramebufferCreateInfo |
malloc()
Returns a new
VkFramebufferCreateInfo instance allocated with memAlloc. |
static VkFramebufferCreateInfo.Buffer |
malloc(int capacity)
Returns a new
VkFramebufferCreateInfo.Buffer instance allocated with memAlloc. |
static VkFramebufferCreateInfo |
mallocStack()
Returns a new
VkFramebufferCreateInfo instance allocated on the thread-local MemoryStack. |
static VkFramebufferCreateInfo.Buffer |
mallocStack(int capacity)
Returns a new
VkFramebufferCreateInfo.Buffer instance allocated on the thread-local MemoryStack. |
static VkFramebufferCreateInfo.Buffer |
mallocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
VkFramebufferCreateInfo.Buffer instance allocated on the specified MemoryStack. |
static VkFramebufferCreateInfo |
mallocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
VkFramebufferCreateInfo instance allocated on the specified MemoryStack. |
static int |
nattachmentCount(long struct)
Unsafe version of
attachmentCount(). |
static void |
nattachmentCount(long struct,
int value)
Sets the specified value to the
attachmentCount field of the specified struct. |
static int |
nflags(long struct)
Unsafe version of
flags(). |
static void |
nflags(long struct,
int value)
Unsafe version of
flags. |
static int |
nheight(long struct)
Unsafe version of
height(). |
static void |
nheight(long struct,
int value)
Unsafe version of
height. |
static int |
nlayers(long struct)
Unsafe version of
layers(). |
static void |
nlayers(long struct,
int value)
Unsafe version of
layers. |
static java.nio.LongBuffer |
npAttachments(long struct)
Unsafe version of
pAttachments. |
static void |
npAttachments(long struct,
java.nio.LongBuffer value)
Unsafe version of
pAttachments. |
static long |
npNext(long struct)
Unsafe version of
pNext(). |
static void |
npNext(long struct,
long value)
Unsafe version of
pNext. |
static long |
nrenderPass(long struct)
Unsafe version of
renderPass(). |
static void |
nrenderPass(long struct,
long value)
Unsafe version of
renderPass. |
static int |
nsType(long struct)
Unsafe version of
sType(). |
static void |
nsType(long struct,
int value)
Unsafe version of
sType. |
static int |
nwidth(long struct)
Unsafe version of
width(). |
static void |
nwidth(long struct,
int value)
Unsafe version of
width. |
java.nio.LongBuffer |
pAttachments()
Returns a
LongBuffer view of the data pointed to by the pAttachments field. |
VkFramebufferCreateInfo |
pAttachments(java.nio.LongBuffer value)
Sets the address of the specified
LongBuffer to the pAttachments field. |
long |
pNext()
Returns the value of the
pNext field. |
VkFramebufferCreateInfo |
pNext(long value)
Sets the specified value to the
pNext field. |
long |
renderPass()
Returns the value of the
renderPass field. |
VkFramebufferCreateInfo |
renderPass(long value)
Sets the specified value to the
renderPass field. |
VkFramebufferCreateInfo |
set(int sType,
long pNext,
int flags,
long renderPass,
java.nio.LongBuffer pAttachments,
int width,
int height,
int layers)
Initializes this struct with the specified values.
|
VkFramebufferCreateInfo |
set(VkFramebufferCreateInfo src)
Copies the specified struct data to this struct.
|
int |
sizeof() |
int |
sType()
Returns the value of the
sType field. |
VkFramebufferCreateInfo |
sType(int value)
Sets the specified value to the
sType field. |
static void |
validate(long struct)
Validates pointer members that should not be
NULL. |
static void |
validate(long array,
int count)
Calls
validate(long) for each struct contained in the specified struct array. |
int |
width()
Returns the value of the
width field. |
VkFramebufferCreateInfo |
width(int value)
Sets the specified value to the
width 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 FLAGS
public static final int RENDERPASS
public static final int ATTACHMENTCOUNT
public static final int PATTACHMENTS
public static final int WIDTH
public static final int HEIGHT
public static final int LAYERS
public VkFramebufferCreateInfo(java.nio.ByteBuffer container)
VkFramebufferCreateInfo 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 flags()
flags field.public long renderPass()
renderPass field.public int attachmentCount()
attachmentCount field.@Nullable public java.nio.LongBuffer pAttachments()
LongBuffer view of the data pointed to by the pAttachments field.public int width()
width field.public int height()
height field.public int layers()
layers field.public VkFramebufferCreateInfo sType(int value)
sType field.public VkFramebufferCreateInfo pNext(long value)
pNext field.public VkFramebufferCreateInfo flags(int value)
flags field.public VkFramebufferCreateInfo renderPass(long value)
renderPass field.public VkFramebufferCreateInfo pAttachments(@Nullable java.nio.LongBuffer value)
LongBuffer to the pAttachments field.public VkFramebufferCreateInfo width(int value)
width field.public VkFramebufferCreateInfo height(int value)
height field.public VkFramebufferCreateInfo layers(int value)
layers field.public VkFramebufferCreateInfo set(int sType, long pNext, int flags, long renderPass, @Nullable java.nio.LongBuffer pAttachments, int width, int height, int layers)
public VkFramebufferCreateInfo set(VkFramebufferCreateInfo src)
src - the source structpublic static VkFramebufferCreateInfo malloc()
VkFramebufferCreateInfo instance allocated with memAlloc. The instance must be explicitly freed.public static VkFramebufferCreateInfo calloc()
VkFramebufferCreateInfo instance allocated with memCalloc. The instance must be explicitly freed.public static VkFramebufferCreateInfo create()
VkFramebufferCreateInfo instance allocated with BufferUtils.public static VkFramebufferCreateInfo create(long address)
VkFramebufferCreateInfo instance for the specified memory address.@Nullable public static VkFramebufferCreateInfo createSafe(long address)
public static VkFramebufferCreateInfo.Buffer malloc(int capacity)
VkFramebufferCreateInfo.Buffer instance allocated with memAlloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static VkFramebufferCreateInfo.Buffer calloc(int capacity)
VkFramebufferCreateInfo.Buffer instance allocated with memCalloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static VkFramebufferCreateInfo.Buffer create(int capacity)
VkFramebufferCreateInfo.Buffer instance allocated with BufferUtils.capacity - the buffer capacitypublic static VkFramebufferCreateInfo.Buffer create(long address, int capacity)
VkFramebufferCreateInfo.Buffer instance at the specified memory.address - the memory addresscapacity - the buffer capacity@Nullable public static VkFramebufferCreateInfo.Buffer createSafe(long address, int capacity)
public static VkFramebufferCreateInfo mallocStack()
VkFramebufferCreateInfo instance allocated on the thread-local MemoryStack.public static VkFramebufferCreateInfo callocStack()
VkFramebufferCreateInfo instance allocated on the thread-local MemoryStack and initializes all its bits to zero.public static VkFramebufferCreateInfo mallocStack(org.lwjgl.system.MemoryStack stack)
VkFramebufferCreateInfo instance allocated on the specified MemoryStack.stack - the stack from which to allocatepublic static VkFramebufferCreateInfo callocStack(org.lwjgl.system.MemoryStack stack)
VkFramebufferCreateInfo instance allocated on the specified MemoryStack and initializes all its bits to zero.stack - the stack from which to allocatepublic static VkFramebufferCreateInfo.Buffer mallocStack(int capacity)
VkFramebufferCreateInfo.Buffer instance allocated on the thread-local MemoryStack.capacity - the buffer capacitypublic static VkFramebufferCreateInfo.Buffer callocStack(int capacity)
VkFramebufferCreateInfo.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero.capacity - the buffer capacitypublic static VkFramebufferCreateInfo.Buffer mallocStack(int capacity, org.lwjgl.system.MemoryStack stack)
VkFramebufferCreateInfo.Buffer instance allocated on the specified MemoryStack.stack - the stack from which to allocatecapacity - the buffer capacitypublic static VkFramebufferCreateInfo.Buffer callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
VkFramebufferCreateInfo.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 nflags(long struct)
flags().public static long nrenderPass(long struct)
renderPass().public static int nattachmentCount(long struct)
attachmentCount().@Nullable public static java.nio.LongBuffer npAttachments(long struct)
pAttachments.public static int nwidth(long struct)
width().public static int nheight(long struct)
height().public static int nlayers(long struct)
layers().public static void nsType(long struct,
int value)
sType.public static void npNext(long struct,
long value)
pNext.public static void nflags(long struct,
int value)
flags.public static void nrenderPass(long struct,
long value)
renderPass.public static void nattachmentCount(long struct,
int value)
attachmentCount field of the specified struct.public static void npAttachments(long struct,
@Nullable
java.nio.LongBuffer value)
pAttachments.public static void nwidth(long struct,
int value)
width.public static void nheight(long struct,
int value)
height.public static void nlayers(long struct,
int value)
layers.public static void validate(long struct)
NULL.struct - the struct to validatepublic static void validate(long array,
int count)
validate(long) for each struct contained in the specified struct array.array - the struct array to validatecount - the number of structs in arrayCopyright LWJGL. All Rights Reserved. License terms.