struct bgfx_texture_info_t {
bgfx_texture_format_t format;
uint32_t storageSize;
uint16_t width;
uint16_t height;
uint16_t depth;
uint16_t numLayers;
uint8_t numMips;
uint8_t bitsPerPixel;
bool cubeMap;
}
| Modifier and Type | Class and Description |
|---|---|
| public static class | BGFXTextureInfo.
An array of |
| Modifier and Type | Field and Description |
|---|---|
| public static final int | ALIGNOF
The struct alignment in bytes. |
| public static final int | BITSPERPIXEL
The struct member offsets. |
| public static final int | CUBEMAP
The struct member offsets. |
| public static final int | DEPTH
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 | NUMLAYERS
The struct member offsets. |
| public static final int | NUMMIPS
The struct member offsets. |
| public static final int | SIZEOF
The struct size in bytes. |
| public static final int | STORAGESIZE
The struct member offsets. |
| public static final int | WIDTH
The struct member offsets. |
| Access | Constructor and Description |
|---|---|
| protected | |
| public | BGFXTextureInfo(ByteBuffer container)
Creates a |
| Modifier and Type | Method and Description |
|---|---|
| public byte | |
| public static BGFXTextureInfo | |
| public static BGFXTextureInfo. | calloc(int
the buffer capacity capacity)Returns a new |
| public static BGFXTextureInfo | calloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static BGFXTextureInfo. | calloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| public static BGFXTextureInfo | |
| public static BGFXTextureInfo | |
| public static BGFXTextureInfo. | |
| public static BGFXTextureInfo. | |
| protected BGFXTextureInfo | 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 BGFXTextureInfo | |
| public static BGFXTextureInfo | |
| public static BGFXTextureInfo. | create(int
the buffer capacity capacity)Returns a new |
| public static BGFXTextureInfo. | create(long
the memory address address, int the buffer capacity capacity)Create a |
| public static BGFXTextureInfo | |
| public static BGFXTextureInfo. | |
| public boolean | |
| public short | |
| public int | |
| public short | |
| public static BGFXTextureInfo | |
| public static BGFXTextureInfo. | malloc(int
the buffer capacity capacity)Returns a new |
| public static BGFXTextureInfo | malloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static BGFXTextureInfo. | malloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| public static BGFXTextureInfo | |
| public static BGFXTextureInfo | |
| public static BGFXTextureInfo. | |
| public static BGFXTextureInfo. | |
| public static byte | |
| public static boolean | |
| public static short | |
| public static int | |
| public static short | |
| public static short | |
| public static byte | |
| public static int | |
| public short | |
| public byte | |
| public static short | |
| public int | |
| public int | |
| public short |
| ALIGNOF | back to summary |
|---|---|
| public static final int ALIGNOF The struct alignment in bytes. | |
| BITSPERPIXEL | back to summary |
|---|---|
| public static final int BITSPERPIXEL The struct member offsets. | |
| CUBEMAP | back to summary |
|---|---|
| public static final int CUBEMAP The struct member offsets. | |
| DEPTH | back to summary |
|---|---|
| public static final int DEPTH The struct member offsets. | |
| FORMAT | back to summary |
|---|---|
| public static final int FORMAT The struct member offsets. | |
| HEIGHT | back to summary |
|---|---|
| public static final int HEIGHT The struct member offsets. | |
| NUMLAYERS | back to summary |
|---|---|
| public static final int NUMLAYERS The struct member offsets. | |
| NUMMIPS | back to summary |
|---|---|
| public static final int NUMMIPS The struct member offsets. | |
| SIZEOF | back to summary |
|---|---|
| public static final int SIZEOF The struct size in bytes. | |
| STORAGESIZE | back to summary |
|---|---|
| public static final int STORAGESIZE The struct member offsets. | |
| WIDTH | back to summary |
|---|---|
| public static final int WIDTH The struct member offsets. | |
| BGFXTextureInfo | back to summary |
|---|---|
| protected BGFXTextureInfo(long address, ByteBuffer container) | |
| BGFXTextureInfo | back to summary |
|---|---|
| public BGFXTextureInfo(ByteBuffer container) Creates a The created instance holds a strong reference to the container object. | |
| bitsPerPixel | back to summary |
|---|---|
| public byte bitsPerPixel() format bits per pixel
| |
| calloc | back to summary |
|---|---|
| public static BGFXTextureInfo calloc() Returns a new | |
| calloc | back to summary |
|---|---|
| public static BGFXTextureInfo. Returns a new
| |
| calloc | back to summary |
|---|---|
| public static BGFXTextureInfo calloc(MemoryStack stack) Returns a new
| |
| calloc | back to summary |
|---|---|
| public static BGFXTextureInfo. Returns a new
| |
| callocStack | back to summary |
|---|---|
| public static BGFXTextureInfo callocStack()
Deprecated
Deprecated for removal in 3.4.0. Use
| |
| callocStack | back to summary |
|---|---|
| public static BGFXTextureInfo callocStack(MemoryStack stack)
Deprecated
Deprecated for removal in 3.4.0. Use
| |
| callocStack | back to summary |
|---|---|
| public static BGFXTextureInfo. Deprecated
Deprecated for removal in 3.4.0. Use
| |
| callocStack | back to summary |
|---|---|
| public static BGFXTextureInfo. Deprecated
Deprecated for removal in 3.4.0. Use
| |
| create | back to summary |
|---|---|
| protected BGFXTextureInfo create(long address, ByteBuffer container) Implements abstract org. Doc from org. Similar to Effectively, every
| |
| create | back to summary |
|---|---|
| public static BGFXTextureInfo create() Returns a new | |
| create | back to summary |
|---|---|
| public static BGFXTextureInfo create(long address) Returns a new | |
| create | back to summary |
|---|---|
| public static BGFXTextureInfo. Returns a new
| |
| create | back to summary |
|---|---|
| public static BGFXTextureInfo. Create a
| |
| createSafe | back to summary |
|---|---|
| public static BGFXTextureInfo createSafe(long address) Like
| |
| createSafe | back to summary |
|---|---|
| public static BGFXTextureInfo. Like
| |
| cubeMap | back to summary |
|---|---|
| public boolean cubeMap() texture is cubemap
| |
| depth | back to summary |
|---|---|
| public short depth() texture depth
| |
| height | back to summary |
|---|---|
| public short height() texture height
| |
| malloc | back to summary |
|---|---|
| public static BGFXTextureInfo malloc() Returns a new | |
| malloc | back to summary |
|---|---|
| public static BGFXTextureInfo. Returns a new
| |
| malloc | back to summary |
|---|---|
| public static BGFXTextureInfo malloc(MemoryStack stack) Returns a new
| |
| malloc | back to summary |
|---|---|
| public static BGFXTextureInfo. Returns a new
| |
| mallocStack | back to summary |
|---|---|
| public static BGFXTextureInfo mallocStack()
Deprecated
Deprecated for removal in 3.4.0. Use
| |
| mallocStack | back to summary |
|---|---|
| public static BGFXTextureInfo mallocStack(MemoryStack stack)
Deprecated
Deprecated for removal in 3.4.0. Use
| |
| mallocStack | back to summary |
|---|---|
| public static BGFXTextureInfo. Deprecated
Deprecated for removal in 3.4.0. Use
| |
| mallocStack | back to summary |
|---|---|
| public static BGFXTextureInfo. Deprecated
Deprecated for removal in 3.4.0. Use
| |
| nbitsPerPixel | back to summary |
|---|---|
| public static byte nbitsPerPixel(long struct) Unsafe version of | |
| ncubeMap | back to summary |
|---|---|
| public static boolean ncubeMap(long struct) Unsafe version of | |
| ndepth | back to summary |
|---|---|
| public static short ndepth(long struct) Unsafe version of | |
| nformat | back to summary |
|---|---|
| public static int nformat(long struct) Unsafe version of | |
| nheight | back to summary |
|---|---|
| public static short nheight(long struct) Unsafe version of | |
| nnumLayers | back to summary |
|---|---|
| public static short nnumLayers(long struct) Unsafe version of | |
| nnumMips | back to summary |
|---|---|
| public static byte nnumMips(long struct) Unsafe version of | |
| nstorageSize | back to summary |
|---|---|
| public static int nstorageSize(long struct) Unsafe version of | |
| numLayers | back to summary |
|---|---|
| public short numLayers() number of layers in texture array
| |
| numMips | back to summary |
|---|---|
| public byte numMips() number of MIP maps
| |
| nwidth | back to summary |
|---|---|
| public static short nwidth(long struct) Unsafe version of | |
| sizeof | back to summary |
|---|---|
| public int sizeof() Implements abstract org. Doc from org. Returns
| |
| storageSize | back to summary |
|---|---|
| public int storageSize() total amount of bytes required to store texture
| |
| width | back to summary |
|---|---|
| public short width() texture width
| |
BGFXTextureInfo structs.
| Modifier and Type | Field and Description |
|---|---|
| private static final BGFXTextureInfo |
| Access | Constructor and Description |
|---|---|
| public | Buffer(ByteBuffer container)
Creates a new |
| public | |
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public byte | |
| public boolean | |
| public short | |
| public int | |
| protected BGFXTextureInfo | |
| public short | |
| public short | |
| public byte | |
| protected BGFXTextureInfo. | |
| public int | |
| public short |
| ELEMENT_FACTORY | back to summary |
|---|---|
| private static final BGFXTextureInfo 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) | |
| bitsPerPixel | back to summary |
|---|---|
public byte bitsPerPixel()
| |
| cubeMap | back to summary |
|---|---|
public boolean cubeMap()
| |
| depth | back to summary |
|---|---|
public short depth()
| |
| format | back to summary |
|---|---|
public int format()
| |
| getElementFactory | back to summary |
|---|---|
| protected BGFXTextureInfo getElementFactory() Implements abstract org.
| |
| height | back to summary |
|---|---|
public short height()
| |
| numLayers | back to summary |
|---|---|
public short numLayers()
| |
| numMips | back to summary |
|---|---|
public byte numMips()
| |
| self | back to summary |
|---|---|
| protected BGFXTextureInfo. Implements abstract org.
| |
| storageSize | back to summary |
|---|---|
public int storageSize()
| |
| width | back to summary |
|---|---|
public short width()
| |