#include <raTexturedMaterial.h>
|
| | raTexturedMaterial (raSmartPointer< raDirectX > dx, LPCSTR EffectFile, LPCSTR Technique, LPCSTR textureFileName="grass.jpg", LPCSTR effectVariable="g_MeshTexture") |
| |
| virtual bool | Create () |
| |
| virtual bool | Destroy () |
| |
| virtual void | Setup () |
| |
| void | SetTexture (LPCSTR TextureFileName) |
| |
| LPCSTR | GetTexture (void) |
| |
| void | GenerateMips () |
| |
| | raMaterial (raSmartPointer< raDirectX > dx, raString EffectFile, raString Technique) |
| |
| | ~raMaterial (void) |
| |
| virtual bool | CreateVertexLayout (const D3D11_INPUT_ELEMENT_DESC *pLayout, UINT nemElements, ID3D11InputLayout **ppInputLayout) |
| |
| virtual void | SetupPerFrame (const raLight *Light, const raMatrix *pView=NULL, const raMatrix *pProj=NULL) |
| |
| virtual void | SetupPerObject (const raMatrix &mWorld, const raMatrix &mWorldView, const raMatrix &mWorldViewProjection) |
| |
| void | SetAmbientColor (raColor Ambient) |
| |
| void | SetDiffuseColor (raColor Diffuse) |
| |
| void | SetTechnique (LPCSTR TechniqueName) |
| |
| ID3DX11Effect * | GetEffect (void) |
| |
| ID3DX11EffectTechnique * | GetEffectTechnique (LPCSTR techniqueName="") |
| |
| raString | GetTechniqueName (void) |
| |
| raString | GetEffectFileName (void) |
| |
| void | SelectTechnique (raString techniqueName) |
| |
Definition at line 3 of file raTexturedMaterial.h.
◆ raTexturedMaterial()
| raTexturedMaterial::raTexturedMaterial |
( |
raSmartPointer< raDirectX > |
dx, |
|
|
LPCSTR |
EffectFile, |
|
|
LPCSTR |
Technique, |
|
|
LPCSTR |
textureFileName = "grass.jpg", |
|
|
LPCSTR |
effectVariable = "g_MeshTexture" |
|
) |
| |
◆ Create()
| bool raTexturedMaterial::Create |
( |
void |
| ) |
|
|
virtual |
◆ Destroy()
| bool raTexturedMaterial::Destroy |
( |
void |
| ) |
|
|
virtual |
◆ GenerateMips()
| void raTexturedMaterial::GenerateMips |
( |
| ) |
|
◆ GetTexture()
| LPCSTR raTexturedMaterial::GetTexture |
( |
void |
| ) |
|
|
inline |
◆ SetTexture()
| void raTexturedMaterial::SetTexture |
( |
LPCSTR |
TextureFileName | ) |
|
|
inline |
◆ Setup()
| void raTexturedMaterial::Setup |
( |
| ) |
|
|
virtual |
◆ m_effectVariableName
| LPCSTR raTexturedMaterial::m_effectVariableName |
|
protected |
◆ m_pRV
| ID3D11ShaderResourceView* raTexturedMaterial::m_pRV |
|
protected |
◆ m_ptxDiffuseVariable
◆ m_TextureFileName
| LPCSTR raTexturedMaterial::m_TextureFileName |
|
protected |
The documentation for this class was generated from the following files: