예제 #1
0
 public void Draw(ref DeviceContext context, ref Camera camera)
 {
     if (_isEnabled)
     {
         _renderObject.Draw(ref context, ref camera);
     }
 }
예제 #2
0
파일: Actor.cs 프로젝트: cribin/GameLab2017
 public virtual void Draw(SpriteBatch batch)
 {
     rep.Draw(batch);
 }
예제 #3
0
 public void Draw(ref DeviceContext context, ref Camera camera)
 {
     _renderObject.Draw(ref context, ref camera, false);
 }
예제 #4
0
 public void Render()
 {
     ChunkShader.SetUniform("Textures", 1, TestMaterial.MaterialAtlasTexture.TextureHandle);
     RObj.Draw();
 }