Package org.lwjgl.util.spvc
Class SpvcCombinedImageSampler.Buffer
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.CustomBuffer<SELF>
-
- org.lwjgl.system.StructBuffer<SpvcCombinedImageSampler,SpvcCombinedImageSampler.Buffer>
-
- org.lwjgl.util.spvc.SpvcCombinedImageSampler.Buffer
-
- All Implemented Interfaces:
java.lang.AutoCloseable,java.lang.Iterable<SpvcCombinedImageSampler>,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
- Enclosing class:
- SpvcCombinedImageSampler
public static class SpvcCombinedImageSampler.Buffer extends org.lwjgl.system.StructBuffer<SpvcCombinedImageSampler,SpvcCombinedImageSampler.Buffer> implements org.lwjgl.system.NativeResource
An array ofSpvcCombinedImageSamplerstructs.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intcombined_id()SpvcCombinedImageSampler.Buffercombined_id(int value)Sets the specified value to theSpvcCombinedImageSampler.combined_id()field.intimage_id()SpvcCombinedImageSampler.Bufferimage_id(int value)Sets the specified value to theSpvcCombinedImageSampler.image_id()field.intsampler_id()SpvcCombinedImageSampler.Buffersampler_id(int value)Sets the specified value to theSpvcCombinedImageSampler.sampler_id()field.
-
-
-
Constructor Detail
-
Buffer
public Buffer(java.nio.ByteBuffer container)
Creates a newSpvcCombinedImageSampler.Bufferinstance 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 bySpvcCombinedImageSampler.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
-
combined_id
public int combined_id()
- Returns:
- the value of the
SpvcCombinedImageSampler.combined_id()field.
-
image_id
public int image_id()
- Returns:
- the value of the
SpvcCombinedImageSampler.image_id()field.
-
sampler_id
public int sampler_id()
- Returns:
- the value of the
SpvcCombinedImageSampler.sampler_id()field.
-
combined_id
public SpvcCombinedImageSampler.Buffer combined_id(int value)
Sets the specified value to theSpvcCombinedImageSampler.combined_id()field.
-
image_id
public SpvcCombinedImageSampler.Buffer image_id(int value)
Sets the specified value to theSpvcCombinedImageSampler.image_id()field.
-
sampler_id
public SpvcCombinedImageSampler.Buffer sampler_id(int value)
Sets the specified value to theSpvcCombinedImageSampler.sampler_id()field.
-
-