public class ShadercSPVCCombinedImageSampler
extends org.lwjgl.system.Struct
implements org.lwjgl.system.NativeResource
struct shaderc_spvc_combined_image_sampler {
uint32_t combined_id;
uint32_t image_id;
uint32_t sampler_id;
}| Modifier and Type | Class and Description |
|---|---|
static class |
ShadercSPVCCombinedImageSampler.Buffer
An array of
ShadercSPVCCombinedImageSampler structs. |
| Modifier and Type | Field and Description |
|---|---|
static int |
ALIGNOF
The struct alignment in bytes.
|
static int |
COMBINED_ID
The struct member offsets.
|
static int |
IMAGE_ID
The struct member offsets.
|
static int |
SAMPLER_ID
The struct member offsets.
|
static int |
SIZEOF
The struct size in bytes.
|
| Constructor and Description |
|---|
ShadercSPVCCombinedImageSampler(java.nio.ByteBuffer container)
Creates a
ShadercSPVCCombinedImageSampler instance at the current position of the specified ByteBuffer container. |
| Modifier and Type | Method and Description |
|---|---|
static ShadercSPVCCombinedImageSampler |
calloc()
Returns a new
ShadercSPVCCombinedImageSampler instance allocated with memCalloc. |
static ShadercSPVCCombinedImageSampler.Buffer |
calloc(int capacity)
Returns a new
ShadercSPVCCombinedImageSampler.Buffer instance allocated with memCalloc. |
static ShadercSPVCCombinedImageSampler |
callocStack()
Returns a new
ShadercSPVCCombinedImageSampler instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static ShadercSPVCCombinedImageSampler.Buffer |
callocStack(int capacity)
Returns a new
ShadercSPVCCombinedImageSampler.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static ShadercSPVCCombinedImageSampler.Buffer |
callocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
ShadercSPVCCombinedImageSampler.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero. |
static ShadercSPVCCombinedImageSampler |
callocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
ShadercSPVCCombinedImageSampler instance allocated on the specified MemoryStack and initializes all its bits to zero. |
int |
combined_id()
Returns the value of the
combined_id field. |
static ShadercSPVCCombinedImageSampler |
create()
Returns a new
ShadercSPVCCombinedImageSampler instance allocated with BufferUtils. |
static ShadercSPVCCombinedImageSampler.Buffer |
create(int capacity)
Returns a new
ShadercSPVCCombinedImageSampler.Buffer instance allocated with BufferUtils. |
static ShadercSPVCCombinedImageSampler |
create(long address)
Returns a new
ShadercSPVCCombinedImageSampler instance for the specified memory address. |
static ShadercSPVCCombinedImageSampler.Buffer |
create(long address,
int capacity)
Create a
ShadercSPVCCombinedImageSampler.Buffer instance at the specified memory. |
static ShadercSPVCCombinedImageSampler |
createSafe(long address)
|
static ShadercSPVCCombinedImageSampler.Buffer |
createSafe(long address,
int capacity)
|
int |
image_id()
Returns the value of the
image_id field. |
static ShadercSPVCCombinedImageSampler |
malloc()
Returns a new
ShadercSPVCCombinedImageSampler instance allocated with memAlloc. |
static ShadercSPVCCombinedImageSampler.Buffer |
malloc(int capacity)
Returns a new
ShadercSPVCCombinedImageSampler.Buffer instance allocated with memAlloc. |
static ShadercSPVCCombinedImageSampler |
mallocStack()
Returns a new
ShadercSPVCCombinedImageSampler instance allocated on the thread-local MemoryStack. |
static ShadercSPVCCombinedImageSampler.Buffer |
mallocStack(int capacity)
Returns a new
ShadercSPVCCombinedImageSampler.Buffer instance allocated on the thread-local MemoryStack. |
static ShadercSPVCCombinedImageSampler.Buffer |
mallocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
ShadercSPVCCombinedImageSampler.Buffer instance allocated on the specified MemoryStack. |
static ShadercSPVCCombinedImageSampler |
mallocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
ShadercSPVCCombinedImageSampler instance allocated on the specified MemoryStack. |
static int |
ncombined_id(long struct)
Unsafe version of
combined_id(). |
static int |
nimage_id(long struct)
Unsafe version of
image_id(). |
static int |
nsampler_id(long struct)
Unsafe version of
sampler_id(). |
int |
sampler_id()
Returns the value of the
sampler_id field. |
int |
sizeof() |
public static final int SIZEOF
public static final int ALIGNOF
public static final int COMBINED_ID
public static final int IMAGE_ID
public static final int SAMPLER_ID
public ShadercSPVCCombinedImageSampler(java.nio.ByteBuffer container)
ShadercSPVCCombinedImageSampler 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 combined_id()
combined_id field.public int image_id()
image_id field.public int sampler_id()
sampler_id field.public static ShadercSPVCCombinedImageSampler malloc()
ShadercSPVCCombinedImageSampler instance allocated with memAlloc. The instance must be explicitly freed.public static ShadercSPVCCombinedImageSampler calloc()
ShadercSPVCCombinedImageSampler instance allocated with memCalloc. The instance must be explicitly freed.public static ShadercSPVCCombinedImageSampler create()
ShadercSPVCCombinedImageSampler instance allocated with BufferUtils.public static ShadercSPVCCombinedImageSampler create(long address)
ShadercSPVCCombinedImageSampler instance for the specified memory address.@Nullable public static ShadercSPVCCombinedImageSampler createSafe(long address)
public static ShadercSPVCCombinedImageSampler.Buffer malloc(int capacity)
ShadercSPVCCombinedImageSampler.Buffer instance allocated with memAlloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static ShadercSPVCCombinedImageSampler.Buffer calloc(int capacity)
ShadercSPVCCombinedImageSampler.Buffer instance allocated with memCalloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static ShadercSPVCCombinedImageSampler.Buffer create(int capacity)
ShadercSPVCCombinedImageSampler.Buffer instance allocated with BufferUtils.capacity - the buffer capacitypublic static ShadercSPVCCombinedImageSampler.Buffer create(long address, int capacity)
ShadercSPVCCombinedImageSampler.Buffer instance at the specified memory.address - the memory addresscapacity - the buffer capacity@Nullable public static ShadercSPVCCombinedImageSampler.Buffer createSafe(long address, int capacity)
public static ShadercSPVCCombinedImageSampler mallocStack()
ShadercSPVCCombinedImageSampler instance allocated on the thread-local MemoryStack.public static ShadercSPVCCombinedImageSampler callocStack()
ShadercSPVCCombinedImageSampler instance allocated on the thread-local MemoryStack and initializes all its bits to zero.public static ShadercSPVCCombinedImageSampler mallocStack(org.lwjgl.system.MemoryStack stack)
ShadercSPVCCombinedImageSampler instance allocated on the specified MemoryStack.stack - the stack from which to allocatepublic static ShadercSPVCCombinedImageSampler callocStack(org.lwjgl.system.MemoryStack stack)
ShadercSPVCCombinedImageSampler instance allocated on the specified MemoryStack and initializes all its bits to zero.stack - the stack from which to allocatepublic static ShadercSPVCCombinedImageSampler.Buffer mallocStack(int capacity)
ShadercSPVCCombinedImageSampler.Buffer instance allocated on the thread-local MemoryStack.capacity - the buffer capacitypublic static ShadercSPVCCombinedImageSampler.Buffer callocStack(int capacity)
ShadercSPVCCombinedImageSampler.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero.capacity - the buffer capacitypublic static ShadercSPVCCombinedImageSampler.Buffer mallocStack(int capacity, org.lwjgl.system.MemoryStack stack)
ShadercSPVCCombinedImageSampler.Buffer instance allocated on the specified MemoryStack.stack - the stack from which to allocatecapacity - the buffer capacitypublic static ShadercSPVCCombinedImageSampler.Buffer callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
ShadercSPVCCombinedImageSampler.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 ncombined_id(long struct)
combined_id().public static int nimage_id(long struct)
image_id().public static int nsampler_id(long struct)
sampler_id().Copyright LWJGL. All Rights Reserved. License terms.