|
raSystem
1.0 bata
|
#include <raRFMaterial.h>
Public Member Functions | |
| raRFMaterial (raSmartPointer< raDirectX >, LPCSTR techniqueName="Reflection", int envMapWidth=128, int envMapHeight=128) | |
| virtual bool | Create () |
| virtual void | Setup () |
| void | SetEtaRatio (float etaRatio) |
| void | SetFresnelPower (float pow) |
| void | SetReflectivity (float refelectivity) |
Public Member Functions inherited from raRTTMaterial | |
| raRTTMaterial (raSmartPointer< raDirectX >, LPCSTR effectFile="raEffects\oNormals.fx", LPCSTR technique="RenderWithTexture", D3D11_SRV_DIMENSION viewDimension=D3D11_SRV_DIMENSION_TEXTURE2D, int envMapWidth=128, int enyMapHeight=128, int mipLevels=1, DXGI_FORMAT fmt=DXGI_FORMAT_R16G16B16A16_FLOAT, LPCSTR effectVariableName="g_MeshTexture", UINT arraySize=1) | |
| virtual bool | Destroy () |
| raRenderScreen & | GetRenderScreen () |
| void | GetSizeFromBackBuffer (const DXGI_SURFACE_DESC *desc) |
Public Member Functions inherited from raTexturedMaterial | |
| raTexturedMaterial (raSmartPointer< raDirectX > dx, LPCSTR EffectFile, LPCSTR Technique, LPCSTR textureFileName="grass.jpg", LPCSTR effectVariable="g_MeshTexture") | |
| void | SetTexture (LPCSTR TextureFileName) |
| LPCSTR | GetTexture (void) |
| void | GenerateMips () |
Public Member Functions inherited from raMaterial | |
| 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 raRFMaterial.h.
| raRFMaterial::raRFMaterial | ( | raSmartPointer< raDirectX > | dx, |
| LPCSTR | techniqueName = "Reflection", |
||
| int | envMapWidth = 128, |
||
| int | envMapHeight = 128 |
||
| ) |
Definition at line 5 of file raRFMaterial.cpp.
|
virtual |
Reimplemented from raRTTMaterial.
Definition at line 15 of file raRFMaterial.cpp.
|
inline |
Definition at line 13 of file raRFMaterial.h.
|
inline |
Definition at line 14 of file raRFMaterial.h.
|
inline |
Definition at line 15 of file raRFMaterial.h.
|
virtual |
Reimplemented from raTexturedMaterial.
Definition at line 29 of file raRFMaterial.cpp.