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

@@ -1377,6 +1377,12 @@ namespace bgfx { namespace d3d12
BX_UNUSED(_handle, _ptr);
}
uintptr_t getInternal(TextureHandle _handle) BX_OVERRIDE
{
BX_UNUSED(_handle);
return 0;
}
void destroyTexture(TextureHandle _handle) BX_OVERRIDE
{
m_textures[_handle.idx].destroy();