Package org.lwjgl.vulkan
Class VkPipelineExecutableInternalRepresentationKHR.Buffer
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.CustomBuffer<SELF>
-
- org.lwjgl.system.StructBuffer<VkPipelineExecutableInternalRepresentationKHR,VkPipelineExecutableInternalRepresentationKHR.Buffer>
-
- org.lwjgl.vulkan.VkPipelineExecutableInternalRepresentationKHR.Buffer
-
- All Implemented Interfaces:
java.lang.AutoCloseable
,java.lang.Iterable<VkPipelineExecutableInternalRepresentationKHR>
,org.lwjgl.system.NativeResource
,org.lwjgl.system.Pointer
- Enclosing class:
- VkPipelineExecutableInternalRepresentationKHR
public static class VkPipelineExecutableInternalRepresentationKHR.Buffer extends org.lwjgl.system.StructBuffer<VkPipelineExecutableInternalRepresentationKHR,VkPipelineExecutableInternalRepresentationKHR.Buffer> implements org.lwjgl.system.NativeResource
An array ofVkPipelineExecutableInternalRepresentationKHR
structs.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description long
dataSize()
Returns the value of thedataSize
field.VkPipelineExecutableInternalRepresentationKHR.Buffer
dataSize(long value)
Sets the specified value to thedataSize
field.java.nio.ByteBuffer
description()
Returns aByteBuffer
view of thedescription
field.VkPipelineExecutableInternalRepresentationKHR.Buffer
description(java.nio.ByteBuffer value)
Copies the specified encoded string to thedescription
field.java.lang.String
descriptionString()
Decodes the null-terminated string stored in thedescription
field.boolean
isText()
Returns the value of theisText
field.VkPipelineExecutableInternalRepresentationKHR.Buffer
isText(boolean value)
Sets the specified value to theisText
field.java.nio.ByteBuffer
name()
Returns aByteBuffer
view of thename
field.VkPipelineExecutableInternalRepresentationKHR.Buffer
name(java.nio.ByteBuffer value)
Copies the specified encoded string to thename
field.java.lang.String
nameString()
Decodes the null-terminated string stored in thename
field.java.nio.ByteBuffer
pData()
Returns aByteBuffer
view of the data pointed to by thepData
field.VkPipelineExecutableInternalRepresentationKHR.Buffer
pData(java.nio.ByteBuffer value)
Sets the address of the specifiedByteBuffer
to thepData
field.long
pNext()
Returns the value of thepNext
field.VkPipelineExecutableInternalRepresentationKHR.Buffer
pNext(long value)
Sets the specified value to thepNext
field.int
sType()
Returns the value of thesType
field.VkPipelineExecutableInternalRepresentationKHR.Buffer
sType(int value)
Sets the specified value to thesType
field.
-
-
-
Constructor Detail
-
Buffer
public Buffer(java.nio.ByteBuffer container)
Creates a newVkPipelineExecutableInternalRepresentationKHR.Buffer
instance backed by the specified container. Changes to the container's content will be visible to the struct buffer instance and vice versa. The two buffers' position, limit, and mark values will be independent. The new buffer's position will be zero, its capacity and its limit will be the number of bytes remaining in this buffer divided byVkPipelineExecutableInternalRepresentationKHR.SIZEOF
, and its mark will be undefined.The created buffer instance holds a strong reference to the container object.
-
Buffer
public Buffer(long address, int cap)
-
-
Method Detail
-
sType
public int sType()
Returns the value of thesType
field.
-
pNext
public long pNext()
Returns the value of thepNext
field.
-
name
public java.nio.ByteBuffer name()
Returns aByteBuffer
view of thename
field.
-
nameString
public java.lang.String nameString()
Decodes the null-terminated string stored in thename
field.
-
description
public java.nio.ByteBuffer description()
Returns aByteBuffer
view of thedescription
field.
-
descriptionString
public java.lang.String descriptionString()
Decodes the null-terminated string stored in thedescription
field.
-
isText
public boolean isText()
Returns the value of theisText
field.
-
dataSize
public long dataSize()
Returns the value of thedataSize
field.
-
pData
@Nullable public java.nio.ByteBuffer pData()
Returns aByteBuffer
view of the data pointed to by thepData
field.
-
sType
public VkPipelineExecutableInternalRepresentationKHR.Buffer sType(int value)
Sets the specified value to thesType
field.
-
pNext
public VkPipelineExecutableInternalRepresentationKHR.Buffer pNext(long value)
Sets the specified value to thepNext
field.
-
name
public VkPipelineExecutableInternalRepresentationKHR.Buffer name(java.nio.ByteBuffer value)
Copies the specified encoded string to thename
field.
-
description
public VkPipelineExecutableInternalRepresentationKHR.Buffer description(java.nio.ByteBuffer value)
Copies the specified encoded string to thedescription
field.
-
isText
public VkPipelineExecutableInternalRepresentationKHR.Buffer isText(boolean value)
Sets the specified value to theisText
field.
-
dataSize
public VkPipelineExecutableInternalRepresentationKHR.Buffer dataSize(long value)
Sets the specified value to thedataSize
field.
-
pData
public VkPipelineExecutableInternalRepresentationKHR.Buffer pData(@Nullable java.nio.ByteBuffer value)
Sets the address of the specifiedByteBuffer
to thepData
field.
-
-