i6engine  1.0
GraphicsConfig.h
Go to the documentation of this file.
1 /*
2  * i6engine
3  * Copyright (2016) Daniel Bonrath, Michael Baer, All rights reserved.
4  *
5  * This file is part of i6engine; i6engine is free software; you can redistribute it and/or
6  * modify it under the terms of the GNU Lesser General Public
7  * License as published by the Free Software Foundation; either
8  * version 2.1 of the License, or (at your option) any later version.
9  *
10  * This library is distributed in the hope that it will be useful,
11  * but WITHOUT ANY WARRANTY; without even the implied warranty of
12  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13  * Lesser General Public License for more details.
14  *
15  * You should have received a copy of the GNU Lesser General Public
16  * License along with this library; if not, write to the Free Software
17  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
18  */
19 
25 #ifndef __I6ENGINE_API_GRAPHICSCONFIG_H__
26 #define __I6ENGINE_API_GRAPHICSCONFIG_H__
27 
31 
34 
35 namespace i6e {
36 namespace api {
37 namespace graphics {
39  GraReset = 0,
89  };
90 
91  enum class ShadowTechnique {
92  None,
95  };
96 
98  uint32_t width;
99  uint32_t height;
100  };
101 
102  enum class BillboardOrigin {
103  CenterLeft
104  };
105 
106  enum class Shader : uint16_t {
107  GLOW
108  };
109 
114  Vec3 from, to, colour;
116  Graphics_Line_Create(const Vec3 & f, const Vec3 & t, const Vec3 & colour);
117  Graphics_Line_Create(int64_t goid, int64_t coid, const Vec3 & f, const Vec3 & t, const Vec3 & colour);
118  Graphics_Line_Create * copy() { return new Graphics_Line_Create(*this); }
120 
125  Graphics_Line_Delete(int64_t goid, int64_t coid);
126  Graphics_Line_Delete * copy() {
127  return new Graphics_Line_Delete(*this);
128  }
130 
138  int64_t coid;
140  Graphics_Node_Create(const int64_t id, int64_t cid, const Vec3 & p, const Quaternion & r, const Vec3 & s);
141  Graphics_Node_Create * copy() { return new Graphics_Node_Create(*this); }
143 
152  Graphics_Node_Update(const int64_t goid, const int64_t coid, const Vec3 & p, const Quaternion & r, const Vec3 & s);
153  Graphics_Node_Update * copy() { return new Graphics_Node_Update(*this); }
155 
161  Graphics_Node_Delete(const int64_t i);
162  Graphics_Node_Delete * copy() { return new Graphics_Node_Delete(*this); }
164 
170  Graphics_Graphic_Delete * copy() { return new Graphics_Graphic_Delete(*this); }
172 
176  typedef struct Graphics_Luminous_Delete : public GameMessageStruct {
178  Graphics_Luminous_Delete(const int64_t i, const int64_t cid);
179  Graphics_Luminous_Delete * copy() { return new Graphics_Luminous_Delete(*this); }
181 
186  uint16_t lightType;
195  Graphics_Luminous_Update(const int64_t i, const int64_t cid, const uint16_t lt, const Vec3 & d, const Vec3 & s, const Vec4 & a, const Vec3 & dir, double si, double so, const Vec3 & p);
198 
205  double nearClip;
206  double aspect;
207  double fov;
209  Graphics_Camera_Create(const int64_t i);
210  Graphics_Camera_Create(const int64_t i, const int64_t, const Vec3 & p, const Vec3 & l, const double nc, double a, double fo);
213 
220  double nearClip;
221  double aspect;
222  double fov;
224  Graphics_Camera_Update(const int64_t goid, const int64_t cid, const Vec3 & p, const Vec3 & l, const double nc, double a, const double fo);
227 
232  double left;
233  double right;
234  double top;
235  double bottom;
237  Graphics_CameraFrustum_Update(const int64_t goid, const int64_t cid, double l, double r, double t, double b) : GameMessageStruct(cid, goid), left(l), right(r), top(t), bottom(b) {
238  }
241 
247  Graphics_Camera_Delete(const int64_t i);
248  Graphics_Camera_Delete * copy() { return new Graphics_Camera_Delete(*this); }
250 
257  Graphics_Shader_Create(const int64_t i, const Shader s);
260 
267  Graphics_Shader_Delete(const int64_t i, const Shader s);
270 
275  std::string mesh;
276  bool visible;
281  Graphics_Mesh_Create(const int64_t i, const int64_t, const std::string & m, const bool b, const Vec3 & p, const Quaternion & r, const Vec3 & s);
282  Graphics_Mesh_Create * copy() { return new Graphics_Mesh_Create(*this); }
284 
289  std::string mesh;
290  bool visible;
292  Graphics_Mesh_Update(const int64_t, const int64_t, const std::string &, const bool);
293  Graphics_Mesh_Update * copy() { return new Graphics_Mesh_Update(*this); }
295 
300  bool visible;
301  Graphics_MeshVisibility_Update(const int64_t goid, const int64_t wfid, bool v);
303  return new Graphics_MeshVisibility_Update(*this);
304  }
306 
312  Graphics_Mesh_Delete(const int64_t goid, const int64_t cid);
313  Graphics_Mesh_Delete * copy() { return new Graphics_Mesh_Delete(*this); }
315 
320  std::string material;
322  Graphics_Material_Update(const int64_t, const int64_t i, const std::string & mat);
325 
331  uint32_t num;
333  Graphics_CusParam_Update() : GameMessageStruct(), num(0), value() {}
334  Graphics_CusParam_Update(const int64_t cid, const int64_t goid, const uint32_t n, const Vec4 & v) : GameMessageStruct(cid, goid), num(n), value(v) {
335  }
338 
343  std::string heightmap;
344  double size;
345  double inputScale;
346  uint32_t vertices;
347  std::vector<std::tuple<double, std::string, std::string, double, double>> layers;
348  int64_t minX;
349  int64_t minY;
350  int64_t maxX;
351  int64_t maxY;
352  Graphics_TerrainHeightmap_Create(const int64_t, const std::string & h, const double s, double i, uint32_t v, const std::vector<std::tuple<double, std::string, std::string, double, double>> & l, int64_t miX, int64_t miY, int64_t maX, int64_t maY);
354  return new Graphics_TerrainHeightmap_Create(*this);
355  }
357 
362  std::vector<std::vector<double>> heightdata;
363  double size;
364  double inputScale;
365  uint32_t vertices;
366  std::vector<std::tuple<double, std::string, std::string, double, double>> layers;
367  int64_t minX;
368  int64_t minY;
369  int64_t maxX;
370  int64_t maxY;
371  Graphics_TerrainHeightdata_Create(const int64_t, const std::vector<std::vector<double>> & h, const double s, double i, uint32_t v, const std::vector<std::tuple<double, std::string, std::string, double, double>> & l, int64_t miX, int64_t miY, int64_t maX, int64_t maY);
373  return new Graphics_TerrainHeightdata_Create(*this);
374  }
376 
381  std::string heightmap;
382  double size;
383  double inputScale;
384  uint32_t vertices;
385  std::vector<std::tuple<double, std::string, std::string, double, double>> layers;
386  int64_t minX;
387  int64_t minY;
388  int64_t maxX;
389  int64_t maxY;
390  Graphics_TerrainHeightmap_Update(const int64_t coid, const std::string & h, const double s, double i, uint32_t v, const std::vector<std::tuple<double, std::string, std::string, double, double>> & l, int64_t miX, int64_t miY, int64_t maX, int64_t maY);
392  return new Graphics_TerrainHeightmap_Update(*this);
393  }
395 
400  std::vector<std::vector<double>> heightdata;
401  double size;
402  double inputScale;
403  uint32_t vertices;
404  std::vector<std::tuple<double, std::string, std::string, double, double>> layers;
405  int64_t minX;
406  int64_t minY;
407  int64_t maxX;
408  int64_t maxY;
409  Graphics_TerrainHeightdata_Update(const int64_t coid, const std::vector<std::vector<double>> & h, const double s, double i, uint32_t v, const std::vector<std::tuple<double, std::string, std::string, double, double>> & l, int64_t miX, int64_t miY, int64_t maX, int64_t maY);
411  return new Graphics_TerrainHeightdata_Update(*this);
412  }
414 
419  uint64_t x;
420  uint64_t z;
421  double height;
422  Graphics_TerrainSetHeight_Update(const int64_t goID, uint64_t xPos, uint64_t zPos, double h);
424  return new Graphics_TerrainSetHeight_Update(*this);
425  }
427 
433  Graphics_Terrain_Delete(const int64_t c);
434  Graphics_Terrain_Delete * copy() { return new Graphics_Terrain_Delete(*this); }
436 
441  int zOrder;
442  double left, top, width, height;
443  double red, green, blue, alpha;
445  Graphics_Viewport_Update(const int64_t i, const int64_t, int z, const double l, const double t, const double w, const double h, const double re, const double gr, const double bl, const double al);
448 
454  Graphics_Viewports_Delete * copy() { return new Graphics_Viewports_Delete(*this); }
456 
461  std::string emitterName;
464  Graphics_Particle_Create(const int64_t i, const int64_t, const std::string & s, const Vec3 & p);
467 
473  Graphics_Particle_Update(const int64_t, const int64_t);
474  Graphics_Particle_Update * copy() { return new Graphics_Particle_Update(*this); }
476 
481  Graphics_ParticleFadeOut_Update(const int64_t goid, const int64_t coid) : GameMessageStruct(coid, goid) {
482  }
484  return new Graphics_ParticleFadeOut_Update(*this);
485  }
487 
493  Graphics_Particle_Delete(const int64_t goid, const int64_t cid);
494  Graphics_Particle_Delete * copy() { return new Graphics_Particle_Delete(*this); }
496 
501  double red;
502  double green;
503  double blue;
504  Graphics_AmbLight_Update(double r, double g, double b);
507 
512  std::string anim;
513  bool looping;
515  Graphics_PlayAnimation_Update(const int64_t, const int64_t, const std::string & a, bool l, double o);
517  return new Graphics_PlayAnimation_Update(*this);
518  }
520 
525  double speed;
526  Graphics_SetAnimationSpeed_Update(const int64_t, const int64_t, double s);
528  return new Graphics_SetAnimationSpeed_Update(*this);
529  }
531 
536  Graphics_StopAnimation_Update(const int64_t, const int64_t);
537  Graphics_StopAnimation_Update * copy() {
538  return new Graphics_StopAnimation_Update(*this);
539  }
541 
546  std::string material;
547  double width;
548  double height;
550  Graphics_BillboardSet_Create(const int64_t goid, const int64_t coid, const std::string & m, double w, double h, BillboardOrigin o);
552  return new Graphics_BillboardSet_Create(*this);
553  }
555 
560  std::string identifier;
562  double width;
563  double height;
564  double u0;
565  double v0;
566  double u1;
567  double v1;
568  Graphics_Billboard_Update(const int64_t goid, const int64_t coid, const std::string & i, const Vec3 & o, double w, double h, double u_0, double v_0, double u_1, double v_1);
570  return new Graphics_Billboard_Update(*this);
571  }
573 
578  std::string identifier;
579  Graphics_BillboardRemove_Update(const int64_t goid, const int64_t coid, const std::string & i);
581  return new Graphics_BillboardRemove_Update(*this);
582  }
584 
589  Graphics_BillboardSet_Delete(const int64_t goid, const int64_t coid);
590  Graphics_BillboardSet_Delete * copy() {
591  return new Graphics_BillboardSet_Delete(*this);
592  }
594 
599  std::string material;
600  double distance;
602  Graphics_SkyBox_Create(const std::string & m, double d, bool r);
604  return new Graphics_SkyBox_Create(*this);
605  }
607 
612  std::string material;
613  int32_t curvature;
614  double tiles;
615  double distance;
617  Graphics_SkyDome_Create(const std::string & m, int32_t c, double t, double d, bool r);
619  return new Graphics_SkyDome_Create(*this);
620  }
622 
627  std::string material;
628  double distance;
629  int32_t direction;
630  int32_t size;
631  double tiles;
633  double curvature;
634  int32_t xSegments;
635  int32_t ySegments;
636  Graphics_SkyPlane_Create(const std::string & m, double d, int32_t dir, int32_t s, double t, bool r, double c, int32_t x, int32_t y);
638  return new Graphics_SkyPlane_Create(*this);
639  }
641 
647  Graphics_SkyBox_Delete * copy() {
648  return new Graphics_SkyBox_Delete(*this);
649  }
651 
657  Graphics_SkyDome_Delete * copy() {
658  return new Graphics_SkyDome_Delete(*this);
659  }
661 
667  Graphics_SkyPlane_Delete * copy() {
668  return new Graphics_SkyPlane_Delete(*this);
669  }
671 
679  return new Graphics_Resolution_Update(*this);
680  }
682 
690  return new Graphics_Fullscreen_Update(*this);
691  }
693 
701  return new Graphics_ShadowTechnique_Update(*this);
702  }
704 
710  double start;
711  double end;
712  Graphics_SetLinearFog_Update(const Vec3 & c, double s, double e) : GameMessageStruct(), colour(c), start(s), end(e) {
713  }
715  return new Graphics_SetLinearFog_Update(*this);
716  }
718 
724  double density;
725  Graphics_SetExponentialFog_Update(const Vec3 & c, double d) : GameMessageStruct(), colour(c), density(d) {
726  }
728  return new Graphics_SetExponentialFog_Update(*this);
729  }
731 
736  std::string font;
737  std::string text;
738  double size;
740  Graphics_MovableText_Create(int64_t goid, int64_t coid, const std::string & f, const std::string & t, double s, const Vec3 & c) : GameMessageStruct(coid, goid), font(f), text(t), size(s), colour(c) {
741  }
743  return new Graphics_MovableText_Create(*this);
744  }
746 
751  std::string font;
752  std::string text;
753  double size;
755  Graphics_MovableText_Update(int64_t goid, int64_t coid, const std::string & f, const std::string & t, double s, const Vec3 & c) : GameMessageStruct(coid, goid), font(f), text(t), size(s), colour(c) {
756  }
758  return new Graphics_MovableText_Update(*this);
759  }
761 
766  std::function<double(const Vec3 &, const Vec3 &)> callback;
767  Graphics_MovableTextAutoScaleCallback_Update(int64_t goid, int64_t coid, const std::function<double(const Vec3 &, const Vec3 &)> & c) : GameMessageStruct(coid, goid), callback(c) {
768  }
771  }
773 
778  Graphics_MovableText_Delete(int64_t goid, int64_t coid) : GameMessageStruct(coid, goid) {
779  }
781  return new Graphics_MovableText_Delete(*this);
782  }
784 
789  std::string compositor;
790  bool enabled;
791  Graphics_Compositor_Update(int64_t goid, int64_t coid, const std::string & c, bool e) : GameMessageStruct(coid, goid), compositor(c), enabled(e) {
792  }
794  return new Graphics_Compositor_Update(*this);
795  }
797 
802  std::string prefix;
803  std::string suffix;
804  Graphics_Screenshot_Create(const std::string & p, const std::string & s) : GameMessageStruct(), prefix(p), suffix(s) {
805  }
807  return new Graphics_Screenshot_Create(*this);
808  }
810 
816  }
818  return new Graphics_FPS_Create(*this);
819  }
821 
827  }
829  return new Graphics_FPS_Delete(*this);
830  }
832 
838  std::function<void(Vec3)> callback;
839  Graphics_GetHighestCoordinate_Update(const Vec3 & s, const std::function<void(Vec3)> & c) : GameMessageStruct(), startPos(s), callback(c) {
840  }
842  return new Graphics_GetHighestCoordinate_Update(*this);
843  }
845 
851  Graphics_DrawBB_Update(int64_t coid, int64_t goid, const Vec3 & c) : GameMessageStruct(coid, goid), colour(c) {
852  }
854  return new Graphics_DrawBB_Update(*this);
855  }
857 
862  Graphics_RemoveBB_Update(int64_t coid, int64_t goid) : GameMessageStruct(coid, goid) {
863  }
865  return new Graphics_RemoveBB_Update(*this);
866  }
868 
873  std::string resourcesFile;
874  std::function<void(uint16_t)> callback;
876  Graphics_LoadResources_Create(const std::string & rf, const std::function<void(uint16_t)> & cb, const GameMessage::Ptr & m) : GameMessageStruct(), resourcesFile(rf), callback(cb), msg(m) {
877  }
879  return new Graphics_LoadResources_Create(*this);
880  }
882 
887  std::string file;
888  std::function<void(void)> callback;
889  Graphics_SaveTerrainShape_Create(const int64_t, const std::string & f, const std::function<void(void)> & cb);
891  return new Graphics_SaveTerrainShape_Create(*this);
892  }
894 
899  int64_t otherGoid;
900  std::string boneName;
901  Graphics_AttachToBone_Update(int64_t coid, int64_t goid, int64_t o, const std::string & b) : GameMessageStruct(coid, goid), otherGoid(o), boneName(b) {
902  }
904  return new Graphics_AttachToBone_Update(*this);
905  }
907 
912  int64_t otherGoid;
913  std::string boneName;
914  Graphics_DetachFromBone_Update(int64_t coid, int64_t goid, int64_t o, const std::string & b) : GameMessageStruct(coid, goid), otherGoid(o), boneName(b) {
915  }
917  return new Graphics_DetachFromBone_Update(*this);
918  }
920 
925  uint64_t frameTime;
926  std::function<void(void)> func;
927  Graphics_AnimationFrameEvent_Update(int64_t coid, int64_t goid, uint64_t f, const std::function<void(void)> & fu) : GameMessageStruct(coid, goid), frameTime(f), func(fu) {
928  }
930  return new Graphics_AnimationFrameEvent_Update(*this);
931  }
933 
938  bool enabled;
939  Graphics_ShadowCasting_Update(int64_t coid, int64_t goid, bool b) : GameMessageStruct(coid, goid), enabled(b) {
940  }
942  return new Graphics_ShadowCasting_Update(*this);
943  }
945 
946 } /* namespace graphics */
947 } /* namespace api */
948 } /* namespace i6e */
949 
950 #endif /* __I6ENGINE_API_GRAPHICSCONFIG_H__ */
951 
i6e::api::graphics::Graphics_ShadowCasting_Update Graphics_ShadowCasting_Update
enables or disables shadowcasting
i6e::api::graphics::Graphics_SkyBox_Create Graphics_SkyBox_Create
creates sky box
Graphics_Particle_Update * copy()
Copy method returning an exact copy of itself.
Implements 4-dimensional vectors.
Definition: i6eVector4.h:56
Graphics_SkyBox_Create(const std::string &m, double d, bool r)
shuts graphics subsystem down
creates a shader for a GraphicsNode (deprecated)
i6e::api::graphics::Graphics_Camera_Update Graphics_Camera_Update
updates a camera node on a GraphicsNode
Graphics_Mesh_Delete * copy()
Copy method returning an exact copy of itself.
Graphics_SkyDome_Delete * copy()
Copy method returning an exact copy of itself.
Graphics_TerrainSetHeight_Update(const int64_t goID, uint64_t xPos, uint64_t zPos, double h)
sets frustum for a camera node on a GraphicsNode
i6e::api::graphics::Graphics_Mesh_Update Graphics_Mesh_Update
updates the mesh on a GraphicsNode
Graphics_FPS_Create * copy()
Copy method returning an exact copy of itself.
i6e::api::graphics::Graphics_AmbLight_Update Graphics_AmbLight_Update
creates an ambient light
Graphics_TerrainHeightdata_Create(const int64_t, const std::vector< std::vector< double >> &h, const double s, double i, uint32_t v, const std::vector< std::tuple< double, std::string, std::string, double, double >> &l, int64_t miX, int64_t miY, int64_t maX, int64_t maY)
Graphics_Compositor_Update(int64_t goid, int64_t coid, const std::string &c, bool e)
Graphics_BillboardRemove_Update(const int64_t goid, const int64_t coid, const std::string &i)
i6e::api::graphics::Graphics_GetHighestCoordinate_Update Graphics_GetHighestCoordinate_Update
get highest coordinate
Graphics_Mesh_Create * copy()
Copy method returning an exact copy of itself.
updates the visibility of a mesh on a GraphicsNode
creates a mesh on a GraphicsNode
i6e::api::graphics::Graphics_TerrainHeightdata_Update Graphics_TerrainHeightdata_Update
updates a terrain
Graphics_MovableText_Create * copy()
Copy method returning an exact copy of itself.
deletes mesh on a GraphicsNode
Graphics_CameraFrustum_Update * copy()
Copy method returning an exact copy of itself.
Graphics_Resolution_Update(const graphics::Resolution &r)
Class describing a 3d rotation.
Definition: i6eQuaternion.h:58
Graphics_MovableText_Update * copy()
Copy method returning an exact copy of itself.
i6e::api::graphics::Graphics_AnimationFrameEvent_Update Graphics_AnimationFrameEvent_Update
adds an event to a key frame of an animation
updates a MovableText on a GraphicsNode and adds auto scaling
i6e::api::graphics::Graphics_CusParam_Update Graphics_CusParam_Update
Message to change a custom parameter of a shader script.
Graphics_ParticleFadeOut_Update(const int64_t goid, const int64_t coid)
updates a camera node on a GraphicsNode
Graphics_CameraFrustum_Update(const int64_t goid, const int64_t cid, double l, double r, double t, double b)
#define ISIXE_MODULES_API
i6e::api::graphics::Graphics_AttachToBone_Update Graphics_AttachToBone_Update
attaches a GameObject to a bone
Graphics_MovableText_Delete(int64_t goid, int64_t coid)
Graphics_ShadowCasting_Update * copy()
Copy method returning an exact copy of itself.
Graphics_Particle_Delete * copy()
Copy method returning an exact copy of itself.
i6e::api::graphics::Graphics_SkyPlane_Create Graphics_SkyPlane_Create
creates sky plane
std::vector< std::tuple< double, std::string, std::string, double, double > > layers
Graphics_Particle_Create * copy()
Copy method returning an exact copy of itself.
Graphics_SetLinearFog_Update(const Vec3 &c, double s, double e)
Graphics_SkyDome_Create * copy()
Copy method returning an exact copy of itself.
i6e::api::graphics::Graphics_Shader_Delete Graphics_Shader_Delete
deletes a shader of a GraphicsNode (deprecated)
updates position, rotation and scale of a GraphicsNode
i6e::api::graphics::Graphics_ShadowTechnique_Update Graphics_ShadowTechnique_Update
updates shadow technique
updates fullscreen mode of render window
Graphics_AnimationFrameEvent_Update(int64_t coid, int64_t goid, uint64_t f, const std::function< void(void)> &fu)
i6e::api::graphics::Graphics_ParticleFadeOut_Update Graphics_ParticleFadeOut_Update
lets a particle fade out
i6e::api::graphics::Graphics_MovableText_Create Graphics_MovableText_Create
creates a MovableText on a GraphicsNode
i6e::api::graphics::Graphics_FPS_Delete Graphics_FPS_Delete
hides FPS
Graphics_Compositor_Update * copy()
Copy method returning an exact copy of itself.
updates a MovableText on a GraphicsNode
boost::shared_ptr< Message > Ptr
Definition: Message.h:66
Graphics_MeshVisibility_Update * copy()
Copy method returning an exact copy of itself.
i6e::api::graphics::Graphics_SkyDome_Create Graphics_SkyDome_Create
creates sky dome
deletes a light from the GraphicsNode
i6e::api::graphics::Graphics_Camera_Create Graphics_Camera_Create
creates a camera node on a GraphicsNode
i6e::api::graphics::Graphics_Camera_Delete Graphics_Camera_Delete
deletes a camera node from a GraphicsNode
Graphics_BillboardSet_Delete(const int64_t goid, const int64_t coid)
std::vector< std::vector< double > > heightdata
Graphics_SkyPlane_Delete * copy()
Copy method returning an exact copy of itself.
creates a Terrain in graphics subsystem
Graphics_MovableText_Create(int64_t goid, int64_t coid, const std::string &f, const std::string &t, double s, const Vec3 &c)
i6e::api::graphics::Graphics_SkyPlane_Delete Graphics_SkyPlane_Delete
deletes sky plane
Graphics_SkyPlane_Create * copy()
Copy method returning an exact copy of itself.
Graphics_PlayAnimation_Update(const int64_t, const int64_t, const std::string &a, bool l, double o)
std::vector< std::tuple< double, std::string, std::string, double, double > > layers
Graphics_TerrainHeightmap_Create(const int64_t, const std::string &h, const double s, double i, uint32_t v, const std::vector< std::tuple< double, std::string, std::string, double, double >> &l, int64_t miX, int64_t miY, int64_t maX, int64_t maY)
Graphics_Viewports_Delete * copy()
Copy method returning an exact copy of itself.
i6e::api::graphics::Graphics_Terrain_Delete Graphics_Terrain_Delete
deletes a terrain
Graphics_SkyBox_Delete * copy()
Copy method returning an exact copy of itself.
Graphics_MovableText_Update(int64_t goid, int64_t coid, const std::string &f, const std::string &t, double s, const Vec3 &c)
Graphics_Shader_Delete * copy()
Copy method returning an exact copy of itself.
Graphics_TerrainHeightdata_Create * copy()
Copy method returning an exact copy of itself.
i6e::api::graphics::Graphics_StopAnimation_Update Graphics_StopAnimation_Update
stop an animation
i6e::api::graphics::Graphics_DrawBB_Update Graphics_DrawBB_Update
draws BoundingBox
Graphics_Screenshot_Create * copy()
Copy method returning an exact copy of itself.
i6e::api::graphics::Graphics_MovableText_Delete Graphics_MovableText_Delete
deletes a MovableText on a GraphicsNode
Graphics_SkyPlane_Create(const std::string &m, double d, int32_t dir, int32_t s, double t, bool r, double c, int32_t x, int32_t y)
Graphics_Billboard_Update(const int64_t goid, const int64_t coid, const std::string &i, const Vec3 &o, double w, double h, double u_0, double v_0, double u_1, double v_1)
updates the light on a GraphicsNode
Graphics_Luminous_Delete * copy()
Copy method returning an exact copy of itself.
Implements 3-dimensional vectors.
Definition: i6eVector.h:48
i6e::api::graphics::Graphics_Graphic_Delete Graphics_Graphic_Delete
shuts graphics subsystem down
Graphics_Line_Delete * copy()
Copy method returning an exact copy of itself.
i6e::api::graphics::Graphics_BillboardSet_Delete Graphics_BillboardSet_Delete
removes a billboard set
i6e::api::graphics::Graphics_BillboardSet_Create Graphics_BillboardSet_Create
creates a billboard set
Graphics_Mesh_Update * copy()
Copy method returning an exact copy of itself.
creates a camera node on a GraphicsNode
Graphics_AmbLight_Update * copy()
Copy method returning an exact copy of itself.
i6e::api::graphics::Graphics_Particle_Create Graphics_Particle_Create
creates a particle effect on given position
Graphics_AmbLight_Update(double r, double g, double b)
Graphics_SaveTerrainShape_Create(const int64_t, const std::string &f, const std::function< void(void)> &cb)
i6e::api::graphics::Graphics_Resolution_Update Graphics_Resolution_Update
updates resolution of render window
Graphics_FPS_Delete * copy()
Copy method returning an exact copy of itself.
Graphics_MovableTextAutoScaleCallback_Update * copy()
Copy method returning an exact copy of itself.
Graphics_SetAnimationSpeed_Update(const int64_t, const int64_t, double s)
Graphics_ShadowCasting_Update(int64_t coid, int64_t goid, bool b)
i6e::api::graphics::Graphics_Billboard_Update Graphics_Billboard_Update
creates a billboard
Graphics_DrawBB_Update(int64_t coid, int64_t goid, const Vec3 &c)
Graphics_Shader_Create * copy()
Copy method returning an exact copy of itself.
Graphics_TerrainHeightdata_Update * copy()
Copy method returning an exact copy of itself.
Graphics_Screenshot_Create(const std::string &p, const std::string &s)
i6e::api::graphics::Graphics_Compositor_Update Graphics_Compositor_Update
enables/disables a compositor for a viewport
i6e::api::graphics::Graphics_TerrainHeightdata_Create Graphics_TerrainHeightdata_Create
creates a Terrain in graphics subsystem
i6e::api::graphics::Graphics_Viewports_Delete Graphics_Viewports_Delete
deletes a viewport
Graphics_SetLinearFog_Update * copy()
Copy method returning an exact copy of itself.
i6e::api::graphics::Graphics_FPS_Create Graphics_FPS_Create
shows FPS
enables/disables a compositor for a viewport
creates a particle effect on given position
i6e::api::graphics::Graphics_SkyDome_Delete Graphics_SkyDome_Delete
deletes sky dome
std::vector< std::tuple< double, std::string, std::string, double, double > > layers
Graphics_TerrainSetHeight_Update * copy()
Copy method returning an exact copy of itself.
i6e::api::graphics::Graphics_LoadResources_Create Graphics_LoadResources_Create
preload resources of a level
Graphics_DrawBB_Update * copy()
Copy method returning an exact copy of itself.
Graphics_SaveTerrainShape_Create * copy()
Copy method returning an exact copy of itself.
i6e::api::graphics::Graphics_Node_Create Graphics_Node_Create
creates a node in Graphics subsystem, used by PhysicsNode and MeshAppearanceComponent ...
Graphics_DetachFromBone_Update * copy()
Copy method returning an exact copy of itself.
i6e::api::graphics::Graphics_TerrainSetHeight_Update Graphics_TerrainSetHeight_Update
updates a terrain
Graphics_CusParam_Update(const int64_t cid, const int64_t goid, const uint32_t n, const Vec4 &v)
Graphics_Luminous_Update * copy()
Copy method returning an exact copy of itself.
i6e::api::graphics::Graphics_SetLinearFog_Update Graphics_SetLinearFog_Update
sets linear fog
i6e::api::graphics::Graphics_TerrainHeightmap_Update Graphics_TerrainHeightmap_Update
updates a terrain
i6e::api::graphics::Graphics_Fullscreen_Update Graphics_Fullscreen_Update
updates fullscreen mode of render window
Graphics_Node_Delete * copy()
Copy method returning an exact copy of itself.
Graphics_ParticleFadeOut_Update * copy()
Copy method returning an exact copy of itself.
Graphics_Terrain_Delete * copy()
Copy method returning an exact copy of itself.
deletes a shader of a GraphicsNode (deprecated)
Graphics_SkyDome_Create(const std::string &m, int32_t c, double t, double d, bool r)
deletes a camera node from a GraphicsNode
i6e::api::graphics::Graphics_Node_Update Graphics_Node_Update
updates position, rotation and scale of a GraphicsNode
creates a node in Graphics subsystem, used by PhysicsNode and MeshAppearanceComponent ...
Graphics_GetHighestCoordinate_Update(const Vec3 &s, const std::function< void(Vec3)> &c)
creates a Terrain using a heightmap in graphics subsystem
Graphics_PlayAnimation_Update * copy()
Copy method returning an exact copy of itself.
Graphics_MeshVisibility_Update(const int64_t goid, const int64_t wfid, bool v)
Graphics_TerrainHeightmap_Update(const int64_t coid, const std::string &h, const double s, double i, uint32_t v, const std::vector< std::tuple< double, std::string, std::string, double, double >> &l, int64_t miX, int64_t miY, int64_t maX, int64_t maY)
i6e::api::graphics::Graphics_Node_Delete Graphics_Node_Delete
deletes a GraphicsNode
Graphics_RemoveBB_Update * copy()
Copy method returning an exact copy of itself.
creates a MovableText on a GraphicsNode
i6e::api::graphics::Graphics_Line_Delete Graphics_Line_Delete
deletes a line between two points
Graphics_Node_Create * copy()
Copy method returning an exact copy of itself.
Graphics_BillboardSet_Create(const int64_t goid, const int64_t coid, const std::string &m, double w, double h, BillboardOrigin o)
i6e::api::graphics::Graphics_MovableText_Update Graphics_MovableText_Update
updates a MovableText on a GraphicsNode
Graphics_Line_Create * copy()
Copy method returning an exact copy of itself.
i6e::api::graphics::Graphics_SkyBox_Delete Graphics_SkyBox_Delete
deletes sky box
i6e::api::graphics::Graphics_TerrainHeightmap_Create Graphics_TerrainHeightmap_Create
creates a Terrain using a heightmap in graphics subsystem
enables or disables shadowcasting
Message to change a custom parameter of a shader script.
Graphics_RemoveBB_Update(int64_t coid, int64_t goid)
Graphics_BillboardSet_Delete * copy()
Copy method returning an exact copy of itself.
creates a line between to given points, used e.g. by DebugDrawer for bounding boxes ...
deletes a line between two points
i6e::api::graphics::Graphics_MeshVisibility_Update Graphics_MeshVisibility_Update
updates the visibility of a mesh on a GraphicsNode
Graphics_CusParam_Update * copy()
Copy method returning an exact copy of itself.
Graphics_Fullscreen_Update * copy()
Copy method returning an exact copy of itself.
Graphics_DetachFromBone_Update(int64_t coid, int64_t goid, int64_t o, const std::string &b)
i6e::api::graphics::Graphics_Viewport_Update Graphics_Viewport_Update
updates dimensions and color of a viewport
Graphics_Billboard_Update * copy()
Copy method returning an exact copy of itself.
i6e::api::graphics::Graphics_Mesh_Create Graphics_Mesh_Create
creates a mesh on a GraphicsNode
i6e::api::graphics::Graphics_Mesh_Delete Graphics_Mesh_Delete
deletes mesh on a GraphicsNode
i6e::api::graphics::Graphics_PlayAnimation_Update Graphics_PlayAnimation_Update
plays an animation
Graphics_Camera_Update * copy()
Copy method returning an exact copy of itself.
i6e::api::graphics::Graphics_Line_Create Graphics_Line_Create
creates a line between to given points, used e.g. by DebugDrawer for bounding boxes ...
Graphics_AnimationFrameEvent_Update * copy()
Copy method returning an exact copy of itself.
i6e::api::graphics::Graphics_Particle_Delete Graphics_Particle_Delete
deletes a particle effect
Graphics_BillboardSet_Create * copy()
Copy method returning an exact copy of itself.
Graphics_SetAnimationSpeed_Update * copy()
Copy method returning an exact copy of itself.
i6e::api::graphics::Graphics_Material_Update Graphics_Material_Update
changes material of a mesh
Graphics_TerrainHeightmap_Update * copy()
Copy method returning an exact copy of itself.
Graphics_Viewport_Update * copy()
Copy method returning an exact copy of itself.
std::vector< std::vector< double > > heightdata
Graphics_Node_Update * copy()
Copy method returning an exact copy of itself.
i6e::api::graphics::Graphics_SaveTerrainShape_Create Graphics_SaveTerrainShape_Create
exports a terrain shape
Graphics_StopAnimation_Update(const int64_t, const int64_t)
i6e::api::graphics::Graphics_DetachFromBone_Update Graphics_DetachFromBone_Update
detaches a GameObject from a bone
i6e::api::graphics::Graphics_Luminous_Update Graphics_Luminous_Update
updates the light on a GraphicsNode
i6e::api::graphics::Graphics_SetAnimationSpeed_Update Graphics_SetAnimationSpeed_Update
sets animation speed
i6e::api::graphics::Graphics_RemoveBB_Update Graphics_RemoveBB_Update
removes BoundingBox
Graphics_Material_Update * copy()
Copy method returning an exact copy of itself.
i6e::api::graphics::Graphics_BillboardRemove_Update Graphics_BillboardRemove_Update
removes a billboard
deletes a MovableText on a GraphicsNode
Graphics_LoadResources_Create * copy()
Copy method returning an exact copy of itself.
Graphics_ShadowTechnique_Update * copy()
Copy method returning an exact copy of itself.
updates resolution of render window
i6e::api::graphics::Graphics_Screenshot_Create Graphics_Screenshot_Create
takes a screenshot
std::vector< std::tuple< double, std::string, std::string, double, double > > layers
std::function< double(const Vec3 &, const Vec3 &)> callback
i6e::api::graphics::Graphics_SetExponentialFog_Update Graphics_SetExponentialFog_Update
sets exponential fog
i6e::api::graphics::Graphics_Shader_Create Graphics_Shader_Create
creates a shader for a GraphicsNode (deprecated)
Graphics_AttachToBone_Update * copy()
Copy method returning an exact copy of itself.
i6e::api::graphics::Graphics_Luminous_Delete Graphics_Luminous_Delete
deletes a light from the GraphicsNode
Graphics_StopAnimation_Update * copy()
Copy method returning an exact copy of itself.
Graphics_MovableTextAutoScaleCallback_Update(int64_t goid, int64_t coid, const std::function< double(const Vec3 &, const Vec3 &)> &c)
Graphics_Camera_Create * copy()
Copy method returning an exact copy of itself.
i6e::api::graphics::Graphics_MovableTextAutoScaleCallback_Update Graphics_MovableTextAutoScaleCallback_Update
updates a MovableText on a GraphicsNode and adds auto scaling
Graphics_Camera_Delete * copy()
Copy method returning an exact copy of itself.
Graphics_Resolution_Update * copy()
Copy method returning an exact copy of itself.
Graphics_TerrainHeightmap_Create * copy()
Copy method returning an exact copy of itself.
i6e::api::graphics::Graphics_CameraFrustum_Update Graphics_CameraFrustum_Update
sets frustum for a camera node on a GraphicsNode
adds an event to a key frame of an animation
updates the mesh on a GraphicsNode
Graphics_BillboardRemove_Update * copy()
Copy method returning an exact copy of itself.
Graphics_TerrainHeightdata_Update(const int64_t coid, const std::vector< std::vector< double >> &h, const double s, double i, uint32_t v, const std::vector< std::tuple< double, std::string, std::string, double, double >> &l, int64_t miX, int64_t miY, int64_t maX, int64_t maY)
Graphics_AttachToBone_Update(int64_t coid, int64_t goid, int64_t o, const std::string &b)
Graphics_SetExponentialFog_Update * copy()
Copy method returning an exact copy of itself.
Graphics_Graphic_Delete * copy()
Copy method returning an exact copy of itself.
Graphics_SkyBox_Create * copy()
Copy method returning an exact copy of itself.
Graphics_MovableText_Delete * copy()
Copy method returning an exact copy of itself.
Graphics_GetHighestCoordinate_Update * copy()
Copy method returning an exact copy of itself.
i6e::api::graphics::Graphics_Particle_Update Graphics_Particle_Update
updates a particle effect
updates dimensions and color of a viewport
Graphics_LoadResources_Create(const std::string &rf, const std::function< void(uint16_t)> &cb, const GameMessage::Ptr &m)