C++ Game Framework  2013-06-04
CGF is a DirectX 11 game framework, built in C++ and DirectX 11. This is used to contain many to the DirectX functionality and wrap them into a framework to make game development easier.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
CGF::ColorShader Class Reference

#include <ColorShader.h>

Public Member Functions

 ColorShader ()
 ~ColorShader ()
bool Initialize (ID3D11Device *device, HWND hwnd)
void Shutdown ()
bool Render (ID3D11DeviceContext *deviceContext, int indexCount, const XMMATRIX &worldMatrix, const XMMATRIX &viewMatrix, const XMMATRIX &projectionMatrix)

Constructor & Destructor Documentation

ColorShader::ColorShader ( )

Create an instance of the Color Shader

ColorShader::~ColorShader ( )

Destruct this instance of the Color Shader

Member Function Documentation

bool ColorShader::Initialize ( ID3D11Device *  device,
HWND  hwnd 

Initialize the Color Shader

Handle to the active window

bool ColorShader::Render ( ID3D11DeviceContext *  deviceContext,
int  indexCount,
const XMMATRIX &  worldMatrix,
const XMMATRIX &  viewMatrix,
const XMMATRIX &  projectionMatrix 

Render the Color Shader

void ColorShader::Shutdown ( )

Shut down the Color Shader

The documentation for this class was generated from the following files: