Khaotic Engine Reborn
|
Public Member Functions | |
shader_manager_class (const shader_manager_class &) | |
bool | initialize (ID3D11Device *, HWND) |
void | shutdown () |
bool | render_texture_shader (ID3D11DeviceContext *, int, XMMATRIX, XMMATRIX, XMMATRIX, ID3D11ShaderResourceView *) |
bool | render_normal_map_shader (ID3D11DeviceContext *, int, XMMATRIX, XMMATRIX, XMMATRIX, ID3D11ShaderResourceView *, ID3D11ShaderResourceView *, XMFLOAT3, XMFLOAT4) |
bool | render_multitexture_shader (ID3D11DeviceContext *, int, XMMATRIX, XMMATRIX, XMMATRIX, ID3D11ShaderResourceView *, ID3D11ShaderResourceView *) |
bool | render_translate_shader (ID3D11DeviceContext *, int, XMMATRIX, XMMATRIX, XMMATRIX, ID3D11ShaderResourceView *, float) |
bool | render_alpha_map_shader (ID3D11DeviceContext *, int, XMMATRIX, XMMATRIX, XMMATRIX, ID3D11ShaderResourceView *, ID3D11ShaderResourceView *, ID3D11ShaderResourceView *) |
bool | render_spec_map_shader (ID3D11DeviceContext *, int, XMMATRIX, XMMATRIX, XMMATRIX, ID3D11ShaderResourceView *, ID3D11ShaderResourceView *, ID3D11ShaderResourceView *, XMFLOAT3, XMFLOAT4, XMFLOAT3, XMFLOAT4, float) |
bool | render_transparent_shader (ID3D11DeviceContext *, int, XMMATRIX, XMMATRIX, XMMATRIX, ID3D11ShaderResourceView *, float) |
bool | renderlight_shader (ID3D11DeviceContext *, int, XMMATRIX, XMMATRIX, XMMATRIX, ID3D11ShaderResourceView *, XMFLOAT4[], XMFLOAT4[], XMFLOAT4[]) |
bool | renderlight_map_shader (ID3D11DeviceContext *, int, XMMATRIX, XMMATRIX, XMMATRIX, ID3D11ShaderResourceView *, ID3D11ShaderResourceView *) |
bool | render_refraction_shader (ID3D11DeviceContext *, int, XMMATRIX, XMMATRIX, XMMATRIX, ID3D11ShaderResourceView *, XMFLOAT3, XMFLOAT4[], XMFLOAT4[], XMFLOAT4[], XMFLOAT4) |
bool | render_water_shader (ID3D11DeviceContext *, int, XMMATRIX, XMMATRIX, XMMATRIX, XMMATRIX, ID3D11ShaderResourceView *, ID3D11ShaderResourceView *, ID3D11ShaderResourceView *, float, float) |
bool | render_cel_shading_shader (ID3D11DeviceContext *, int, XMMATRIX, XMMATRIX, XMMATRIX, ID3D11ShaderResourceView *, XMFLOAT4, XMFLOAT4, XMFLOAT3, float) |
bool | render_sunlight_shader (ID3D11DeviceContext *, int, XMMATRIX, XMMATRIX, XMMATRIX, ID3D11ShaderResourceView *, XMFLOAT4, XMFLOAT4, XMFLOAT3, float) |
bool | render_skybox_shader (ID3D11DeviceContext *, int, XMMATRIX, XMMATRIX, XMMATRIX, ID3D11ShaderResourceView *, XMFLOAT4, XMFLOAT4, XMFLOAT3, float) |
bool | render_depth_shader (ID3D11DeviceContext *context, int indexCount, XMMATRIX worldMatrix, XMMATRIX viewMatrix, XMMATRIX projectionMatrix, ID3D11ShaderResourceView *texture) |
Definition at line 27 of file shader_manager_class.h.
shader_manager_class::shader_manager_class | ( | ) |
Definition at line 3 of file shader_manager_class.cpp.
shader_manager_class::shader_manager_class | ( | const shader_manager_class & | other | ) |
Definition at line 23 of file shader_manager_class.cpp.
shader_manager_class::~shader_manager_class | ( | ) |
Definition at line 27 of file shader_manager_class.cpp.
bool shader_manager_class::initialize | ( | ID3D11Device * | device, |
HWND | hwnd ) |
Definition at line 31 of file shader_manager_class.cpp.
bool shader_manager_class::render_alpha_map_shader | ( | ID3D11DeviceContext * | deviceContext, |
int | indexCount, | ||
XMMATRIX | worldMatrix, | ||
XMMATRIX | viewMatrix, | ||
XMMATRIX | projectionMatrix, | ||
ID3D11ShaderResourceView * | texture1, | ||
ID3D11ShaderResourceView * | texture2, | ||
ID3D11ShaderResourceView * | texture3 ) |
Definition at line 353 of file shader_manager_class.cpp.
bool shader_manager_class::render_cel_shading_shader | ( | ID3D11DeviceContext * | deviceContext, |
int | indexCount, | ||
XMMATRIX | worldMatrix, | ||
XMMATRIX | viewMatrix, | ||
XMMATRIX | projectionMatrix, | ||
ID3D11ShaderResourceView * | texture, | ||
XMFLOAT4 | diffuseColor, | ||
XMFLOAT4 | ambientColor, | ||
XMFLOAT3 | sunDirection, | ||
float | sunIntensity ) |
Definition at line 458 of file shader_manager_class.cpp.
bool shader_manager_class::render_depth_shader | ( | ID3D11DeviceContext * | context, |
int | indexCount, | ||
XMMATRIX | worldMatrix, | ||
XMMATRIX | viewMatrix, | ||
XMMATRIX | projectionMatrix, | ||
ID3D11ShaderResourceView * | texture ) |
Definition at line 500 of file shader_manager_class.cpp.
bool shader_manager_class::render_multitexture_shader | ( | ID3D11DeviceContext * | deviceContext, |
int | indexCount, | ||
XMMATRIX | worldMatrix, | ||
XMMATRIX | viewMatrix, | ||
XMMATRIX | projectionMatrix, | ||
ID3D11ShaderResourceView * | texture1, | ||
ID3D11ShaderResourceView * | texture2 ) |
Definition at line 323 of file shader_manager_class.cpp.
bool shader_manager_class::render_normal_map_shader | ( | ID3D11DeviceContext * | deviceContext, |
int | indexCount, | ||
XMMATRIX | worldMatrix, | ||
XMMATRIX | viewMatrix, | ||
XMMATRIX | projectionMatrix, | ||
ID3D11ShaderResourceView * | colorTexture, | ||
ID3D11ShaderResourceView * | normalTexture, | ||
XMFLOAT3 | lightDirection, | ||
XMFLOAT4 | diffuseColor ) |
Definition at line 308 of file shader_manager_class.cpp.
bool shader_manager_class::render_refraction_shader | ( | ID3D11DeviceContext * | deviceContext, |
int | indexCount, | ||
XMMATRIX | worldMatrix, | ||
XMMATRIX | viewMatrix, | ||
XMMATRIX | projectionMatrix, | ||
ID3D11ShaderResourceView * | texture, | ||
XMFLOAT3 | lightDirection, | ||
XMFLOAT4 | ambientColor[], | ||
XMFLOAT4 | diffuseColor[], | ||
XMFLOAT4 | lightPosition[], | ||
XMFLOAT4 | clipPlane ) |
Definition at line 428 of file shader_manager_class.cpp.
bool shader_manager_class::render_skybox_shader | ( | ID3D11DeviceContext * | deviceContext, |
int | indexCount, | ||
XMMATRIX | worldMatrix, | ||
XMMATRIX | viewMatrix, | ||
XMMATRIX | projectionMatrix, | ||
ID3D11ShaderResourceView * | texture, | ||
XMFLOAT4 | diffuseColor, | ||
XMFLOAT4 | ambientColor, | ||
XMFLOAT3 | sunDirection, | ||
float | sunIntensity ) |
Definition at line 486 of file shader_manager_class.cpp.
bool shader_manager_class::render_spec_map_shader | ( | ID3D11DeviceContext * | deviceContext, |
int | indexCount, | ||
XMMATRIX | worldMatrix, | ||
XMMATRIX | viewMatrix, | ||
XMMATRIX | projectionMatrix, | ||
ID3D11ShaderResourceView * | texture1, | ||
ID3D11ShaderResourceView * | texture2, | ||
ID3D11ShaderResourceView * | texture3, | ||
XMFLOAT3 | lightDirection, | ||
XMFLOAT4 | diffuseColor, | ||
XMFLOAT3 | cameraPosition, | ||
XMFLOAT4 | specularColor, | ||
float | specularPower ) |
Definition at line 368 of file shader_manager_class.cpp.
bool shader_manager_class::render_sunlight_shader | ( | ID3D11DeviceContext * | deviceContext, |
int | indexCount, | ||
XMMATRIX | worldMatrix, | ||
XMMATRIX | viewMatrix, | ||
XMMATRIX | projectionMatrix, | ||
ID3D11ShaderResourceView * | texture, | ||
XMFLOAT4 | diffuseColor, | ||
XMFLOAT4 | ambientColor, | ||
XMFLOAT3 | sunDirection, | ||
float | sunIntensity ) |
Definition at line 472 of file shader_manager_class.cpp.
bool shader_manager_class::render_texture_shader | ( | ID3D11DeviceContext * | deviceContext, |
int | indexCount, | ||
XMMATRIX | worldMatrix, | ||
XMMATRIX | viewMatrix, | ||
XMMATRIX | projectionMatrix, | ||
ID3D11ShaderResourceView * | texture ) |
Definition at line 293 of file shader_manager_class.cpp.
bool shader_manager_class::render_translate_shader | ( | ID3D11DeviceContext * | deviceContext, |
int | indexCount, | ||
XMMATRIX | worldMatrix, | ||
XMMATRIX | viewMatrix, | ||
XMMATRIX | projectionMatrix, | ||
ID3D11ShaderResourceView * | texture1, | ||
float | valeur ) |
Definition at line 338 of file shader_manager_class.cpp.
bool shader_manager_class::render_transparent_shader | ( | ID3D11DeviceContext * | deviceContext, |
int | indexCount, | ||
XMMATRIX | worldMatrix, | ||
XMMATRIX | viewMatrix, | ||
XMMATRIX | projectionMatrix, | ||
ID3D11ShaderResourceView * | texture1, | ||
float | blendAmount ) |
Definition at line 385 of file shader_manager_class.cpp.
bool shader_manager_class::render_water_shader | ( | ID3D11DeviceContext * | deviceContext, |
int | indexCount, | ||
XMMATRIX | worldMatrix, | ||
XMMATRIX | viewMatrix, | ||
XMMATRIX | projectionMatrix, | ||
XMMATRIX | reflectionMatrix, | ||
ID3D11ShaderResourceView * | reflectionTexture, | ||
ID3D11ShaderResourceView * | refractionTexture, | ||
ID3D11ShaderResourceView * | normalTexture, | ||
float | waterTranslation, | ||
float | reflectRefractScale ) |
Definition at line 442 of file shader_manager_class.cpp.
bool shader_manager_class::renderlight_map_shader | ( | ID3D11DeviceContext * | deviceContext, |
int | indexCount, | ||
XMMATRIX | worldMatrix, | ||
XMMATRIX | viewMatrix, | ||
XMMATRIX | projectionMatrix, | ||
ID3D11ShaderResourceView * | texture1, | ||
ID3D11ShaderResourceView * | texture2 ) |
Definition at line 414 of file shader_manager_class.cpp.
bool shader_manager_class::renderlight_shader | ( | ID3D11DeviceContext * | deviceContext, |
int | indexCount, | ||
XMMATRIX | worldMatrix, | ||
XMMATRIX | viewMatrix, | ||
XMMATRIX | projectionMatrix, | ||
ID3D11ShaderResourceView * | texture, | ||
XMFLOAT4 | diffuseColor[], | ||
XMFLOAT4 | lightPosition[], | ||
XMFLOAT4 | ambientColor[] ) |
Definition at line 400 of file shader_manager_class.cpp.
void shader_manager_class::shutdown | ( | ) |
Definition at line 169 of file shader_manager_class.cpp.