X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=automated-tests%2Fsrc%2Fdali-toolkit%2Fdali-toolkit-test-utils%2Ftest-graphics-texture.h;h=58f7738b2cc378c8b749a079b750194a8becc0e6;hb=6a219d0bbcfd016e24b5466d5fb1a666c92feae5;hp=3eb54d33760a98dae0693f46ef8fe9af71d3827c;hpb=5bc22f12881a16d7c5143c5e220fc0075aef6061;p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git diff --git a/automated-tests/src/dali-toolkit/dali-toolkit-test-utils/test-graphics-texture.h b/automated-tests/src/dali-toolkit/dali-toolkit-test-utils/test-graphics-texture.h index 3eb54d3..58f7738 100644 --- a/automated-tests/src/dali-toolkit/dali-toolkit-test-utils/test-graphics-texture.h +++ b/automated-tests/src/dali-toolkit/dali-toolkit-test-utils/test-graphics-texture.h @@ -49,6 +49,22 @@ public: GLuint GetTarget(); /** + * Get the texture type + */ + Graphics::TextureType GetType() + { + return mCreateInfo.textureType; + } + + /** + * Get the texture format + */ + Graphics::Format GetFormat() + { + return mCreateInfo.format; + } + + /** * Bind this texture, ensure Native image is initialized if necessary. */ void Bind(uint32_t textureUnit);