R26_dev8 - First public commit

This commit is contained in:
dexyfex
2017-09-21 20:33:05 +10:00
Unverified
commit a8243c3e0e
391 changed files with 157678 additions and 0 deletions
+30
View File
@@ -0,0 +1,30 @@
using CodeWalker.GameFiles;
using SharpDX;
using SharpDX.Direct3D11;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Device = SharpDX.Direct3D11.Device;
using Buffer = SharpDX.Direct3D11.Buffer;
using MapFlags = SharpDX.Direct3D11.MapFlags;
using CodeWalker.World;
namespace CodeWalker.Rendering
{
public abstract class Shader
{
public abstract void SetShader(DeviceContext context);
public abstract bool SetInputLayout(DeviceContext context, VertexType type);
public abstract void SetSceneVars(DeviceContext context, Camera camera, Shadowmap shadowmap, ShaderGlobalLights lights);
public abstract void SetEntityVars(DeviceContext context, ref RenderableInst rend);
public abstract void SetModelVars(DeviceContext context, RenderableModel model);
public abstract void SetGeomVars(DeviceContext context, RenderableGeometry geom);
public abstract void UnbindResources(DeviceContext context);
//public abstract void Dispose();
}
}