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::TextureShader Class Reference

#include <TextureShader.h>

Public Member Functions

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

Constructor & Destructor Documentation

TextureShader::TextureShader ( )

Create an instance of the Color Shader

TextureShader::~TextureShader ( )

Destruct this instance of the Color Shader

Member Function Documentation

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

Initialize the Color Shader

Handle to the active window

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

Render the Color Shader

void TextureShader::Shutdown ( )

Shut down the Color Shader

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