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

#include <Texture.h>

Public Member Functions

 Texture ()
 
 ~Texture ()
 
bool Initialize (ID3D11Device *, WCHAR *)
 
void Shutdown ()
 
ID3D11ShaderResourceView * GetTexture ()
 

Constructor & Destructor Documentation

Texture::Texture ( )

Create an instance of the Texture

Texture::~Texture ( )

Destruct this instance of the Texture

Member Function Documentation

ID3D11ShaderResourceView * Texture::GetTexture ( )

Get the DirectX reference to the texture

bool Texture::Initialize ( ID3D11Device *  device,
WCHAR *  filename 
)

Initialize the Texture

DirectX device itself File to load into the system

void Texture::Shutdown ( )

Shut down the Texture


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