The bits reported in formatFeatures must include the bits reported in the corresponding fields of VkAndroidHardwareBufferFormatPropertiesANDROID::formatFeatures.
struct VkAndroidHardwareBufferFormatProperties2ANDROID {
VkStructureType sType;
void * pNext;
VkFormat format;
uint64_t externalFormat;
VkFormatFeatureFlags2 formatFeatures;
VkComponentMapping samplerYcbcrConversionComponents;
VkSamplerYcbcrModelConversion suggestedYcbcrModel;
VkSamplerYcbcrRange suggestedYcbcrRange;
VkChromaLocation suggestedXChromaOffset;
VkChromaLocation suggestedYChromaOffset;
}
| Modifier and Type | Class and Description |
|---|---|
| public static class |
| Modifier and Type | Field and Description |
|---|---|
| public static final int | ALIGNOF
The struct alignment in bytes. |
| public static final int | EXTERNALFORMAT
The struct member offsets. |
| public static final int | FORMAT
The struct member offsets. |
| public static final int | FORMATFEATURES
The struct member offsets. |
| public static final int | PNEXT
The struct member offsets. |
| public static final int | SAMPLERYCBCRCONVERSIONCOMPONENTS
The struct member offsets. |
| public static final int | SIZEOF
The struct size in bytes. |
| public static final int | STYPE
The struct member offsets. |
| public static final int | SUGGESTEDXCHROMAOFFSET
The struct member offsets. |
| public static final int | SUGGESTEDYCBCRMODEL
The struct member offsets. |
| public static final int | SUGGESTEDYCBCRRANGE
The struct member offsets. |
| public static final int | SUGGESTEDYCHROMAOFFSET
The struct member offsets. |
| Access | Constructor and Description |
|---|---|
| protected | |
| public | VkAndroidHardwareBufferFormatProperties2ANDROID(ByteBuffer container)
Creates a |
| Modifier and Type | Method and Description |
|---|---|
| public static VkAndroidHardwareBufferFormatProperties2ANDROID | |
| public static VkAndroidHardwareBufferFormatProperties2ANDROID. | calloc(int
the buffer capacity capacity)Returns a new |
| public static VkAndroidHardwareBufferFormatProperties2ANDROID | calloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static VkAndroidHardwareBufferFormatProperties2ANDROID. | calloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| protected VkAndroidHardwareBufferFormatProperties2ANDROID | 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 VkAndroidHardwareBufferFormatProperties2ANDROID | create()
Returns a new |
| public static VkAndroidHardwareBufferFormatProperties2ANDROID | create(long address)
Returns a new |
| public static VkAndroidHardwareBufferFormatProperties2ANDROID. | create(int
the buffer capacity capacity)Returns a new |
| public static VkAndroidHardwareBufferFormatProperties2ANDROID. | create(long
the memory address address, int the buffer capacity capacity)Create a |
| public static VkAndroidHardwareBufferFormatProperties2ANDROID | |
| public static VkAndroidHardwareBufferFormatProperties2ANDROID. | |
| public long | externalFormat()
an implementation-defined external format identifier for use with |
| public int | format()
the Vulkan format corresponding to the Android hardware buffer’s format, or |
| public long | formatFeatures()
describes the capabilities of this external format when used with an image bound to memory imported from |
| public static VkAndroidHardwareBufferFormatProperties2ANDROID | |
| public static VkAndroidHardwareBufferFormatProperties2ANDROID. | malloc(int
the buffer capacity capacity)Returns a new |
| public static VkAndroidHardwareBufferFormatProperties2ANDROID | malloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static VkAndroidHardwareBufferFormatProperties2ANDROID. | malloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| public static long | |
| public static int | |
| public static long | |
| public static long | |
| public static void | |
| public static VkComponentMapping | |
| public static int | |
| public static void | |
| public static int | |
| public static int | |
| public static int | |
| public static int | |
| public long | |
| public VkAndroidHardwareBufferFormatProperties2ANDROID | |
| public VkComponentMapping | samplerYcbcrConversionComponents()
the component swizzle that should be used in |
| public VkAndroidHardwareBufferFormatProperties2ANDROID | |
| public VkAndroidHardwareBufferFormatProperties2ANDROID | Returns: this structthe source struct src)Copies the specified struct data to this struct. |
| public int | |
| public int | |
| public VkAndroidHardwareBufferFormatProperties2ANDROID | |
| public VkAndroidHardwareBufferFormatProperties2ANDROID | sType$Default()
Sets the |
| public int | |
| public int | |
| public int | suggestedYcbcrRange()
a suggested numerical value range to use in |
| public int |
| ALIGNOF | back to summary |
|---|---|
| public static final int ALIGNOF The struct alignment in bytes. | |
| EXTERNALFORMAT | back to summary |
|---|---|
| public static final int EXTERNALFORMAT The struct member offsets. | |
| FORMAT | back to summary |
|---|---|
| public static final int FORMAT The struct member offsets. | |
| FORMATFEATURES | back to summary |
|---|---|
| public static final int FORMATFEATURES The struct member offsets. | |
| PNEXT | back to summary |
|---|---|
| public static final int PNEXT The struct member offsets. | |
| SAMPLERYCBCRCONVERSIONCOMPONENTS | back to summary |
|---|---|
| public static final int SAMPLERYCBCRCONVERSIONCOMPONENTS The struct member offsets. | |
| SIZEOF | back to summary |
|---|---|
| public static final int SIZEOF The struct size in bytes. | |
| STYPE | back to summary |
|---|---|
| public static final int STYPE The struct member offsets. | |
| SUGGESTEDXCHROMAOFFSET | back to summary |
|---|---|
| public static final int SUGGESTEDXCHROMAOFFSET The struct member offsets. | |
| SUGGESTEDYCBCRMODEL | back to summary |
|---|---|
| public static final int SUGGESTEDYCBCRMODEL The struct member offsets. | |
| SUGGESTEDYCBCRRANGE | back to summary |
|---|---|
| public static final int SUGGESTEDYCBCRRANGE The struct member offsets. | |
| SUGGESTEDYCHROMAOFFSET | back to summary |
|---|---|
| public static final int SUGGESTEDYCHROMAOFFSET The struct member offsets. | |
| VkAndroidHardwareBufferFormatProperties2ANDROID | back to summary |
|---|---|
| protected VkAndroidHardwareBufferFormatProperties2ANDROID(long address, ByteBuffer container) | |
| VkAndroidHardwareBufferFormatProperties2ANDROID | back to summary |
|---|---|
| public VkAndroidHardwareBufferFormatProperties2ANDROID(ByteBuffer container) Creates a The created instance holds a strong reference to the container object. | |
| calloc | back to summary |
|---|---|
| public static VkAndroidHardwareBufferFormatProperties2ANDROID calloc() Returns a new | |
| calloc | back to summary |
|---|---|
| public static VkAndroidHardwareBufferFormatProperties2ANDROID. Returns a new
| |
| calloc | back to summary |
|---|---|
| public static VkAndroidHardwareBufferFormatProperties2ANDROID calloc(MemoryStack stack) Returns a new
| |
| calloc | back to summary |
|---|---|
| public static VkAndroidHardwareBufferFormatProperties2ANDROID. Returns a new
| |
| create | back to summary |
|---|---|
| protected VkAndroidHardwareBufferFormatProperties2ANDROID create(long address, ByteBuffer container) Implements abstract org. Doc from org. Similar to Effectively, every
| |
| create | back to summary |
|---|---|
| public static VkAndroidHardwareBufferFormatProperties2ANDROID create() Returns a new | |
| create | back to summary |
|---|---|
| public static VkAndroidHardwareBufferFormatProperties2ANDROID create(long address) Returns a new | |
| create | back to summary |
|---|---|
| public static VkAndroidHardwareBufferFormatProperties2ANDROID. Returns a new
| |
| create | back to summary |
|---|---|
| public static VkAndroidHardwareBufferFormatProperties2ANDROID. Create a
| |
| createSafe | back to summary |
|---|---|
| public static VkAndroidHardwareBufferFormatProperties2ANDROID createSafe(long address) Like
| |
| createSafe | back to summary |
|---|---|
| public static VkAndroidHardwareBufferFormatProperties2ANDROID. Like
| |
| externalFormat | back to summary |
|---|---|
| public long externalFormat() an implementation-defined external format identifier for use with
| |
| format | back to summary |
|---|---|
| public int format() the Vulkan format corresponding to the Android hardware buffer’s format, or
| |
| formatFeatures | back to summary |
|---|---|
| public long formatFeatures() describes the capabilities of this external format when used with an image bound to memory imported from
| |
| malloc | back to summary |
|---|---|
| public static VkAndroidHardwareBufferFormatProperties2ANDROID malloc() Returns a new | |
| malloc | back to summary |
|---|---|
| public static VkAndroidHardwareBufferFormatProperties2ANDROID. Returns a new
| |
| malloc | back to summary |
|---|---|
| public static VkAndroidHardwareBufferFormatProperties2ANDROID malloc(MemoryStack stack) Returns a new
| |
| malloc | back to summary |
|---|---|
| public static VkAndroidHardwareBufferFormatProperties2ANDROID. Returns a new
| |
| nexternalFormat | back to summary |
|---|---|
| public static long nexternalFormat(long struct) Unsafe version of | |
| nformat | back to summary |
|---|---|
| public static int nformat(long struct) Unsafe version of | |
| nformatFeatures | back to summary |
|---|---|
| public static long nformatFeatures(long struct) Unsafe version of | |
| npNext | back to summary |
|---|---|
| public static long npNext(long struct) Unsafe version of | |
| npNext | back to summary |
|---|---|
| public static void npNext(long struct, long value) Unsafe version of | |
| nsamplerYcbcrConversionComponents | back to summary |
|---|---|
| public static VkComponentMapping nsamplerYcbcrConversionComponents(long struct) Unsafe version of | |
| nsType | back to summary |
|---|---|
| public static int nsType(long struct) Unsafe version of | |
| nsType | back to summary |
|---|---|
| public static void nsType(long struct, int value) Unsafe version of | |
| nsuggestedXChromaOffset | back to summary |
|---|---|
| public static int nsuggestedXChromaOffset(long struct) Unsafe version of | |
| nsuggestedYcbcrModel | back to summary |
|---|---|
| public static int nsuggestedYcbcrModel(long struct) Unsafe version of | |
| nsuggestedYcbcrRange | back to summary |
|---|---|
| public static int nsuggestedYcbcrRange(long struct) Unsafe version of | |
| nsuggestedYChromaOffset | back to summary |
|---|---|
| public static int nsuggestedYChromaOffset(long struct) Unsafe version of | |
| pNext | back to summary |
|---|---|
| public long pNext()
| |
| pNext | back to summary |
|---|---|
| public VkAndroidHardwareBufferFormatProperties2ANDROID pNext(long value) Sets the specified value to the | |
| samplerYcbcrConversionComponents | back to summary |
|---|---|
| public VkComponentMapping samplerYcbcrConversionComponents() the component swizzle that should be used in | |
| set | back to summary |
|---|---|
| public VkAndroidHardwareBufferFormatProperties2ANDROID set(int sType, long pNext) Initializes this struct with the specified values. | |
| set | back to summary |
|---|---|
| public VkAndroidHardwareBufferFormatProperties2ANDROID set(VkAndroidHardwareBufferFormatProperties2ANDROID src) Copies the specified struct data to this struct.
| |
| sizeof | back to summary |
|---|---|
| public int sizeof() Implements abstract org. Doc from org. Returns
| |
| sType | back to summary |
|---|---|
| public int sType() a
| |
| sType | back to summary |
|---|---|
| public VkAndroidHardwareBufferFormatProperties2ANDROID sType(int value) Sets the specified value to the | |
| sType$Default | back to summary |
|---|---|
| public VkAndroidHardwareBufferFormatProperties2ANDROID sType$Default() Sets the | |
| suggestedXChromaOffset | back to summary |
|---|---|
| public int suggestedXChromaOffset() a suggested X chroma offset to use in
| |
| suggestedYcbcrModel | back to summary |
|---|---|
| public int suggestedYcbcrModel() a suggested color model to use in the
| |
| suggestedYcbcrRange | back to summary |
|---|---|
| public int suggestedYcbcrRange() a suggested numerical value range to use in
| |
| suggestedYChromaOffset | back to summary |
|---|---|
| public int suggestedYChromaOffset() a suggested Y chroma offset to use in
| |
VkAndroidHardwareBufferFormatProperties2ANDROID structs.
| Modifier and Type | Field and Description |
|---|---|
| private static final VkAndroidHardwareBufferFormatProperties2ANDROID |
| Access | Constructor and Description |
|---|---|
| public | Buffer(ByteBuffer container)
Creates a new |
| public | |
| pack-priv |
| ELEMENT_FACTORY | back to summary |
|---|---|
| private static final VkAndroidHardwareBufferFormatProperties2ANDROID 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) | |
| externalFormat | back to summary |
|---|---|
public long externalFormat()
| |
| format | back to summary |
|---|---|
public int format()
| |
| formatFeatures | back to summary |
|---|---|
public long formatFeatures()
| |
| getElementFactory | back to summary |
|---|---|
| protected VkAndroidHardwareBufferFormatProperties2ANDROID getElementFactory() Implements abstract org.
| |
| pNext | back to summary |
|---|---|
public long pNext()
| |
| pNext | back to summary |
|---|---|
| public VkAndroidHardwareBufferFormatProperties2ANDROID. Sets the specified value to the | |
| samplerYcbcrConversionComponents | back to summary |
|---|---|
public VkComponentMapping samplerYcbcrConversionComponents()
| |
| self | back to summary |
|---|---|
| protected VkAndroidHardwareBufferFormatProperties2ANDROID. Implements abstract org.
| |
| sType | back to summary |
|---|---|
public int sType()
| |
| sType | back to summary |
|---|---|
| public VkAndroidHardwareBufferFormatProperties2ANDROID. Sets the specified value to the | |
| sType$Default | back to summary |
|---|---|
| public VkAndroidHardwareBufferFormatProperties2ANDROID. Sets the | |
| suggestedXChromaOffset | back to summary |
|---|---|
public int suggestedXChromaOffset()
| |
| suggestedYcbcrModel | back to summary |
|---|---|
public int suggestedYcbcrModel()
| |
| suggestedYcbcrRange | back to summary |
|---|---|
public int suggestedYcbcrRange()
| |
| suggestedYChromaOffset | back to summary |
|---|---|
public int suggestedYChromaOffset()
| |