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

#include <FontShader.h>

Public Member Functions

 FontShader ()
 
 ~FontShader ()
 
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, Color4f pixelColor)
 

Constructor & Destructor Documentation

FontShader::FontShader ( )

Create an instance of the Font Shader

FontShader::~FontShader ( )

Destruct this instance of the Font Shader

Member Function Documentation

bool FontShader::Initialize ( ID3D11Device *  device,
HWND  hwnd 
)

Initialize the Font Shader

Handle to the active window

bool FontShader::Render ( ID3D11DeviceContext *  deviceContext,
int  indexCount,
const XMMATRIX &  worldMatrix,
const XMMATRIX &  viewMatrix,
const XMMATRIX &  projectionMatrix,
ID3D11ShaderResourceView *  texture,
Color4f  pixelColor 
)

Render the Font Shader

void FontShader::Shutdown ( )

Shut down the Font Shader


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