type must be TYPE_SWAPCHAIN_CREATE_INFOnext must be NULL or a valid pointer to the next structure in a structure chain. See also: XrSecondaryViewConfigurationSwapchainCreateInfoMSFT, XrSwapchainCreateInfoFoveationFB, XrVulkanSwapchainCreateInfoMETAcreateFlags must be 0 or a valid combination of XrSwapchainCreateFlagBits valuesusageFlags must be 0 or a valid combination of XrSwapchainUsageFlagBits valuesCreateSession, CreateSwapchain, EnumerateSwapchainFormats
struct XrSwapchainCreateInfo {
XrStructureType type;
void const * next;
XrSwapchainCreateFlags createFlags;
XrSwapchainUsageFlags usageFlags;
int64_t format;
uint32_t sampleCount;
uint32_t width;
uint32_t height;
uint32_t faceCount;
uint32_t arraySize;
uint32_t mipCount;
}
| Modifier and Type | Class and Description |
|---|---|
| public static class | XrSwapchainCreateInfo.
An array of |
| Modifier and Type | Field and Description |
|---|---|
| public static final int | ALIGNOF
The struct alignment in bytes. |
| public static final int | ARRAYSIZE
The struct member offsets. |
| public static final int | CREATEFLAGS
The struct member offsets. |
| public static final int | FACECOUNT
The struct member offsets. |
| public static final int | FORMAT
The struct member offsets. |
| public static final int | HEIGHT
The struct member offsets. |
| public static final int | MIPCOUNT
The struct member offsets. |
| public static final int | NEXT
The struct member offsets. |
| public static final int | SAMPLECOUNT
The struct member offsets. |
| public static final int | SIZEOF
The struct size in bytes. |
| public static final int | TYPE
The struct member offsets. |
| public static final int | USAGEFLAGS
The struct member offsets. |
| public static final int | WIDTH
The struct member offsets. |
| Access | Constructor and Description |
|---|---|
| protected | |
| public | XrSwapchainCreateInfo(ByteBuffer container)
Creates a |
| Modifier and Type | Method and Description |
|---|---|
| public int | arraySize()
the number of array layers in the image or 1 for a 2D image, must not be 0 or greater than the graphics API’s maximum limit. |
| public XrSwapchainCreateInfo | |
| public static XrSwapchainCreateInfo | |
| public static XrSwapchainCreateInfo. | calloc(int
the buffer capacity capacity)Returns a new |
| public static XrSwapchainCreateInfo | calloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static XrSwapchainCreateInfo. | calloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| protected XrSwapchainCreateInfo | 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 XrSwapchainCreateInfo | |
| public static XrSwapchainCreateInfo | |
| public static XrSwapchainCreateInfo. | create(int
the buffer capacity capacity)Returns a new |
| public static XrSwapchainCreateInfo. | create(long
the memory address address, int the buffer capacity capacity)Create a |
| public long | createFlags()
a bitmask of |
| public XrSwapchainCreateInfo | |
| public static XrSwapchainCreateInfo | |
| public static XrSwapchainCreateInfo. | |
| public int | |
| public XrSwapchainCreateInfo | |
| public long | |
| public XrSwapchainCreateInfo | |
| public int | |
| public XrSwapchainCreateInfo | |
| public static XrSwapchainCreateInfo | |
| public static XrSwapchainCreateInfo. | malloc(int
the buffer capacity capacity)Returns a new |
| public static XrSwapchainCreateInfo | malloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static XrSwapchainCreateInfo. | malloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| public int | mipCount()
describes the number of levels of detail available for minified sampling of the image, must not be 0 or greater than the graphics API’s maximum limit. |
| public XrSwapchainCreateInfo | |
| public static int | |
| public static void | |
| public static long | |
| public static void | |
| public long | |
| public XrSwapchainCreateInfo | |
| public XrSwapchainCreateInfo | next(XrSecondaryViewConfigurationSwapchainCreateInfoMSFT value)
Prepends the specified |
| public XrSwapchainCreateInfo | next(XrSwapchainCreateInfoFoveationFB value)
Prepends the specified |
| public XrSwapchainCreateInfo | next(XrVulkanSwapchainCreateInfoMETA value)
Prepends the specified |
| public static int | |
| public static void | |
| public static long | |
| public static void | |
| public static int | |
| public static void | |
| public static int | |
| public static void | |
| public static long | |
| public static void | |
| public static int | |
| public static void | |
| public static int | |
| public static void | |
| public static long | |
| public static void | |
| public static int | |
| public static void | |
| public int | sampleCount()
the number of sub-data element samples in the image, must not be 0 or greater than the graphics API’s maximum limit. |
| public XrSwapchainCreateInfo | |
| public XrSwapchainCreateInfo | set(int type, long next, long createFlags, long usageFlags, long format, int sampleCount, int width, int height, int faceCount, int arraySize, int mipCount)
Initializes this struct with the specified values. |
| public XrSwapchainCreateInfo | Returns: this structthe source struct src)Copies the specified struct data to this struct. |
| public int | |
| public int | |
| public XrSwapchainCreateInfo | |
| public XrSwapchainCreateInfo | |
| public long | usageFlags()
a bitmask of |
| public XrSwapchainCreateInfo | |
| public int | |
| public XrSwapchainCreateInfo |