| Modifier and Type | Class and Description |
|---|---|
| public static class | BGFXPlatform.
Contains the function pointers loaded from |
| Modifier and Type | Field and Description |
|---|---|
| public static final int | BGFX_RENDER_FRAME_COUNT
Render frame. |
| public static final int | BGFX_RENDER_FRAME_EXITING
Render frame. |
| public static final int | BGFX_RENDER_FRAME_NO_CONTEXT
Render frame. |
| public static final int | BGFX_RENDER_FRAME_RENDER
Render frame. |
| public static final int | BGFX_RENDER_FRAME_TIMEOUT
Render frame. |
| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description |
|---|---|
| public static BGFXInternalData | |
| public static long | Returns: native API pointer to texture. If result is 0, texture is not created yet from the main thread.texture handle _handle, int width _width, int height _height, int number of mip-maps _numMips, int texture format _format, long default texture sampling mode is linear, and wrap mode is repeat _flags)Overrides internal texture by creating new texture. |
| public static long | Returns: native API pointer to texture. If result is 0, texture is not created yet from the main thread.texture handle _handle, long native API pointer to texture _ptr)Overrides internal texture with externally created texture. |
| public static int | Returns: current renderer state. One of:RENDER_FRAME_NO_CONTEXT RENDER_FRAME_RENDER RENDER_FRAME_TIMEOUT RENDER_FRAME_EXITING RENDER_FRAME_COUNTtimeout in milliseconds _msecs)Render frame. |
| public static void | |
| public static long | |
| public static long | nbgfx_override_internal_texture(short _handle, short _width, short _height, byte _numMips, int _format, long _flags)
Unsafe version of: |
| public static void |
| BGFX_RENDER_FRAME_COUNT | back to summary |
|---|---|
| public static final int BGFX_RENDER_FRAME_COUNT Render frame. ( Enum values: | |
| BGFX_RENDER_FRAME_EXITING | back to summary |
|---|---|
| public static final int BGFX_RENDER_FRAME_EXITING Render frame. ( Enum values: | |
| BGFX_RENDER_FRAME_NO_CONTEXT | back to summary |
|---|---|
| public static final int BGFX_RENDER_FRAME_NO_CONTEXT Render frame. ( Enum values: | |
| BGFX_RENDER_FRAME_RENDER | back to summary |
|---|---|
| public static final int BGFX_RENDER_FRAME_RENDER Render frame. ( Enum values: | |
| BGFX_RENDER_FRAME_TIMEOUT | back to summary |
|---|---|
| public static final int BGFX_RENDER_FRAME_TIMEOUT Render frame. ( Enum values: | |
| BGFXPlatform | back to summary |
|---|---|
| protected BGFXPlatform() | |
| bgfx_get_internal_data | back to summary |
|---|---|
| public static BGFXInternalData bgfx_get_internal_data() Gets internal data for interop.
| |
| bgfx_override_internal_texture | back to summary |
|---|---|
| public static long bgfx_override_internal_texture(short _handle, int _width, int _height, int _numMips, int _format, long _flags) Overrides internal texture by creating new texture. Previously created internal texture will released. It's expected you understand some bgfx internals before you use this call. Must be called only on render thread.
| |
| bgfx_override_internal_texture_ptr | back to summary |
|---|---|
| public static long bgfx_override_internal_texture_ptr(short _handle, long _ptr) Overrides internal texture with externally created texture. Previously created internal texture will released. It's expected you understand some bgfx internals before you use this call. Must be called only on render thread.
| |
| bgfx_render_frame | back to summary |
|---|---|
| public static int bgfx_render_frame(int _msecs) Render frame.
This call should be only used on platforms that don't allow creating separate rendering thread. If it is called before to
| |
| bgfx_set_platform_data | back to summary |
|---|---|
| public static void bgfx_set_platform_data(BGFXPlatformData _data) Sets platform data. Must be called before
| |
| nbgfx_get_internal_data | back to summary |
|---|---|
| public static long nbgfx_get_internal_data() Unsafe version of: | |
| nbgfx_override_internal_texture | back to summary |
|---|---|
| public static long nbgfx_override_internal_texture(short _handle, short _width, short _height, byte _numMips, int _format, long _flags) Unsafe version of: | |
| nbgfx_set_platform_data | back to summary |
|---|---|
| public static void nbgfx_set_platform_data(long _data) Unsafe version of: | |
BGFX.getLibrary().
| Modifier and Type | Field and Description |
|---|---|
| public static final long | get_internal_data
Function address. |
| public static final long | override_internal_texture
Function address. |
| public static final long | override_internal_texture_ptr
Function address. |
| public static final long | render_frame
Function address. |
| public static final long | set_platform_data
Function address. |
| Access | Constructor and Description |
|---|---|
| private |
| get_internal_data | back to summary |
|---|---|
| public static final long get_internal_data Function address. | |
| override_internal_texture | back to summary |
|---|---|
| public static final long override_internal_texture Function address. | |
| override_internal_texture_ptr | back to summary |
|---|---|
| public static final long override_internal_texture_ptr Function address. | |
| render_frame | back to summary |
|---|---|
| public static final long render_frame Function address. | |
| set_platform_data | back to summary |
|---|---|
| public static final long set_platform_data Function address. | |
| Functions | back to summary |
|---|---|
| private Functions() | |