From 88b882ed0b432c6aff2063213e2f793a36dd25f7 Mon Sep 17 00:00:00 2001 From: chai Date: Thu, 6 Jun 2019 00:11:18 +0800 Subject: *misc --- source/modules/asura-core/graphics/texture.h | 22 +--------------------- 1 file changed, 1 insertion(+), 21 deletions(-) (limited to 'source/modules/asura-core/graphics/texture.h') diff --git a/source/modules/asura-core/graphics/texture.h b/source/modules/asura-core/graphics/texture.h index 36a773d..799227e 100644 --- a/source/modules/asura-core/graphics/texture.h +++ b/source/modules/asura-core/graphics/texture.h @@ -7,7 +7,7 @@ #include "../core_config.h" #include "render_state.h" -#include "gl.h" +#include "gfx_device.h" namespace AsuraEngine { @@ -78,26 +78,6 @@ namespace AsuraEngine /// 如果设置U或V方向filter为 /// bool IsGenMipmap(); -/* - /// - /// 渲染整个texture到rt上,原点在左上角,向右,向下延伸 - /// - virtual void Render(const RenderTarget* rt, const RenderState& state) = 0; - - /// - /// 渲染texture的一部分到rt上,原点在左上角,向右,向下延伸。 - /// - virtual void Render(const RenderTarget* rt, const AEMath::Rectf& quad, const RenderState& state) = 0; -*/ - /// - /// 渲染整个image。 - /// - //virtual void Render() = 0; - - /// - /// 渲染部分image。 - /// - //virtual void Render(AEMath::Recti& quad) = 0; protected: -- cgit v1.1-26-g67d0