Added ability to create texture for external use.

This commit is contained in:
Branimir Karadžić
2016-01-18 17:29:53 -08:00
parent da38788fb1
commit 445ac92eff
9 changed files with 74 additions and 7 deletions

View File

@@ -87,6 +87,9 @@ namespace bgfx
///
void setInternal(TextureHandle _handle, uintptr_t _ptr);
///
uintptr_t setInternal(TextureHandle _handle, uint16_t _width, uint16_t _height, uint8_t _numMips, TextureFormat::Enum _format, uint32_t _flags = BGFX_TEXTURE_NONE);
} // namespace bgfx
#if BX_PLATFORM_ANDROID