| /NW4C-1.3.3/sources/libraries/gfx/ |
| D | gfx_DirectMaterialActivator.cpp | 54 const Model* owner = material->GetOwnerModel(); in Activate() 61 if (ut::CheckFlag(m_ActivateFlags, Model::FLAG_BUFFER_SHADER_PARAMETER)) in Activate() 72 if (ut::CheckFlag(m_ActivateFlags, Model::FLAG_BUFFER_SHADING_PARAMETER)) in Activate() 79 if (ut::CheckFlag(m_ActivateFlags, Model::FLAG_BUFFER_RASTERIZATION)) in Activate() 85 if (ut::CheckFlag(m_ActivateFlags, Model::FLAG_BUFFER_TEXTURE_COORDINATOR)) in Activate() 91 if (ut::CheckFlag(m_ActivateFlags, Model::FLAG_BUFFER_TEXTURE_MAPPER)) in Activate() 99 if (ut::CheckFlag(m_ActivateFlags, Model::FLAG_BUFFER_FRAGMENT_LIGHTING)) in Activate() 106 if (ut::CheckFlag(m_ActivateFlags, Model::FLAG_BUFFER_FRAGMENT_LIGHTING_TABLE)) in Activate() 117 if (ut::CheckFlag(m_ActivateFlags, Model::FLAG_BUFFER_MATERIAL_COLOR)) in Activate() 125 if (ut::CheckFlag(m_ActivateFlags, Model::FLAG_BUFFER_TEXTURE_COMBINER)) in Activate() [all …]
|
| D | gfx_Model.cpp | 31 NW_UT_RUNTIME_TYPEINFO_DEFINITION( Model, TransformNode ); 34 Model* 35 Model::Create( in Create() 38 const Model::Description& description, in Create() 48 void* memory = allocator->Alloc(sizeof(Model)); in Create() 51 Model* node = new(memory) Model( in Create() 70 Model::Initialize(os::IAllocator* allocator) in Initialize() 100 Model::Accept( in Accept() 110 Model::BindMaterialAnim(AnimGroup* animGroup) in BindMaterialAnim() 140 Model::BindVisibilityAnim(AnimGroup* animGroup) in BindVisibilityAnim() [all …]
|
| D | gfx_Material.cpp | 27 nw::gfx::Material* material, nw::gfx::Model::BufferOption bufferOption) in GetAvailableResMaterial() 47 Model* owner) in Material() 66 Model* parent, in Create() 92 GetAvailableResMaterial(material, Model::FLAG_BUFFER_SHADER_PARAMETER); in Create() 94 GetAvailableResMaterial(material, Model::FLAG_BUFFER_SHADING_PARAMETER); in Create() 96 GetAvailableResMaterial(material, Model::FLAG_BUFFER_MATERIAL_COLOR); in Create() 98 GetAvailableResMaterial(material, Model::FLAG_BUFFER_RASTERIZATION); in Create() 100 GetAvailableResMaterial(material, Model::FLAG_BUFFER_TEXTURE_COORDINATOR); in Create() 102 GetAvailableResMaterial(material, Model::FLAG_BUFFER_TEXTURE_MAPPER); in Create() 104 GetAvailableResMaterial(material, Model::FLAG_BUFFER_FRAGMENT_LIGHTING); in Create() [all …]
|
| D | gfx_ParticleModel.cpp | 32 NW_UT_RUNTIME_TYPEINFO_DEFINITION( ParticleModel, Model ); 245 Model::GetMemorySizeForInitialize(pSize, resource, description); in GetMemorySizeForInitialize() 257 result |= Model::Initialize(allocator); in Initialize()
|
| D | gfx_SceneBuilder.cpp | 156 Model::Description description; in BuildSceneObject() 170 … Model::GetMemorySizeInternal(pSize, ResStaticCast<ResModel>(resource), description); in BuildSceneObject() 174 … Model::GetDeviceMemorySizeInternal(pDeviceSize, ResStaticCast<ResModel>(resource), description); in BuildSceneObject() 179 Model* node = Model::Create( in BuildSceneObject()
|
| D | gfx_SceneUpdater.cpp | 92 Model::IsVisibleModelDefaultFunctor isVisibleModel; in SubmitView() 117 Model::IsVisibleModelDefaultFunctor isVisibleModel; in SubmitView()
|
| D | gfx_RenderContext.cpp | 205 m_MaterialHash.ResetMaterialHash(Model::MULTI_FLAG_BUFFER_MATERIAL); in ResetState() 318 RenderContext::SetModelMatrixForModel(Model* model) in SetModelMatrixForModel() 461 const s32 hashMask = Model::FLAG_BUFFER_SHADER_PARAMETER | in ActivateShaderProgram() 462 Model::FLAG_BUFFER_MATERIAL_COLOR | in ActivateShaderProgram() 463 Model::FLAG_BUFFER_TEXTURE_COORDINATOR | in ActivateShaderProgram() 464 Model::FLAG_BUFFER_SCENE_ENVIRONMENT; in ActivateShaderProgram() 488 const Model* owner = this->m_Material->GetOwnerModel(); in ActivateSceneEnvironment()
|
| D | gfx_SceneInitializer.cpp | 60 void SceneInitializer::VisitModel(Model* model) in VisitModel()
|
| /NW4C-1.3.3/include/nw/gfx/ |
| D | gfx_RenderContext.h | 42 class Model; variable 137 ResetMaterialHash(Model::MULTI_FLAG_BUFFER_MATERIAL); in MaterialHash() 354 NW_DEPRECATED_FUNCTION(void SetModelMatrix(Model* model)) in NW_DEPRECATED_FUNCTION() 382 void SetModelMatrixForModel(Model* model); 399 Model* GetModelCache() { return this->m_ModelCache; } in GetModelCache() 405 const Model* GetModelCache() const { return this->m_ModelCache; } in GetModelCache() 617 Model* m_ModelCache; 640 if (ut::CheckFlag(hashMask, Model::FLAG_BUFFER_SHADER_PARAMETER)) in ResetMaterialHash() 645 if (ut::CheckFlag(hashMask, Model::FLAG_BUFFER_SHADING_PARAMETER)) in ResetMaterialHash() 650 if (ut::CheckFlag(hashMask, Model::FLAG_BUFFER_MATERIAL_COLOR)) in ResetMaterialHash() [all …]
|
| D | gfx_MeshRenderer.h | 36 class Model; variable 87 void RenderMesh(ResMesh mesh, Model* model); 107 Model* model, 118 Model* model,
|
| D | gfx_Material.h | 29 class Model; variable 61 Model* parent, 113 Model* GetOwnerModel() in GetOwnerModel() 122 const Model* GetOwnerModel() const in GetOwnerModel() 265 Model* parent); 375 Model* m_Owner; 393 friend class Model; variable
|
| D | gfx_Model.h | 37 class Model : public TransformNode 40 NW_DISALLOW_COPY_AND_ASSIGN(Model); 49 typedef ut::Signal3<void, Model*, ResMesh, RenderContext*> RenderSignal; 157 Model* sharedMaterialModel; //!< 共有元のマテリアルを持つモデルです。 171 bool IsVisible(const nw::gfx::Model* model) in IsVisible() 190 static Model* Create( 193 const Model::Description& description, 222 size += sizeof(Model); in GetMemorySizeInternal() 619 Model( in Model() function 622 const Model::Description& description) in Model() [all …]
|
| D | gfx_SkeletalModel.h | 43 class SkeletalModel : public Model 52 struct Description : public Model::Description 122 Builder& SharedMaterialModel(Model* model) in SharedMaterialModel() 378 Model::GetMemorySizeForInitialize(pSize, resModel, description); in GetMemorySizeForInitialize() 414 : Model( in SkeletalModel()
|
| D | gfx_RenderQueue.h | 81 IsCalculatingOnlyLayer1Functor(Model* model, ResMesh mesh) in IsCalculatingOnlyLayer1Functor() 105 AlwaysCalculatingFunctor(Model* model, ResMesh mesh) in AlwaysCalculatingFunctor() 122 typedef Model ModelType; 237 typedef BasicEnqueueModelFunctor<Model, CalculateDepthFunctor, AlwaysCalculatingFunctor> 246 typedef BasicEnqueueModelFunctor<Model, CalculateDepthFunctor, IsCalculatingOnlyLayer1Functor> 302 …typedef BasicEnqueueModelTranslucentModelBaseFunctor<Model, CalculateDepthFunctor, AlwaysCalculati… 311 …typedef BasicEnqueueModelTranslucentModelBaseFunctor<Model, CalculateDepthFunctor, IsCalculatingOn… 485 Model* model, in EnqueueMesh() 503 Model* model, in EnqueueModel()
|
| D | gfx_ISceneVisitor.h | 28 class Model; variable 68 virtual void VisitModel(Model* model) = 0;
|
| D | gfx_RenderElement.h | 283 BasicRenderElement(ResMesh mesh, Model* model) in BasicRenderElement() 311 Model* GetModel() { return m_Model; } in GetModel() 314 const Model* GetModel() const { return m_Model; } in GetModel() 346 Model* m_Model; 443 const Model* model = renderElement.GetModel(); in CreateRenderKey() 539 const Model* model = renderElement.GetModel(); in CreateRenderKey() 638 const Model* model = renderElement.GetModel(); in CreateRenderKey()
|
| D | gfx_ParticleModel.h | 73 class ParticleModel : public Model 82 struct Description : public Model::Description 351 : Model( in ParticleModel()
|
| D | gfx_SceneBuilder.h | 92 SceneBuilder& SharedMaterialModel(Model* model) { m_SharedMaterialModel = model; return *this; } in SharedMaterialModel() 275 Model* m_SharedMaterialModel;
|
| D | gfx_SceneUpdateHelper.h | 46 class SubmitViewFunctor : public std::unary_function<Model*, void> 79 void operator() (Model* model) in operator()
|
| D | gfx_ISceneUpdater.h | 63 virtual bool IsVisible(const nw::gfx::Model* model) in IsVisible()
|
| D | gfx_SceneTraverser.h | 69 virtual void VisitModel(Model* model);
|
| D | gfx_SceneInitializer.h | 90 virtual void VisitModel(Model* model);
|
| /NW4C-1.3.3/demos/gfx/DynamicMaterialDemo/sources/ |
| D | DynamicMaterialDemo.cpp | 48 virtual bool IsVisible(const nw::gfx::Model* model) in IsVisible() 58 virtual bool IsVisible(const nw::gfx::Model* model) in IsVisible() 163 nw::gfx::Model* s_BufferTorus = NULL; 164 nw::gfx::Model* s_LutTorus = NULL; 165 nw::gfx::Model* s_TextureTorus = NULL; 321 nw::gfx::Model* model = nw::ut::DynamicCast<nw::gfx::Model*>(node); in BuildResources() 345 nw::gfx::Model* changeModel = nw::ut::DynamicCast<nw::gfx::Model*>(node); in BuildResources() 357 nw::gfx::Model::FLAG_BUFFER_MATERIAL_COLOR in BuildResources() 361 nw::gfx::Model* bufferModel = nw::ut::DynamicCast<nw::gfx::Model*>(bufferNode); in BuildResources()
|
| /NW4C-1.3.3/sources/libraries/demo/ |
| D | demo_Utility.cpp | 420 nw::gfx::Model::BufferOption bufferOption, in CreateSceneNode() 487 nw::gfx::Model* model = nw::ut::DynamicCast<nw::gfx::Model*>(object); in GetAnimGroup() 494 nw::gfx::Model* model = nw::ut::DynamicCast<nw::gfx::Model*>(object); in GetAnimGroup() 585 nw::gfx::Model* model = nw::ut::DynamicCast<nw::gfx::Model*>(object); in BindAnimationObject() 592 nw::gfx::Model* model = nw::ut::DynamicCast<nw::gfx::Model*>(object); in BindAnimationObject()
|
| /NW4C-1.3.3/demos/Nw4cDemo/include/ |
| D | SmModel.h | 47 void SetModel( nw::gfx::Model* pModel, nw::gfx::SkeletalModel* pSkelModel ); 143 nw::gfx::Model* m_Model;
|