mirror of
https://github.com/MobileGL-Dev/MobileGL
synced 2026-09-11 13:48:30 +09:00
[Feat] (Diligent, MG_Impl): wire GenerateMipmap via Diligent GPU mip generation
- Create state textures with MISC_TEXTURE_FLAG_GENERATE_MIPS - GenerateMipmap resolves active GL_TEXTURE_2D and calls IDeviceContext::GenerateMips - Update handoff; 16 Diligent tests pass
This commit is contained in:
@@ -67,6 +67,7 @@ namespace MobileGL::MG_Backend::DiligentBackend {
|
||||
GLbitfield mask, GLenum filter);
|
||||
void CopyReadFramebufferToTexture(MG_State::GLState::ITextureObject& dst);
|
||||
void CopyTextureSubData(MG_State::GLState::ITextureObject& src, MG_State::GLState::ITextureObject& dst);
|
||||
void GenerateMipmap(MG_State::GLState::ITextureObject& texture);
|
||||
Bool ReadTextureImage(MG_State::GLState::ITextureObject& texture, Uint32 level, void* pixels);
|
||||
void Present();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user