mirror of
https://github.com/MobileGL-Dev/MobileGL
synced 2026-09-11 21:58:31 +09:00
[Optimize] (Diligent/RenderPass): remove renderpass usage
This commit is contained in:
@@ -19,8 +19,8 @@ namespace MG_Diligent {
|
||||
|
||||
struct GLFramebufferInfo
|
||||
{
|
||||
Diligent::IFramebuffer* pFramebuffer = nullptr;
|
||||
Diligent::IRenderPass* pRenderPass = nullptr;
|
||||
// Diligent::IFramebuffer* pFramebuffer = nullptr;
|
||||
// Diligent::IRenderPass* pRenderPass = nullptr;
|
||||
std::vector<Diligent::ITextureView*> ColorRTVs;
|
||||
Diligent::ITextureView* pDepthStencilRTV = nullptr;
|
||||
Diligent::TEXTURE_FORMAT DepthStencilFormat = Diligent::TEX_FORMAT_UNKNOWN;
|
||||
@@ -231,7 +231,7 @@ namespace MG_Diligent {
|
||||
std::vector<Diligent::LayoutElement>& inputLayout);
|
||||
|
||||
extern bool initialized;
|
||||
extern bool IsInRenderPass;
|
||||
// extern bool IsInRenderPass;
|
||||
extern GLuint g_NextResourceId;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user