Package org.lwjgl.vulkan
Class VkDescriptorUpdateTemplateCreateInfo
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.Struct
-
- org.lwjgl.vulkan.VkDescriptorUpdateTemplateCreateInfo
-
- All Implemented Interfaces:
java.lang.AutoCloseable
,org.lwjgl.system.NativeResource
,org.lwjgl.system.Pointer
- Direct Known Subclasses:
VkDescriptorUpdateTemplateCreateInfoKHR
public class VkDescriptorUpdateTemplateCreateInfo extends org.lwjgl.system.Struct implements org.lwjgl.system.NativeResource
Structure specifying parameters of a newly created descriptor update template.Valid Usage
- If
templateType
isDESCRIPTOR_UPDATE_TEMPLATE_TYPE_DESCRIPTOR_SET
,descriptorSetLayout
must be a validVkDescriptorSetLayout
handle - If
templateType
isDESCRIPTOR_UPDATE_TEMPLATE_TYPE_PUSH_DESCRIPTORS_KHR
,pipelineBindPoint
must be a validVkPipelineBindPoint
value - If
templateType
isDESCRIPTOR_UPDATE_TEMPLATE_TYPE_PUSH_DESCRIPTORS_KHR
,pipelineLayout
must be a validVkPipelineLayout
handle - If
templateType
isDESCRIPTOR_UPDATE_TEMPLATE_TYPE_PUSH_DESCRIPTORS_KHR
,set
must be the unique set number in the pipeline layout that uses a descriptor set layout that was created withDESCRIPTOR_SET_LAYOUT_CREATE_PUSH_DESCRIPTOR_BIT_KHR
Valid Usage (Implicit)
sType
must beSTRUCTURE_TYPE_DESCRIPTOR_UPDATE_TEMPLATE_CREATE_INFO
pNext
must beNULL
flags
must be 0pDescriptorUpdateEntries
must be a valid pointer to an array ofdescriptorUpdateEntryCount
validVkDescriptorUpdateTemplateEntry
structurestemplateType
must be a validVkDescriptorUpdateTemplateType
value- If
descriptorSetLayout
is notNULL_HANDLE
,descriptorSetLayout
must be a validVkDescriptorSetLayout
handle descriptorUpdateEntryCount
must be greater than 0- Both of
descriptorSetLayout
, andpipelineLayout
that are valid handles must have been created, allocated, or retrieved from the sameVkDevice
See Also
VkDescriptorUpdateTemplateEntry
,CreateDescriptorUpdateTemplate
,CreateDescriptorUpdateTemplateKHR
Member documentation
sType
– the type of this structure.pNext
–NULL
or a pointer to an extension-specific structure.flags
– reserved for future use.descriptorUpdateEntryCount
– the number of elements in thepDescriptorUpdateEntries
array.pDescriptorUpdateEntries
– a pointer to an array ofVkDescriptorUpdateTemplateEntry
structures describing the descriptors to be updated by the descriptor update template.templateType
– Specifies the type of the descriptor update template. If set toDESCRIPTOR_UPDATE_TEMPLATE_TYPE_DESCRIPTOR_SET
it can only be used to update descriptor sets with a fixeddescriptorSetLayout
. If set toDESCRIPTOR_UPDATE_TEMPLATE_TYPE_PUSH_DESCRIPTORS_KHR
it can only be used to push descriptor sets using the providedpipelineBindPoint
,pipelineLayout
, andset
number.descriptorSetLayout
– the descriptor set layout the parameter update template will be used with. All descriptor sets which are going to be updated through the newly created descriptor update template must be created with this layout.descriptorSetLayout
is the descriptor set layout used to build the descriptor update template. All descriptor sets which are going to be updated through the newly created descriptor update template must be created with a layout that matches (is the same as, or defined identically to) this layout. This parameter is ignored iftemplateType
is notDESCRIPTOR_UPDATE_TEMPLATE_TYPE_DESCRIPTOR_SET
.pipelineBindPoint
– aVkPipelineBindPoint
indicating whether the descriptors will be used by graphics pipelines or compute pipelines. This parameter is ignored iftemplateType
is notDESCRIPTOR_UPDATE_TEMPLATE_TYPE_PUSH_DESCRIPTORS_KHR
pipelineLayout
– aVkPipelineLayout
object used to program the bindings. This parameter is ignored iftemplateType
is notDESCRIPTOR_UPDATE_TEMPLATE_TYPE_PUSH_DESCRIPTORS_KHR
set
– the set number of the descriptor set in the pipeline layout that will be updated. This parameter is ignored iftemplateType
is notDESCRIPTOR_UPDATE_TEMPLATE_TYPE_PUSH_DESCRIPTORS_KHR
Layout
struct VkDescriptorUpdateTemplateCreateInfo { VkStructureType sType; void const * pNext; VkDescriptorUpdateTemplateCreateFlags flags; uint32_t descriptorUpdateEntryCount;
VkDescriptorUpdateTemplateEntry
const * pDescriptorUpdateEntries; VkDescriptorUpdateTemplateType templateType; VkDescriptorSetLayout descriptorSetLayout; VkPipelineBindPoint pipelineBindPoint; VkPipelineLayout pipelineLayout; uint32_t set; }
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
VkDescriptorUpdateTemplateCreateInfo.Buffer
An array ofVkDescriptorUpdateTemplateCreateInfo
structs.
-
Field Summary
Fields Modifier and Type Field Description static int
ALIGNOF
The struct alignment in bytes.static int
DESCRIPTORSETLAYOUT
DESCRIPTORUPDATEENTRYCOUNT
FLAGS
PDESCRIPTORUPDATEENTRIES
PIPELINEBINDPOINT
PIPELINELAYOUT
PNEXT
SETThe struct member offsets.static int
SIZEOF
The struct size in bytes.static int
STYPE
TEMPLATETYPEThe struct member offsets.
-
Constructor Summary
Constructors Constructor Description VkDescriptorUpdateTemplateCreateInfo(java.nio.ByteBuffer container)
Creates aVkDescriptorUpdateTemplateCreateInfo
instance at the current position of the specifiedByteBuffer
container.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static VkDescriptorUpdateTemplateCreateInfo
calloc()
Returns a newVkDescriptorUpdateTemplateCreateInfo
instance allocated withmemCalloc
.static VkDescriptorUpdateTemplateCreateInfo.Buffer
calloc(int capacity)
Returns a newVkDescriptorUpdateTemplateCreateInfo.Buffer
instance allocated withmemCalloc
.static VkDescriptorUpdateTemplateCreateInfo
callocStack()
Returns a newVkDescriptorUpdateTemplateCreateInfo
instance allocated on the thread-localMemoryStack
and initializes all its bits to zero.static VkDescriptorUpdateTemplateCreateInfo.Buffer
callocStack(int capacity)
Returns a newVkDescriptorUpdateTemplateCreateInfo.Buffer
instance allocated on the thread-localMemoryStack
and initializes all its bits to zero.static VkDescriptorUpdateTemplateCreateInfo.Buffer
callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkDescriptorUpdateTemplateCreateInfo.Buffer
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.static VkDescriptorUpdateTemplateCreateInfo
callocStack(org.lwjgl.system.MemoryStack stack)
Returns a newVkDescriptorUpdateTemplateCreateInfo
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.static VkDescriptorUpdateTemplateCreateInfo
create()
Returns a newVkDescriptorUpdateTemplateCreateInfo
instance allocated withBufferUtils
.static VkDescriptorUpdateTemplateCreateInfo.Buffer
create(int capacity)
Returns a newVkDescriptorUpdateTemplateCreateInfo.Buffer
instance allocated withBufferUtils
.static VkDescriptorUpdateTemplateCreateInfo
create(long address)
Returns a newVkDescriptorUpdateTemplateCreateInfo
instance for the specified memory address.static VkDescriptorUpdateTemplateCreateInfo.Buffer
create(long address, int capacity)
Create aVkDescriptorUpdateTemplateCreateInfo.Buffer
instance at the specified memory.static VkDescriptorUpdateTemplateCreateInfo
createSafe(long address)
static VkDescriptorUpdateTemplateCreateInfo.Buffer
createSafe(long address, int capacity)
long
descriptorSetLayout()
Returns the value of thedescriptorSetLayout
field.VkDescriptorUpdateTemplateCreateInfo
descriptorSetLayout(long value)
Sets the specified value to thedescriptorSetLayout
field.int
descriptorUpdateEntryCount()
Returns the value of thedescriptorUpdateEntryCount
field.int
flags()
Returns the value of theflags
field.VkDescriptorUpdateTemplateCreateInfo
flags(int value)
Sets the specified value to theflags
field.static VkDescriptorUpdateTemplateCreateInfo
malloc()
Returns a newVkDescriptorUpdateTemplateCreateInfo
instance allocated withmemAlloc
.static VkDescriptorUpdateTemplateCreateInfo.Buffer
malloc(int capacity)
Returns a newVkDescriptorUpdateTemplateCreateInfo.Buffer
instance allocated withmemAlloc
.static VkDescriptorUpdateTemplateCreateInfo
mallocStack()
Returns a newVkDescriptorUpdateTemplateCreateInfo
instance allocated on the thread-localMemoryStack
.static VkDescriptorUpdateTemplateCreateInfo.Buffer
mallocStack(int capacity)
Returns a newVkDescriptorUpdateTemplateCreateInfo.Buffer
instance allocated on the thread-localMemoryStack
.static VkDescriptorUpdateTemplateCreateInfo.Buffer
mallocStack(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkDescriptorUpdateTemplateCreateInfo.Buffer
instance allocated on the specifiedMemoryStack
.static VkDescriptorUpdateTemplateCreateInfo
mallocStack(org.lwjgl.system.MemoryStack stack)
Returns a newVkDescriptorUpdateTemplateCreateInfo
instance allocated on the specifiedMemoryStack
.static long
ndescriptorSetLayout(long struct)
Unsafe version ofdescriptorSetLayout()
.static void
ndescriptorSetLayout(long struct, long value)
Unsafe version ofdescriptorSetLayout
.static int
ndescriptorUpdateEntryCount(long struct)
Unsafe version ofdescriptorUpdateEntryCount()
.static void
ndescriptorUpdateEntryCount(long struct, int value)
Sets the specified value to thedescriptorUpdateEntryCount
field of the specifiedstruct
.static int
nflags(long struct)
Unsafe version offlags()
.static void
nflags(long struct, int value)
Unsafe version offlags
.static VkDescriptorUpdateTemplateEntry.Buffer
npDescriptorUpdateEntries(long struct)
Unsafe version ofpDescriptorUpdateEntries()
.static void
npDescriptorUpdateEntries(long struct, VkDescriptorUpdateTemplateEntry.Buffer value)
Unsafe version ofpDescriptorUpdateEntries
.static int
npipelineBindPoint(long struct)
Unsafe version ofpipelineBindPoint()
.static void
npipelineBindPoint(long struct, int value)
Unsafe version ofpipelineBindPoint
.static long
npipelineLayout(long struct)
Unsafe version ofpipelineLayout()
.static void
npipelineLayout(long struct, long value)
Unsafe version ofpipelineLayout
.static long
npNext(long struct)
Unsafe version ofpNext()
.static void
npNext(long struct, long value)
Unsafe version ofpNext
.static int
nset(long struct)
Unsafe version ofset()
.static void
nset(long struct, int value)
Unsafe version ofset
.static int
nsType(long struct)
Unsafe version ofsType()
.static void
nsType(long struct, int value)
Unsafe version ofsType
.static int
ntemplateType(long struct)
Unsafe version oftemplateType()
.static void
ntemplateType(long struct, int value)
Unsafe version oftemplateType
.VkDescriptorUpdateTemplateEntry.Buffer
pDescriptorUpdateEntries()
Returns aVkDescriptorUpdateTemplateEntry.Buffer
view of the struct array pointed to by thepDescriptorUpdateEntries
field.VkDescriptorUpdateTemplateCreateInfo
pDescriptorUpdateEntries(VkDescriptorUpdateTemplateEntry.Buffer value)
Sets the address of the specifiedVkDescriptorUpdateTemplateEntry.Buffer
to thepDescriptorUpdateEntries
field.int
pipelineBindPoint()
Returns the value of thepipelineBindPoint
field.VkDescriptorUpdateTemplateCreateInfo
pipelineBindPoint(int value)
Sets the specified value to thepipelineBindPoint
field.long
pipelineLayout()
Returns the value of thepipelineLayout
field.VkDescriptorUpdateTemplateCreateInfo
pipelineLayout(long value)
Sets the specified value to thepipelineLayout
field.long
pNext()
Returns the value of thepNext
field.VkDescriptorUpdateTemplateCreateInfo
pNext(long value)
Sets the specified value to thepNext
field.int
set()
Returns the value of theset
field.VkDescriptorUpdateTemplateCreateInfo
set(int value)
Sets the specified value to theset
field.VkDescriptorUpdateTemplateCreateInfo
set(int sType, long pNext, int flags, VkDescriptorUpdateTemplateEntry.Buffer pDescriptorUpdateEntries, int templateType, long descriptorSetLayout, int pipelineBindPoint, long pipelineLayout, int set)
Initializes this struct with the specified values.VkDescriptorUpdateTemplateCreateInfo
set(VkDescriptorUpdateTemplateCreateInfo src)
Copies the specified struct data to this struct.int
sizeof()
int
sType()
Returns the value of thesType
field.VkDescriptorUpdateTemplateCreateInfo
sType(int value)
Sets the specified value to thesType
field.int
templateType()
Returns the value of thetemplateType
field.VkDescriptorUpdateTemplateCreateInfo
templateType(int value)
Sets the specified value to thetemplateType
field.static void
validate(long struct)
Validates pointer members that should not beNULL
.static void
validate(long array, int count)
Callsvalidate(long)
for each struct contained in the specified struct array.
-
-
-
Constructor Detail
-
VkDescriptorUpdateTemplateCreateInfo
public VkDescriptorUpdateTemplateCreateInfo(java.nio.ByteBuffer container)
Creates aVkDescriptorUpdateTemplateCreateInfo
instance at the current position of the specifiedByteBuffer
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.
-
-
Method Detail
-
sizeof
public int sizeof()
- Specified by:
sizeof
in classorg.lwjgl.system.Struct
-
sType
public int sType()
Returns the value of thesType
field.
-
pNext
public long pNext()
Returns the value of thepNext
field.
-
flags
public int flags()
Returns the value of theflags
field.
-
descriptorUpdateEntryCount
public int descriptorUpdateEntryCount()
Returns the value of thedescriptorUpdateEntryCount
field.
-
pDescriptorUpdateEntries
public VkDescriptorUpdateTemplateEntry.Buffer pDescriptorUpdateEntries()
Returns aVkDescriptorUpdateTemplateEntry.Buffer
view of the struct array pointed to by thepDescriptorUpdateEntries
field.
-
templateType
public int templateType()
Returns the value of thetemplateType
field.
-
descriptorSetLayout
public long descriptorSetLayout()
Returns the value of thedescriptorSetLayout
field.
-
pipelineBindPoint
public int pipelineBindPoint()
Returns the value of thepipelineBindPoint
field.
-
pipelineLayout
public long pipelineLayout()
Returns the value of thepipelineLayout
field.
-
set
public int set()
Returns the value of theset
field.
-
sType
public VkDescriptorUpdateTemplateCreateInfo sType(int value)
Sets the specified value to thesType
field.
-
pNext
public VkDescriptorUpdateTemplateCreateInfo pNext(long value)
Sets the specified value to thepNext
field.
-
flags
public VkDescriptorUpdateTemplateCreateInfo flags(int value)
Sets the specified value to theflags
field.
-
pDescriptorUpdateEntries
public VkDescriptorUpdateTemplateCreateInfo pDescriptorUpdateEntries(VkDescriptorUpdateTemplateEntry.Buffer value)
Sets the address of the specifiedVkDescriptorUpdateTemplateEntry.Buffer
to thepDescriptorUpdateEntries
field.
-
templateType
public VkDescriptorUpdateTemplateCreateInfo templateType(int value)
Sets the specified value to thetemplateType
field.
-
descriptorSetLayout
public VkDescriptorUpdateTemplateCreateInfo descriptorSetLayout(long value)
Sets the specified value to thedescriptorSetLayout
field.
-
pipelineBindPoint
public VkDescriptorUpdateTemplateCreateInfo pipelineBindPoint(int value)
Sets the specified value to thepipelineBindPoint
field.
-
pipelineLayout
public VkDescriptorUpdateTemplateCreateInfo pipelineLayout(long value)
Sets the specified value to thepipelineLayout
field.
-
set
public VkDescriptorUpdateTemplateCreateInfo set(int value)
Sets the specified value to theset
field.
-
set
public VkDescriptorUpdateTemplateCreateInfo set(int sType, long pNext, int flags, VkDescriptorUpdateTemplateEntry.Buffer pDescriptorUpdateEntries, int templateType, long descriptorSetLayout, int pipelineBindPoint, long pipelineLayout, int set)
Initializes this struct with the specified values.
-
set
public VkDescriptorUpdateTemplateCreateInfo set(VkDescriptorUpdateTemplateCreateInfo src)
Copies the specified struct data to this struct.- Parameters:
src
- the source struct- Returns:
- this struct
-
malloc
public static VkDescriptorUpdateTemplateCreateInfo malloc()
Returns a newVkDescriptorUpdateTemplateCreateInfo
instance allocated withmemAlloc
. The instance must be explicitly freed.
-
calloc
public static VkDescriptorUpdateTemplateCreateInfo calloc()
Returns a newVkDescriptorUpdateTemplateCreateInfo
instance allocated withmemCalloc
. The instance must be explicitly freed.
-
create
public static VkDescriptorUpdateTemplateCreateInfo create()
Returns a newVkDescriptorUpdateTemplateCreateInfo
instance allocated withBufferUtils
.
-
create
public static VkDescriptorUpdateTemplateCreateInfo create(long address)
Returns a newVkDescriptorUpdateTemplateCreateInfo
instance for the specified memory address.
-
createSafe
@Nullable public static VkDescriptorUpdateTemplateCreateInfo createSafe(long address)
-
malloc
public static VkDescriptorUpdateTemplateCreateInfo.Buffer malloc(int capacity)
Returns a newVkDescriptorUpdateTemplateCreateInfo.Buffer
instance allocated withmemAlloc
. The instance must be explicitly freed.- Parameters:
capacity
- the buffer capacity
-
calloc
public static VkDescriptorUpdateTemplateCreateInfo.Buffer calloc(int capacity)
Returns a newVkDescriptorUpdateTemplateCreateInfo.Buffer
instance allocated withmemCalloc
. The instance must be explicitly freed.- Parameters:
capacity
- the buffer capacity
-
create
public static VkDescriptorUpdateTemplateCreateInfo.Buffer create(int capacity)
Returns a newVkDescriptorUpdateTemplateCreateInfo.Buffer
instance allocated withBufferUtils
.- Parameters:
capacity
- the buffer capacity
-
create
public static VkDescriptorUpdateTemplateCreateInfo.Buffer create(long address, int capacity)
Create aVkDescriptorUpdateTemplateCreateInfo.Buffer
instance at the specified memory.- Parameters:
address
- the memory addresscapacity
- the buffer capacity
-
createSafe
@Nullable public static VkDescriptorUpdateTemplateCreateInfo.Buffer createSafe(long address, int capacity)
-
mallocStack
public static VkDescriptorUpdateTemplateCreateInfo mallocStack()
Returns a newVkDescriptorUpdateTemplateCreateInfo
instance allocated on the thread-localMemoryStack
.
-
callocStack
public static VkDescriptorUpdateTemplateCreateInfo callocStack()
Returns a newVkDescriptorUpdateTemplateCreateInfo
instance allocated on the thread-localMemoryStack
and initializes all its bits to zero.
-
mallocStack
public static VkDescriptorUpdateTemplateCreateInfo mallocStack(org.lwjgl.system.MemoryStack stack)
Returns a newVkDescriptorUpdateTemplateCreateInfo
instance allocated on the specifiedMemoryStack
.- Parameters:
stack
- the stack from which to allocate
-
callocStack
public static VkDescriptorUpdateTemplateCreateInfo callocStack(org.lwjgl.system.MemoryStack stack)
Returns a newVkDescriptorUpdateTemplateCreateInfo
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.- Parameters:
stack
- the stack from which to allocate
-
mallocStack
public static VkDescriptorUpdateTemplateCreateInfo.Buffer mallocStack(int capacity)
Returns a newVkDescriptorUpdateTemplateCreateInfo.Buffer
instance allocated on the thread-localMemoryStack
.- Parameters:
capacity
- the buffer capacity
-
callocStack
public static VkDescriptorUpdateTemplateCreateInfo.Buffer callocStack(int capacity)
Returns a newVkDescriptorUpdateTemplateCreateInfo.Buffer
instance allocated on the thread-localMemoryStack
and initializes all its bits to zero.- Parameters:
capacity
- the buffer capacity
-
mallocStack
public static VkDescriptorUpdateTemplateCreateInfo.Buffer mallocStack(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkDescriptorUpdateTemplateCreateInfo.Buffer
instance allocated on the specifiedMemoryStack
.- Parameters:
stack
- the stack from which to allocatecapacity
- the buffer capacity
-
callocStack
public static VkDescriptorUpdateTemplateCreateInfo.Buffer callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkDescriptorUpdateTemplateCreateInfo.Buffer
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.- Parameters:
stack
- the stack from which to allocatecapacity
- the buffer capacity
-
nsType
public static int nsType(long struct)
Unsafe version ofsType()
.
-
npNext
public static long npNext(long struct)
Unsafe version ofpNext()
.
-
nflags
public static int nflags(long struct)
Unsafe version offlags()
.
-
ndescriptorUpdateEntryCount
public static int ndescriptorUpdateEntryCount(long struct)
Unsafe version ofdescriptorUpdateEntryCount()
.
-
npDescriptorUpdateEntries
public static VkDescriptorUpdateTemplateEntry.Buffer npDescriptorUpdateEntries(long struct)
Unsafe version ofpDescriptorUpdateEntries()
.
-
ntemplateType
public static int ntemplateType(long struct)
Unsafe version oftemplateType()
.
-
ndescriptorSetLayout
public static long ndescriptorSetLayout(long struct)
Unsafe version ofdescriptorSetLayout()
.
-
npipelineBindPoint
public static int npipelineBindPoint(long struct)
Unsafe version ofpipelineBindPoint()
.
-
npipelineLayout
public static long npipelineLayout(long struct)
Unsafe version ofpipelineLayout()
.
-
nset
public static int nset(long struct)
Unsafe version ofset()
.
-
nsType
public static void nsType(long struct, int value)
Unsafe version ofsType
.
-
npNext
public static void npNext(long struct, long value)
Unsafe version ofpNext
.
-
nflags
public static void nflags(long struct, int value)
Unsafe version offlags
.
-
ndescriptorUpdateEntryCount
public static void ndescriptorUpdateEntryCount(long struct, int value)
Sets the specified value to thedescriptorUpdateEntryCount
field of the specifiedstruct
.
-
npDescriptorUpdateEntries
public static void npDescriptorUpdateEntries(long struct, VkDescriptorUpdateTemplateEntry.Buffer value)
Unsafe version ofpDescriptorUpdateEntries
.
-
ntemplateType
public static void ntemplateType(long struct, int value)
Unsafe version oftemplateType
.
-
ndescriptorSetLayout
public static void ndescriptorSetLayout(long struct, long value)
Unsafe version ofdescriptorSetLayout
.
-
npipelineBindPoint
public static void npipelineBindPoint(long struct, int value)
Unsafe version ofpipelineBindPoint
.
-
npipelineLayout
public static void npipelineLayout(long struct, long value)
Unsafe version ofpipelineLayout
.
-
nset
public static void nset(long struct, int value)
Unsafe version ofset
.
-
validate
public static void validate(long struct)
Validates pointer members that should not beNULL
.- Parameters:
struct
- the struct to validate
-
validate
public static void validate(long array, int count)
Callsvalidate(long)
for each struct contained in the specified struct array.- Parameters:
array
- the struct array to validatecount
- the number of structs inarray
-
-