3#include "gfx/Texture.h"
4#include "gfx/Material.h"
8#include "Math/Vector3.h"
9#include "Math/Matrix4.h"
11using namespace System;
15 ref class PhysicsBase;
20 ref class MaterialInstance;
21 ref class GeometryInstance;
22 ref class SpriteBatch;
23 ref class GeomCluster;
38 Render(
int priority,
int width,
int height);
45 void setViewport(
int x,
int y,
int width,
int height);
47 void getColor(
int x,
int y,
int w,
int h, array<UINT32> ^buffer);
51 static Render^ getRender2D();
52 static Render^ getRenderL();
53 static Render^ getRenderR();
Definition: DrawInfo.h:51
void setViewMatrix(SharpKmyMath::Matrix4 proj, SharpKmyMath::Matrix4 view)
Definition: Render.cpp:66
bool viewVolumeCheck(SharpKmyMath::Vector3 pos, float radius)
Definition: Render.cpp:88
void setClearColor(float r, float g, float b, float a)
Definition: Render.cpp:32
void Release()
Definition: Render.cpp:17
SharpKmyGfx::Color getColor(int x, int y, float %depth)
Definition: Render.cpp:47
virtual void draw()
Definition: Render.h:66
void setClearMask(u32 mask)
Definition: Render.cpp:37
Texture getDepthTexture()
Definition: Render.cpp:27
void addDrawable(Drawable ^drawable)
Definition: Render.cpp:72
void setViewport(int x, int y, int width, int height)
Definition: Render.cpp:42
void getViewMatrix(SharpKmyMath::Matrix4 %proj, SharpKmyMath::Matrix4 %view)
Definition: Render.cpp:82
static bool isSameScene(Render ^s1, Render ^s2)
Definition: Render.h:68
Texture getColorTexture()
Definition: Render.cpp:22
Render()
Definition: Render.cpp:8
bool owned
Definition: Render.h:34
static void makeBatchAndDrawCallAll()
Definition: Render.cpp:61
void makeBatchAndDrawCall()
Definition: Render.cpp:56
SharpKmyMath::Matrix4 view
Definition: Render.h:73
static Render getDefaultRender()
Definition: Render.cpp:97
void setAmbientColor(SharpKmyMath::Vector3 color)
Definition: Render.cpp:77
SharpKmyMath::Matrix4 proj
Definition: Render.h:73
Definition: Billboard.cpp:4
Definition: Billboard.h:6