diff options
author | chai <chaifix@163.com> | 2019-05-11 12:08:45 +0800 |
---|---|---|
committer | chai <chaifix@163.com> | 2019-05-11 12:08:45 +0800 |
commit | f6c0498c9728a286c13980ed3b60763d02e1b3a0 (patch) | |
tree | c07b283cb2183b320730cf3811b130eca3d90353 /source/modules/asura-core/graphics/gl.h | |
parent | 59a0e32991b5b714b6bdba504b6fbacdcd4b907a (diff) |
*misc
Diffstat (limited to 'source/modules/asura-core/graphics/gl.h')
-rw-r--r-- | source/modules/asura-core/graphics/gl.h | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/source/modules/asura-core/graphics/gl.h b/source/modules/asura-core/graphics/gl.h index a4d9de2..6c6ff30 100644 --- a/source/modules/asura-core/graphics/gl.h +++ b/source/modules/asura-core/graphics/gl.h @@ -105,11 +105,12 @@ namespace AsuraEngine /// struct { - Shader* shader; ///< ǰʹõshader - AEMath::Recti viewport; ///< ǰлHDC߱ڴСı߲ˢʱ䶯 - MatrixStack matrix[3]; ///< model, view, projection - MatrixMode matrixMode; ///< ǰľ - Color drawColor; ///< Ƶɫ + Shader* shader; ///< ǰʹõshader + AEMath::Recti viewport; ///< ǰлHDC߱ڴСı߲ˢʱ䶯 + MatrixStack matrix[3]; ///< model, view, projection + MatrixMode matrixMode; ///< ǰľ + AEMath::Matrix44 mvpMatrix; ///< mvp matrix + Color drawColor; ///< Ƶɫ } state; #if ASURA_GL_PROFILE @@ -149,6 +150,8 @@ namespace AsuraEngine //----------------------------------------------------------------------------// + bool mUpdateMVPMatrix; + }; /// |