3#include "gfx/Texture.h"
4#include "gfx/Material.h"
8#include "Math/Vector3.h"
9#include "Math/Matrix4.h"
11using namespace System;
13namespace XXSharpKmyPhysics
15 ref class PhysicsBase;
18namespace XXSharpKmyGfx
20 ref class MaterialInstance;
21 ref class GeometryInstance;
22 ref class SpriteBatch;
23 ref class GeomCluster;
31 private ref class Render
38 Render(
int priority,
int width,
int height);
41 Texture^ getColorTexture();
42 Texture^ getDepthTexture();
43 void setClearMask(u32 mask);
44 void setClearColor(
float r,
float g,
float b,
float a);
45 void setViewport(
int x,
int y,
int width,
int height);
46 XXSharpKmyGfx::Color getColor(
int x,
int y,
float %depth);
47 void getColor(
int x,
int y,
int w,
int h, array<UINT32> ^buffer);
50 static Render^ getDefaultRender();
51 static Render^ getRender2D();
52 static Render^ getRenderL();
53 static Render^ getRenderR();
55 static Render^ getDefaultRender();
58 void setViewMatrix(XXSharpKmyMath::Matrix4 proj, XXSharpKmyMath::Matrix4 view);
59 void addDrawable(Drawable ^drawable);
60 void getViewMatrix(XXSharpKmyMath::Matrix4 %proj, XXSharpKmyMath::Matrix4 %view);
61 bool viewVolumeCheck(XXSharpKmyMath::Vector3 pos,
float radius);
62 void setAmbientColor(XXSharpKmyMath::Vector3 color);
63 void makeBatchAndDrawCall();
64 static void makeBatchAndDrawCallAll();
68 static bool isSameScene(Render ^s1, Render ^s2)
73 XXSharpKmyMath::Matrix4 proj, view;