Class VkApplicationInfo.Buffer
java.lang.Object
overrungl.struct.GroupType
overrungl.vulkan.struct.VkApplicationInfo
overrungl.vulkan.struct.VkApplicationInfo.Buffer
- All Implemented Interfaces:
Addressable
- Enclosing class:
VkApplicationInfo
A buffer of
VkApplicationInfo
.-
Nested Class Summary
Nested classes/interfaces inherited from class overrungl.vulkan.struct.VkApplicationInfo
VkApplicationInfo.Buffer
-
Field Summary
Fields inherited from class overrungl.vulkan.struct.VkApplicationInfo
LAYOUT, LAYOUT_apiVersion, LAYOUT_applicationVersion, LAYOUT_engineVersion, LAYOUT_pApplicationName, LAYOUT_pEngineName, LAYOUT_pNext, LAYOUT_sType, OFFSET_apiVersion, OFFSET_applicationVersion, OFFSET_engineVersion, OFFSET_pApplicationName, OFFSET_pEngineName, OFFSET_pNext, OFFSET_sType, VH_apiVersion, VH_applicationVersion, VH_engineVersion, VH_pApplicationName, VH_pEngineName, VH_pNext, VH_sType
-
Constructor Summary
ConstructorsConstructorDescriptionBuffer
(MemorySegment segment, long elementCount) CreatesVkApplicationInfo.Buffer
with the given segment. -
Method Summary
Modifier and TypeMethodDescriptionint
apiVersionAt
(long index) ReturnsapiVersion
at the given index.apiVersionAt
(long index, int value) SetsapiVersion
with the given value at the given index.int
applicationVersionAt
(long index) ReturnsapplicationVersion
at the given index.applicationVersionAt
(long index, int value) SetsapplicationVersion
with the given value at the given index.asSlice
(long index) Creates a slice ofVkApplicationInfo
.asSlice
(long index, long count) Creates a slice ofVkApplicationInfo
.int
engineVersionAt
(long index) ReturnsengineVersion
at the given index.engineVersionAt
(long index, int value) SetsengineVersion
with the given value at the given index.long
Estimates the element count of this group type buffer.pApplicationNameAt
(long index) ReturnspApplicationName
at the given index.pApplicationNameAt
(long index, MemorySegment value) SetspApplicationName
with the given value at the given index.pEngineNameAt
(long index) ReturnspEngineName
at the given index.pEngineNameAt
(long index, MemorySegment value) SetspEngineName
with the given value at the given index.pNextAt
(long index) ReturnspNext
at the given index.pNextAt
(long index, MemorySegment value) SetspNext
with the given value at the given index.int
sTypeAt
(long index) ReturnssType
at the given index.sTypeAt
(long index, int value) SetssType
with the given value at the given index.Methods inherited from class overrungl.vulkan.struct.VkApplicationInfo
alloc, alloc, apiVersion, apiVersion, apiVersion, apiVersion, applicationVersion, applicationVersion, applicationVersion, applicationVersion, asBuffer, copyFrom, engineVersion, engineVersion, engineVersion, engineVersion, of, ofNative, ofNative, pApplicationName, pApplicationName, pApplicationName, pApplicationName, pEngineName, pEngineName, pEngineName, pEngineName, pNext, pNext, pNext, pNext, sType, sType, sType, sType
Methods inherited from class overrungl.struct.GroupType
estimateCount, groupLayout, segment
-
Constructor Details
-
Buffer
CreatesVkApplicationInfo.Buffer
with the given segment.- Parameters:
segment
- the memory segmentelementCount
- the element count
-
-
Method Details
-
estimateCount
public long estimateCount()Description copied from class:GroupType
Estimates the element count of this group type buffer.- Overrides:
estimateCount
in classGroupType
- Returns:
- the estimated element count of the group type buffer
-
asSlice
Creates a slice ofVkApplicationInfo
.- Parameters:
index
- the index of the struct buffer- Returns:
- the slice of
VkApplicationInfo
-
asSlice
Creates a slice ofVkApplicationInfo
.- Parameters:
index
- the index of the struct buffercount
- the count- Returns:
- the slice of
VkApplicationInfo
-
sTypeAt
public int sTypeAt(long index) ReturnssType
at the given index.- Parameters:
index
- the index of the struct buffer- Returns:
sType
at the given index
-
sTypeAt
SetssType
with the given value at the given index.- Parameters:
index
- the index of the struct buffervalue
- the value- Returns:
this
-
pNextAt
ReturnspNext
at the given index.- Parameters:
index
- the index of the struct buffer- Returns:
pNext
at the given index
-
pNextAt
SetspNext
with the given value at the given index.- Parameters:
index
- the index of the struct buffervalue
- the value- Returns:
this
-
pApplicationNameAt
ReturnspApplicationName
at the given index.- Parameters:
index
- the index of the struct buffer- Returns:
pApplicationName
at the given index
-
pApplicationNameAt
SetspApplicationName
with the given value at the given index.- Parameters:
index
- the index of the struct buffervalue
- the value- Returns:
this
-
applicationVersionAt
public int applicationVersionAt(long index) ReturnsapplicationVersion
at the given index.- Parameters:
index
- the index of the struct buffer- Returns:
applicationVersion
at the given index
-
applicationVersionAt
SetsapplicationVersion
with the given value at the given index.- Parameters:
index
- the index of the struct buffervalue
- the value- Returns:
this
-
pEngineNameAt
ReturnspEngineName
at the given index.- Parameters:
index
- the index of the struct buffer- Returns:
pEngineName
at the given index
-
pEngineNameAt
SetspEngineName
with the given value at the given index.- Parameters:
index
- the index of the struct buffervalue
- the value- Returns:
this
-
engineVersionAt
public int engineVersionAt(long index) ReturnsengineVersion
at the given index.- Parameters:
index
- the index of the struct buffer- Returns:
engineVersion
at the given index
-
engineVersionAt
SetsengineVersion
with the given value at the given index.- Parameters:
index
- the index of the struct buffervalue
- the value- Returns:
this
-
apiVersionAt
public int apiVersionAt(long index) ReturnsapiVersion
at the given index.- Parameters:
index
- the index of the struct buffer- Returns:
apiVersion
at the given index
-
apiVersionAt
SetsapiVersion
with the given value at the given index.- Parameters:
index
- the index of the struct buffervalue
- the value- Returns:
this
-