TextureCube.pkg 747 B

1234567891011121314151617181920212223242526
  1. $#include "Graphics/TextureCube.h"
  2. class TextureCube : public Texture
  3. {
  4. TextureCube();
  5. ~TextureCube();
  6. bool SetSize(int size, unsigned format, TextureUsage usage = TEXTURE_STATIC);
  7. bool SetData(CubeMapFace face, Image* image, bool useAlpha = false);
  8. RenderSurface* GetRenderSurface(CubeMapFace face) const;
  9. };
  10. ${
  11. #define TOLUA_DISABLE_tolua_GraphicsLuaAPI_TextureCube_new00
  12. static int tolua_GraphicsLuaAPI_TextureCube_new00(lua_State* tolua_S)
  13. {
  14. return ToluaNewObject<TextureCube>(tolua_S);
  15. }
  16. #define TOLUA_DISABLE_tolua_GraphicsLuaAPI_TextureCube_new00_local
  17. static int tolua_GraphicsLuaAPI_TextureCube_new00_local(lua_State* tolua_S)
  18. {
  19. return ToluaNewObjectGC<TextureCube>(tolua_S);
  20. }
  21. $}