r must be a valid VkComponentSwizzle valueg must be a valid VkComponentSwizzle valueb must be a valid VkComponentSwizzle valuea must be a valid VkComponentSwizzle valueVkAndroidHardwareBufferFormatProperties2ANDROID, VkAndroidHardwareBufferFormatPropertiesANDROID, VkImageViewCreateInfo, VkSamplerBorderColorComponentMappingCreateInfoEXT, VkSamplerYcbcrConversionCreateInfo, VkVideoFormatPropertiesKHR
struct VkComponentMapping {
VkComponentSwizzle r;
VkComponentSwizzle g;
VkComponentSwizzle b;
VkComponentSwizzle a;
}
| Modifier and Type | Class and Description |
|---|---|
| public static class | VkComponentMapping.
An array of |
| Modifier and Type | Field and Description |
|---|---|
| public static final int | A
The struct member offsets. |
| public static final int | ALIGNOF
The struct alignment in bytes. |
| public static final int | B
The struct member offsets. |
| public static final int | G
The struct member offsets. |
| public static final int | R
The struct member offsets. |
| public static final int | SIZEOF
The struct size in bytes. |
| Access | Constructor and Description |
|---|---|
| protected | |
| public | VkComponentMapping(ByteBuffer container)
Creates a |
| Modifier and Type | Method and Description |
|---|---|
| public int | a()
a |
| public VkComponentMapping | |
| public int | b()
a |
| public VkComponentMapping | |
| public static VkComponentMapping | |
| public static VkComponentMapping. | calloc(int
the buffer capacity capacity)Returns a new |
| public static VkComponentMapping | calloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static VkComponentMapping. | calloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| public static VkComponentMapping | |
| public static VkComponentMapping | |
| public static VkComponentMapping. | |
| public static VkComponentMapping. | |
| protected VkComponentMapping | create(long
the struct memory address address, ByteBuffer an optional container buffer, to be referenced strongly by the struct instance. container)Implements abstract org. the constructor, but returns the exact type of the Struct subclass.
|
| public static VkComponentMapping | |
| public static VkComponentMapping | |
| public static VkComponentMapping. | create(int
the buffer capacity capacity)Returns a new |
| public static VkComponentMapping. | create(long
the memory address address, int the buffer capacity capacity)Create a |
| public static VkComponentMapping | |
| public static VkComponentMapping. | |
| public int | g()
a |
| public VkComponentMapping | |
| public static VkComponentMapping | |
| public static VkComponentMapping. | malloc(int
the buffer capacity capacity)Returns a new |
| public static VkComponentMapping | malloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static VkComponentMapping. | malloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| public static VkComponentMapping | |
| public static VkComponentMapping | |
| public static VkComponentMapping. | |
| public static VkComponentMapping. | |
| public static int | |
| public static void | |
| public static int | |
| public static void | |
| public static int | |
| public static void | |
| public static int | |
| public static void | |
| public int | r()
a |
| public VkComponentMapping | |
| public VkComponentMapping | |
| public VkComponentMapping | Returns: this structthe source struct src)Copies the specified struct data to this struct. |
| public int |
| A | back to summary |
|---|---|
| public static final int A The struct member offsets. | |
| ALIGNOF | back to summary |
|---|---|
| public static final int ALIGNOF The struct alignment in bytes. | |
| B | back to summary |
|---|---|
| public static final int B The struct member offsets. | |
| G | back to summary |
|---|---|
| public static final int G The struct member offsets. | |
| R | back to summary |
|---|---|
| public static final int R The struct member offsets. | |
| SIZEOF | back to summary |
|---|---|
| public static final int SIZEOF The struct size in bytes. | |
| VkComponentMapping | back to summary |
|---|---|
| protected VkComponentMapping(long address, ByteBuffer container) | |
| VkComponentMapping | back to summary |
|---|---|
| public VkComponentMapping(ByteBuffer container) Creates a The created instance holds a strong reference to the container object. | |
| a | back to summary |
|---|---|
| public int a() a
| |
| a | back to summary |
|---|---|
| public VkComponentMapping a(int value) Sets the specified value to the | |
| b | back to summary |
|---|---|
| public int b() a
| |
| b | back to summary |
|---|---|
| public VkComponentMapping b(int value) Sets the specified value to the | |
| calloc | back to summary |
|---|---|
| public static VkComponentMapping calloc() Returns a new | |
| calloc | back to summary |
|---|---|
| public static VkComponentMapping. Returns a new
| |
| calloc | back to summary |
|---|---|
| public static VkComponentMapping calloc(MemoryStack stack) Returns a new
| |
| calloc | back to summary |
|---|---|
| public static VkComponentMapping. Returns a new
| |
| callocStack | back to summary |
|---|---|
| public static VkComponentMapping callocStack()
Deprecated
Deprecated for removal in 3.4.0. Use
| |
| callocStack | back to summary |
|---|---|
| public static VkComponentMapping callocStack(MemoryStack stack)
Deprecated
Deprecated for removal in 3.4.0. Use
| |
| callocStack | back to summary |
|---|---|
| public static VkComponentMapping. Deprecated
Deprecated for removal in 3.4.0. Use
| |
| callocStack | back to summary |
|---|---|
| public static VkComponentMapping. Deprecated
Deprecated for removal in 3.4.0. Use
| |
| create | back to summary |
|---|---|
| protected VkComponentMapping create(long address, ByteBuffer container) Implements abstract org. Doc from org. Similar to Effectively, every
| |
| create | back to summary |
|---|---|
| public static VkComponentMapping create() Returns a new | |
| create | back to summary |
|---|---|
| public static VkComponentMapping create(long address) Returns a new | |
| create | back to summary |
|---|---|
| public static VkComponentMapping. Returns a new
| |
| create | back to summary |
|---|---|
| public static VkComponentMapping. Create a
| |
| createSafe | back to summary |
|---|---|
| public static VkComponentMapping createSafe(long address) Like
| |
| createSafe | back to summary |
|---|---|
| public static VkComponentMapping. Like
| |
| g | back to summary |
|---|---|
| public int g() a
| |
| g | back to summary |
|---|---|
| public VkComponentMapping g(int value) Sets the specified value to the | |
| malloc | back to summary |
|---|---|
| public static VkComponentMapping malloc() Returns a new | |
| malloc | back to summary |
|---|---|
| public static VkComponentMapping. Returns a new
| |
| malloc | back to summary |
|---|---|
| public static VkComponentMapping malloc(MemoryStack stack) Returns a new
| |
| malloc | back to summary |
|---|---|
| public static VkComponentMapping. Returns a new
| |
| mallocStack | back to summary |
|---|---|
| public static VkComponentMapping mallocStack()
Deprecated
Deprecated for removal in 3.4.0. Use
| |
| mallocStack | back to summary |
|---|---|
| public static VkComponentMapping mallocStack(MemoryStack stack)
Deprecated
Deprecated for removal in 3.4.0. Use
| |
| mallocStack | back to summary |
|---|---|
| public static VkComponentMapping. Deprecated
Deprecated for removal in 3.4.0. Use
| |
| mallocStack | back to summary |
|---|---|
| public static VkComponentMapping. Deprecated
Deprecated for removal in 3.4.0. Use
| |
| na | back to summary |
|---|---|
| public static int na(long struct) Unsafe version of | |
| na | back to summary |
|---|---|
| public static void na(long struct, int value) Unsafe version of | |
| nb | back to summary |
|---|---|
| public static int nb(long struct) Unsafe version of | |
| nb | back to summary |
|---|---|
| public static void nb(long struct, int value) Unsafe version of | |
| ng | back to summary |
|---|---|
| public static int ng(long struct) Unsafe version of | |
| ng | back to summary |
|---|---|
| public static void ng(long struct, int value) Unsafe version of | |
| nr | back to summary |
|---|---|
| public static int nr(long struct) Unsafe version of | |
| nr | back to summary |
|---|---|
| public static void nr(long struct, int value) Unsafe version of | |
| r | back to summary |
|---|---|
| public int r() a
| |
| r | back to summary |
|---|---|
| public VkComponentMapping r(int value) Sets the specified value to the | |
| set | back to summary |
|---|---|
| public VkComponentMapping set(int r, int g, int b, int a) Initializes this struct with the specified values. | |
| set | back to summary |
|---|---|
| public VkComponentMapping set(VkComponentMapping src) Copies the specified struct data to this struct.
| |
| sizeof | back to summary |
|---|---|
| public int sizeof() Implements abstract org. Doc from org. Returns
| |
VkComponentMapping structs.
| Modifier and Type | Field and Description |
|---|---|
| private static final VkComponentMapping |
| Access | Constructor and Description |
|---|---|
| public | Buffer(ByteBuffer container)
Creates a new |
| public | |
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public int | |
| public VkComponentMapping. | |
| public int | |
| public VkComponentMapping. | |
| public int | |
| public VkComponentMapping. | |
| protected VkComponentMapping | |
| public int | |
| public VkComponentMapping. | |
| protected VkComponentMapping. |
| ELEMENT_FACTORY | back to summary |
|---|---|
| private static final VkComponentMapping ELEMENT_FACTORY | |
| Buffer | back to summary |
|---|---|
| public Buffer(ByteBuffer container) Creates a new 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
by The created buffer instance holds a strong reference to the container object. | |
| Buffer | back to summary |
|---|---|
| public Buffer(long address, int cap) | |
| Buffer | back to summary |
|---|---|
| pack-priv Buffer(long address, ByteBuffer container, int mark, int pos, int lim, int cap) | |
| a | back to summary |
|---|---|
public int a()
| |
| a | back to summary |
|---|---|
| public VkComponentMapping. Sets the specified value to the | |
| b | back to summary |
|---|---|
public int b()
| |
| b | back to summary |
|---|---|
| public VkComponentMapping. Sets the specified value to the | |
| g | back to summary |
|---|---|
public int g()
| |
| g | back to summary |
|---|---|
| public VkComponentMapping. Sets the specified value to the | |
| getElementFactory | back to summary |
|---|---|
| protected VkComponentMapping getElementFactory() Implements abstract org.
| |
| r | back to summary |
|---|---|
public int r()
| |
| r | back to summary |
|---|---|
| public VkComponentMapping. Sets the specified value to the | |
| self | back to summary |
|---|---|
| protected VkComponentMapping. Implements abstract org.
| |