Vertex Shader Asset

From COD Engine Research
Jump to: navigation, search

Call of Duty 4 & World at War & Modern Warfare 2 & Modern Warfare 3 & Ghosts

struct MaterialVertexShaderProgram
{
	CgBinaryProgram *vs;
	int size;
#ifdef GHOSTS
	int unknown;
#endif
};
 
struct MaterialVertexShader
{
	const char *name;
	MaterialVertexShaderProgram prog;
};

Black Ops & Black Ops 2

struct MaterialVertexShaderProgram
{
	char *cachedPart;
	char *physicalPart;
	unsigned __int16 cachedSize;
	unsigned __int16 physicalPart;
};
 
struct MaterialVertexShader
{
	const char *name;
	MaterialVertexShaderProgram prog;
};