public override void render(float elapsedTime) { Device d3dDevice = GuiController.Instance.D3dDevice; bool invert = (bool)GuiController.Instance.Modifiers["invertRender"]; if (invert) { mesh2.render(); mesh1.render(); } else { mesh1.render(); mesh2.render(); } }
public void Render() { up.render(); //dn.render(); lt.render(); rt.render(); ft.render(); bk.render(); }
public override void render(float elapsedTime) { Device d3dDevice = GuiController.Instance.D3dDevice; //Actualizar valrores de pared updateWall(); //Renderizar pared wall.render(); }
public override void Render() { PreRender(); //Actualizar valrores de pared updateWall(); //Renderizar pared wall.render(); PostRender(); }
public override void render(float elapsedTime) { Device d3dDevice = GuiController.Instance.D3dDevice; updateWall(); string text = (string)GuiController.Instance.Modifiers["texture"]; if (text != currentTexture.FilePath) { currentTexture = TgcTexture.createTexture(d3dDevice, text); wall.setTexture(currentTexture); } wall.render(); mesh.render(); }
public override void Render() { PreRender(); var d3dDevice = D3DDevice.Instance.Device; updateWall(); var text = (string)Modifiers["texture"]; if (text != currentTexture.FilePath) { currentTexture = TgcTexture.createTexture(d3dDevice, text); wall.setTexture(currentTexture); } wall.render(); mesh.render(); PostRender(); }
public override void Render() { PreRender(); var invert = (bool)Modifiers["invertRender"]; //el tgcmesh hace reset de alpha lo que hace que los ejemplos de blending manual no funcionen. //setAlphaEnable(); if (invert) { setAlphaEnable(); mesh1.render(); } else { setAlphaEnable(); mesh2.render(); } PostRender(); }
public override void render() { mesh.render(); }