Home | Namespaces | Hierarchy | Alphabetical List | Class list | Files | Namespace Members | Class members | File members |
#include <ShaderParamData.h>
render::ShaderParamData::ShaderParamData | ( | ) |
References render::Color::Black, core::matrix4::IDENTITY, mAmbientLightColor, mCameraPosition, mCameraPositionDirty, mCameraPositionObjectSpace, mCameraPositionObjectSpaceDirty, mCurrentCamera, mCurrentLight, mCurrentRenderable, mCurrentViewport, mInverseTransposeWorldMatrix, mInverseTransposeWorldMatrixDirty, mInverseTransposeWorldViewMatrix, mInverseTransposeWorldViewMatrixDirty, mInverseViewMatrix, mInverseViewMatrixDirty, mInverseWorldMatrix, mInverseWorldMatrixDirty, mInverseWorldViewMatrix, mInverseWorldViewMatrixDirty, mLightDirection, mLightDirectionObjectSpace, mLightDirectionViewSpace, mLightPosition, mLightPositionObjectSpace, mLightPositionViewSpace, mProjectionMatrix, mProjMatrixDirty, mViewMatrix, mViewMatrixDirty, mViewProjMatrix, mViewProjMatrixDirty, mWorldMatrix, mWorldMatrixDirty, mWorldViewMatrix, mWorldViewMatrixDirty, mWorldViewProjMatrix, mWorldViewProjMatrixDirty, and core::vector3d::ORIGIN_3D.
const Color & render::ShaderParamData::getAmbientLightColour | ( | ) | const |
References mAmbientLightColor.
Referenced by render::Shader::updateAutoParameters().
const core::vector3d & render::ShaderParamData::getCameraPosition | ( | ) |
References scene::Node::getAbsolutePosition(), mCameraPosition, mCameraPositionDirty, and mCurrentCamera.
Referenced by render::Shader::updateAutoParameters().
const core::vector3d & render::ShaderParamData::getCameraPositionObjectSpace | ( | ) |
core::vector4d render::ShaderParamData::getCurrentLightAttenuation | ( | ) | const |
References render::Light::getAttenuationConstant(), render::Light::getAttenuationLinear(), render::Light::getAttenuationQuadric(), render::Light::getAttenuationRange(), mCurrentLight, core::vector4d::W, core::vector4d::X, core::vector4d::Y, and core::vector4d::Z.
Referenced by render::Shader::updateAutoParameters().
const Color & render::ShaderParamData::getCurrentLightDiffuseColour | ( | ) | const |
References render::Light::getDiffuseColor(), mCurrentLight, and render::Color::White.
Referenced by render::Shader::updateAutoParameters().
const core::vector3d & render::ShaderParamData::getCurrentLightDirection | ( | ) |
References scene::Node::getAbsoluteDirection(), mCurrentLight, and mLightDirection.
Referenced by getCurrentLightDirectionObjectSpace(), getCurrentLightDirectionViewSpace(), and render::Shader::updateAutoParameters().
const core::vector3d & render::ShaderParamData::getCurrentLightDirectionObjectSpace | ( | ) |
const core::vector3d & render::ShaderParamData::getCurrentLightDirectionViewSpace | ( | ) |
const core::vector3d & render::ShaderParamData::getCurrentLightPosition | ( | ) |
References scene::Node::getAbsolutePosition(), mCurrentLight, and mLightPosition.
Referenced by getCurrentLightPositionObjectSpace(), getCurrentLightPositionViewSpace(), and render::Shader::updateAutoParameters().
const core::vector3d & render::ShaderParamData::getCurrentLightPositionObjectSpace | ( | ) |
References getCurrentLightPosition(), core::matrix4::getInverse(), getInverseTransposedWorldMatrix(), getInverseWorldMatrix(), render::Light::getLightType(), render::LT_DIRECTIONAL, mCurrentLight, mLightPositionObjectSpace, core::vector3d::normalize(), and core::matrix4::transformVector().
Referenced by render::Shader::updateAutoParameters().
const core::vector3d & render::ShaderParamData::getCurrentLightPositionViewSpace | ( | ) |
References getCurrentLightPosition(), getViewMatrix(), mLightPositionViewSpace, and core::matrix4::transformVector().
Referenced by render::Shader::updateAutoParameters().
const Color & render::ShaderParamData::getCurrentLightSpecularColour | ( | ) | const |
References render::Color::Black, render::Light::getSpecularColor(), and mCurrentLight.
Referenced by render::Shader::updateAutoParameters().
core::matrix4 render::ShaderParamData::getInverseProjectionMatrix | ( | ) |
References core::matrix4::getInverse(), and getProjectionMatrix().
Referenced by getInverseTransposedProjectionMatrix(), and render::Shader::updateAutoParameters().
core::matrix4 render::ShaderParamData::getInverseTransposedProjectionMatrix | ( | ) |
References getInverseProjectionMatrix(), and core::matrix4::getTransposed().
Referenced by render::Shader::updateAutoParameters().
core::matrix4 render::ShaderParamData::getInverseTransposedViewMatrix | ( | ) |
References getInverseViewMatrix(), and core::matrix4::getTransposed().
Referenced by getCurrentLightDirectionViewSpace(), and render::Shader::updateAutoParameters().
core::matrix4 render::ShaderParamData::getInverseTransposedViewProjectionMatrix | ( | ) |
References getInverseViewProjectionMatrix(), and core::matrix4::getTransposed().
Referenced by render::Shader::updateAutoParameters().
const core::matrix4 & render::ShaderParamData::getInverseTransposedWorldMatrix | ( | ) |
const core::matrix4 & render::ShaderParamData::getInverseTransposedWorldViewMatrix | ( | ) |
core::matrix4 render::ShaderParamData::getInverseTransposedWorldViewProjMatrix | ( | ) |
References getInverseWorldViewProjMatrix(), and core::matrix4::getTransposed().
Referenced by render::Shader::updateAutoParameters().
const core::matrix4 & render::ShaderParamData::getInverseViewMatrix | ( | ) |
References core::matrix4::getInverse(), getViewMatrix(), mInverseViewMatrix, and mInverseViewMatrixDirty.
Referenced by getInverseTransposedViewMatrix(), and render::Shader::updateAutoParameters().
core::matrix4 render::ShaderParamData::getInverseViewProjectionMatrix | ( | ) |
References core::matrix4::getInverse(), and getViewProjectionMatrix().
Referenced by getInverseTransposedViewProjectionMatrix(), and render::Shader::updateAutoParameters().
const core::matrix4 & render::ShaderParamData::getInverseWorldMatrix | ( | ) |
const core::matrix4 & render::ShaderParamData::getInverseWorldViewMatrix | ( | ) |
References core::matrix4::getInverse(), getWorldViewMatrix(), mInverseWorldViewMatrix, and mInverseWorldViewMatrixDirty.
Referenced by getInverseTransposedWorldViewMatrix(), and render::Shader::updateAutoParameters().
core::matrix4 render::ShaderParamData::getInverseWorldViewProjMatrix | ( | ) |
References core::matrix4::getInverse(), and getWorldViewProjMatrix().
Referenced by getInverseTransposedWorldViewProjMatrix(), and render::Shader::updateAutoParameters().
const core::matrix4 & render::ShaderParamData::getProjectionMatrix | ( | ) |
core::matrix4 render::ShaderParamData::getTransposedProjectionMatrix | ( | ) |
References getProjectionMatrix(), and core::matrix4::getTransposed().
Referenced by render::Shader::updateAutoParameters().
core::matrix4 render::ShaderParamData::getTransposedViewMatrix | ( | ) |
References core::matrix4::getTransposed(), and getViewMatrix().
Referenced by render::Shader::updateAutoParameters().
core::matrix4 render::ShaderParamData::getTransposedViewProjectionMatrix | ( | ) |
References core::matrix4::getTransposed(), and getViewProjectionMatrix().
Referenced by render::Shader::updateAutoParameters().
core::matrix4 render::ShaderParamData::getTransposedWorldMatrix | ( | ) |
References core::matrix4::getTransposed(), and getWorldMatrix().
Referenced by render::Shader::updateAutoParameters().
core::matrix4 render::ShaderParamData::getTransposedWorldViewMatrix | ( | ) |
References core::matrix4::getTransposed(), and getWorldViewMatrix().
Referenced by render::Shader::updateAutoParameters().
core::matrix4 render::ShaderParamData::getTransposedWorldViewProjMatrix | ( | ) |
References core::matrix4::getTransposed(), and getWorldViewProjMatrix().
Referenced by render::Shader::updateAutoParameters().
const core::matrix4 & render::ShaderParamData::getViewMatrix | ( | ) |
const core::matrix4 & render::ShaderParamData::getViewProjectionMatrix | ( | ) |
References getProjectionMatrix(), getViewMatrix(), mProjMatrixDirty, and mViewProjMatrix.
Referenced by getInverseViewProjectionMatrix(), getTransposedViewProjectionMatrix(), and render::Shader::updateAutoParameters().
const core::matrix4 & render::ShaderParamData::getWorldMatrix | ( | ) |
References render::Renderable::getWorldMatrix(), mCurrentRenderable, mWorldMatrix, and mWorldMatrixDirty.
Referenced by getInverseWorldMatrix(), getTransposedWorldMatrix(), getWorldViewMatrix(), and render::Shader::updateAutoParameters().
const core::matrix4 & render::ShaderParamData::getWorldViewMatrix | ( | ) |
References getViewMatrix(), getWorldMatrix(), mWorldViewMatrix, and mWorldViewMatrixDirty.
Referenced by getInverseWorldViewMatrix(), getTransposedWorldViewMatrix(), getWorldViewProjMatrix(), and render::Shader::updateAutoParameters().
const core::matrix4 & render::ShaderParamData::getWorldViewProjMatrix | ( | ) |
void render::ShaderParamData::setAmbientLightColor | ( | const Color & | ambient | ) |
References mAmbientLightColor.
void render::ShaderParamData::setCurrentCamera | ( | Camera * | cam | ) |
References mCameraPositionDirty, mCameraPositionObjectSpaceDirty, mCurrentCamera, mInverseTransposeWorldViewMatrixDirty, mInverseViewMatrixDirty, mInverseWorldViewMatrixDirty, mProjMatrixDirty, mViewMatrixDirty, mViewProjMatrixDirty, mWorldViewMatrixDirty, and mWorldViewProjMatrixDirty.
Referenced by render::RenderManager::render().
void render::ShaderParamData::setCurrentLight | ( | Light * | light | ) |
References mCurrentLight.
Referenced by render::RenderManager::renderSingleRenderable().
void render::ShaderParamData::setCurrentRenderable | ( | Renderable * | rend | ) |
References mCurrentRenderable, mInverseTransposeWorldMatrixDirty, mInverseTransposeWorldViewMatrixDirty, mInverseViewMatrixDirty, mInverseWorldMatrixDirty, mInverseWorldViewMatrixDirty, mProjMatrixDirty, mViewMatrixDirty, mViewProjMatrixDirty, mWorldMatrixDirty, mWorldViewMatrixDirty, and mWorldViewProjMatrixDirty.
Referenced by render::RenderManager::renderSingleRenderable().
void render::ShaderParamData::setCurrentViewport | ( | Viewport * | viewport | ) |
References mCurrentViewport.
Referenced by render::RenderManager::render().
void render::ShaderParamData::setWorldMatrices | ( | const core::matrix4 & | m | ) |
References mWorldMatrix, and mWorldMatrixDirty.
Color render::ShaderParamData::mAmbientLightColor [protected] |
Referenced by getAmbientLightColour(), setAmbientLightColor(), and ShaderParamData().
Referenced by getCameraPosition(), and ShaderParamData().
bool render::ShaderParamData::mCameraPositionDirty [protected] |
Referenced by getCameraPosition(), setCurrentCamera(), and ShaderParamData().
Referenced by getCameraPositionObjectSpace(), and ShaderParamData().
bool render::ShaderParamData::mCameraPositionObjectSpaceDirty [protected] |
Referenced by getCameraPositionObjectSpace(), setCurrentCamera(), and ShaderParamData().
Camera* render::ShaderParamData::mCurrentCamera [protected] |
Light* render::ShaderParamData::mCurrentLight [protected] |
Renderable* render::ShaderParamData::mCurrentRenderable [protected] |
Referenced by getWorldMatrix(), setCurrentRenderable(), and ShaderParamData().
Viewport* render::ShaderParamData::mCurrentViewport [protected] |
Referenced by setCurrentViewport(), and ShaderParamData().
Color render::ShaderParamData::mFogColor [protected] |
Referenced by getInverseTransposedWorldMatrix(), and ShaderParamData().
bool render::ShaderParamData::mInverseTransposeWorldMatrixDirty [protected] |
Referenced by getInverseTransposedWorldMatrix(), setCurrentRenderable(), and ShaderParamData().
Referenced by getInverseTransposedWorldViewMatrix(), and ShaderParamData().
bool render::ShaderParamData::mInverseTransposeWorldViewMatrixDirty [protected] |
Referenced by getInverseTransposedWorldViewMatrix(), setCurrentCamera(), setCurrentRenderable(), and ShaderParamData().
Referenced by getInverseViewMatrix(), and ShaderParamData().
bool render::ShaderParamData::mInverseViewMatrixDirty [protected] |
Referenced by getInverseViewMatrix(), setCurrentCamera(), setCurrentRenderable(), and ShaderParamData().
Referenced by getInverseWorldMatrix(), and ShaderParamData().
bool render::ShaderParamData::mInverseWorldMatrixDirty [protected] |
Referenced by getInverseWorldMatrix(), setCurrentRenderable(), and ShaderParamData().
Referenced by getInverseWorldViewMatrix(), and ShaderParamData().
bool render::ShaderParamData::mInverseWorldViewMatrixDirty [protected] |
Referenced by getInverseWorldViewMatrix(), setCurrentCamera(), setCurrentRenderable(), and ShaderParamData().
Referenced by getCurrentLightDirection(), and ShaderParamData().
Referenced by getCurrentLightDirectionObjectSpace(), and ShaderParamData().
Referenced by getCurrentLightDirectionViewSpace(), and ShaderParamData().
Referenced by getCurrentLightPosition(), and ShaderParamData().
Referenced by getCurrentLightPositionObjectSpace(), and ShaderParamData().
Referenced by getCurrentLightPositionViewSpace(), and ShaderParamData().
std::list<Light*> render::ShaderParamData::mLights [protected] |
Referenced by getProjectionMatrix(), and ShaderParamData().
bool render::ShaderParamData::mProjMatrixDirty [protected] |
Referenced by getProjectionMatrix(), getViewProjectionMatrix(), setCurrentCamera(), setCurrentRenderable(), and ShaderParamData().
core::matrix4 render::ShaderParamData::mViewMatrix [protected] |
Referenced by getViewMatrix(), and ShaderParamData().
bool render::ShaderParamData::mViewMatrixDirty [protected] |
Referenced by getViewMatrix(), setCurrentCamera(), setCurrentRenderable(), and ShaderParamData().
Referenced by getViewProjectionMatrix(), and ShaderParamData().
bool render::ShaderParamData::mViewProjMatrixDirty [protected] |
Referenced by setCurrentCamera(), setCurrentRenderable(), and ShaderParamData().
core::matrix4 render::ShaderParamData::mWorldMatrix [protected] |
Referenced by getWorldMatrix(), setWorldMatrices(), and ShaderParamData().
bool render::ShaderParamData::mWorldMatrixDirty [protected] |
Referenced by getWorldMatrix(), setCurrentRenderable(), setWorldMatrices(), and ShaderParamData().
Referenced by getWorldViewMatrix(), and ShaderParamData().
bool render::ShaderParamData::mWorldViewMatrixDirty [protected] |
Referenced by getWorldViewMatrix(), setCurrentCamera(), setCurrentRenderable(), and ShaderParamData().
Referenced by getWorldViewProjMatrix(), and ShaderParamData().
bool render::ShaderParamData::mWorldViewProjMatrixDirty [protected] |
Referenced by getWorldViewProjMatrix(), setCurrentCamera(), setCurrentRenderable(), and ShaderParamData().
The KG Game Engine
Documentation © 2006-2011 by Kat'Oun. Generated on Sat Jul 2 2011 00:50:09 by
Doxygen
(1.7.4)
|