| /NW4C-2.0.3/sources/libraries/gfx/ |
| D | gfx_DirectMaterialActivator.cpp | 56 const Model* owner = material->GetOwnerModel(); in Activate() 63 if (ut::CheckFlag(m_ActivateFlags, Model::FLAG_BUFFER_SHADER_PARAMETER)) in Activate() 74 if (ut::CheckFlag(m_ActivateFlags, Model::FLAG_BUFFER_SHADING_PARAMETER)) in Activate() 81 if (ut::CheckFlag(m_ActivateFlags, Model::FLAG_BUFFER_RASTERIZATION)) in Activate() 87 if (ut::CheckFlag(m_ActivateFlags, Model::FLAG_BUFFER_TEXTURE_COORDINATOR)) in Activate() 93 if (ut::CheckFlag(m_ActivateFlags, Model::FLAG_BUFFER_TEXTURE_MAPPER)) in Activate() 101 if (ut::CheckFlag(m_ActivateFlags, Model::FLAG_BUFFER_FRAGMENT_LIGHTING)) in Activate() 108 if (ut::CheckFlag(m_ActivateFlags, Model::FLAG_BUFFER_FRAGMENT_LIGHTING_TABLE)) in Activate() 119 if (ut::CheckFlag(m_ActivateFlags, Model::FLAG_BUFFER_MATERIAL_COLOR)) in Activate() 127 if (ut::CheckFlag(m_ActivateFlags, Model::FLAG_BUFFER_TEXTURE_COMBINER)) in Activate() [all …]
|
| D | gfx_Model.cpp | 33 NW_UT_RUNTIME_TYPEINFO_DEFINITION( Model, TransformNode ); 36 Model* 37 Model::Create( in Create() 40 const Model::Description& description, in Create() 50 void* memory = allocator->Alloc(sizeof(Model)); in Create() 53 Model* node = new(memory) Model( in Create() 72 Model::Initialize(os::IAllocator* allocator) in Initialize() 102 Model::Accept( in Accept() 112 Model::BindMaterialAnim(AnimGroup* animGroup) in BindMaterialAnim() 142 Model::BindVisibilityAnim(AnimGroup* animGroup) in BindVisibilityAnim() [all …]
|
| D | gfx_Material.cpp | 29 nw::gfx::Material* material, nw::gfx::Model::BufferOption bufferOption) in GetAvailableResMaterial() 49 Model* owner) in Material() 68 Model* parent, in Create() 94 GetAvailableResMaterial(material, Model::FLAG_BUFFER_SHADER_PARAMETER); in Create() 96 GetAvailableResMaterial(material, Model::FLAG_BUFFER_SHADING_PARAMETER); in Create() 98 GetAvailableResMaterial(material, Model::FLAG_BUFFER_MATERIAL_COLOR); in Create() 100 GetAvailableResMaterial(material, Model::FLAG_BUFFER_RASTERIZATION); in Create() 102 GetAvailableResMaterial(material, Model::FLAG_BUFFER_TEXTURE_COORDINATOR); in Create() 104 GetAvailableResMaterial(material, Model::FLAG_BUFFER_TEXTURE_MAPPER); in Create() 106 GetAvailableResMaterial(material, Model::FLAG_BUFFER_FRAGMENT_LIGHTING); in Create() [all …]
|
| D | gfx_SceneBuilder.cpp | 158 Model::Description description; in BuildSceneObject() 172 … Model::GetMemorySizeInternal(pSize, ResStaticCast<ResModel>(resource), description); in BuildSceneObject() 176 … Model::GetDeviceMemorySizeInternal(pDeviceSize, ResStaticCast<ResModel>(resource), description); in BuildSceneObject() 181 Model* node = Model::Create( in BuildSceneObject()
|
| D | gfx_ParticleModel.cpp | 34 NW_UT_RUNTIME_TYPEINFO_DEFINITION( ParticleModel, Model ); 254 Model::GetMemorySizeForInitialize(pSize, resource, description); in GetMemorySizeForInitialize() 266 result |= Model::Initialize(allocator); in Initialize()
|
| D | gfx_RenderContext.cpp | 207 m_MaterialHash.ResetMaterialHash(Model::MULTI_FLAG_BUFFER_MATERIAL); in ResetState() 320 RenderContext::SetModelMatrixForModel(Model* model) in SetModelMatrixForModel() 465 const s32 hashMask = Model::FLAG_BUFFER_SHADER_PARAMETER | in ActivateShaderProgram() 466 Model::FLAG_BUFFER_MATERIAL_COLOR | in ActivateShaderProgram() 467 Model::FLAG_BUFFER_TEXTURE_COORDINATOR | in ActivateShaderProgram() 468 Model::FLAG_BUFFER_SCENE_ENVIRONMENT; in ActivateShaderProgram() 492 const Model* owner = this->m_Material->GetOwnerModel(); in ActivateSceneEnvironment()
|
| D | gfx_SceneUpdater.cpp | 94 Model::IsVisibleModelDefaultFunctor isVisibleModel; in SubmitView() 119 Model::IsVisibleModelDefaultFunctor isVisibleModel; in SubmitView()
|
| D | gfx_SkeletalModel.cpp | 35 NW_UT_RUNTIME_TYPEINFO_DEFINITION( SkeletalModel, Model ); 239 result |= Model::Initialize(allocator); in Initialize()
|
| /NW4C-2.0.3/include/nw/gfx/ |
| D | gfx_RenderContext.h | 44 class Model; variable 139 ResetMaterialHash(Model::MULTI_FLAG_BUFFER_MATERIAL); in MaterialHash() 356 NW_DEPRECATED_FUNCTION(void SetModelMatrix(Model* model)) in NW_DEPRECATED_FUNCTION() 384 void SetModelMatrixForModel(Model* model); 401 Model* GetModelCache() { return this->m_ModelCache; } in GetModelCache() 407 const Model* GetModelCache() const { return this->m_ModelCache; } in GetModelCache() 619 Model* m_ModelCache; 642 if (ut::CheckFlag(hashMask, Model::FLAG_BUFFER_SHADER_PARAMETER)) in ResetMaterialHash() 647 if (ut::CheckFlag(hashMask, Model::FLAG_BUFFER_SHADING_PARAMETER)) in ResetMaterialHash() 652 if (ut::CheckFlag(hashMask, Model::FLAG_BUFFER_MATERIAL_COLOR)) in ResetMaterialHash() [all …]
|
| D | gfx_MeshRenderer.h | 38 class Model; variable 89 void RenderMesh(ResMesh mesh, Model* model); 109 Model* model, 120 Model* model,
|
| D | gfx_Material.h | 31 class Model; variable 63 Model* parent, 115 Model* GetOwnerModel() in GetOwnerModel() 124 const Model* GetOwnerModel() const in GetOwnerModel() 267 Model* parent); 377 Model* m_Owner; 395 friend class Model; variable
|
| D | gfx_Model.h | 39 class Model : public TransformNode 42 NW_DISALLOW_COPY_AND_ASSIGN(Model); 51 typedef ut::Signal3<void, Model*, ResMesh, RenderContext*> RenderSignal; 159 Model* sharedMaterialModel; //!< 共有元のマテリアルを持つモデルです。 173 bool IsVisible(const nw::gfx::Model* model) in IsVisible() 192 static Model* Create( 195 const Model::Description& description, 224 size += sizeof(Model); in GetMemorySizeInternal() 621 Model( in Model() function 624 const Model::Description& description) in Model() [all …]
|
| D | gfx_SkeletalModel.h | 45 class SkeletalModel : public Model 54 struct Description : public Model::Description 124 Builder& SharedMaterialModel(Model* model) in SharedMaterialModel() 380 Model::GetMemorySizeForInitialize(pSize, resModel, description); in GetMemorySizeForInitialize() 416 : Model( in SkeletalModel()
|
| D | gfx_RenderQueue.h | 83 IsCalculatingOnlyLayer1Functor(Model* model, ResMesh mesh) in IsCalculatingOnlyLayer1Functor() 107 AlwaysCalculatingFunctor(Model* model, ResMesh mesh) in AlwaysCalculatingFunctor() 124 typedef Model ModelType; 239 typedef BasicEnqueueModelFunctor<Model, CalculateDepthFunctor, AlwaysCalculatingFunctor> 248 typedef BasicEnqueueModelFunctor<Model, CalculateDepthFunctor, IsCalculatingOnlyLayer1Functor> 304 …typedef BasicEnqueueModelTranslucentModelBaseFunctor<Model, CalculateDepthFunctor, AlwaysCalculati… 313 …typedef BasicEnqueueModelTranslucentModelBaseFunctor<Model, CalculateDepthFunctor, IsCalculatingOn… 487 Model* model, in EnqueueMesh() 505 Model* model, in EnqueueModel()
|
| D | gfx_ISceneVisitor.h | 31 class Model; variable 77 virtual void VisitModel(Model* model) = 0;
|
| D | gfx_RenderElement.h | 288 BasicRenderElement(ResMesh mesh, Model* model) in BasicRenderElement() 316 Model* GetModel() { return m_Model; } in GetModel() 319 const Model* GetModel() const { return m_Model; } in GetModel() 351 Model* m_Model; 448 const Model* model = renderElement.GetModel(); in CreateRenderKey() 544 const Model* model = renderElement.GetModel(); in CreateRenderKey() 643 const Model* model = renderElement.GetModel(); in CreateRenderKey()
|
| D | gfx_ParticleModel.h | 86 class ParticleModel : public Model 95 struct Description : public Model::Description 380 : Model( in ParticleModel()
|
| D | gfx_SceneBuilder.h | 94 SceneBuilder& SharedMaterialModel(Model* model) { m_SharedMaterialModel = model; return *this; } in SharedMaterialModel() 278 Model* m_SharedMaterialModel;
|
| D | gfx_SceneUpdateHelper.h | 48 class SubmitViewFunctor : public std::unary_function<Model*, void> 81 void operator() (Model* model) in operator()
|
| D | gfx_ISceneUpdater.h | 65 virtual bool IsVisible(const nw::gfx::Model* model) in IsVisible()
|
| D | gfx_SceneTraverser.h | 72 virtual void VisitModel(Model* model);
|
| D | gfx_SceneInitializer.h | 93 virtual void VisitModel(Model* model);
|
| /NW4C-2.0.3/demos/gfx/DynamicMaterialDemo/sources/ |
| D | DynamicMaterialDemo.cpp | 50 virtual bool IsVisible(const nw::gfx::Model* model) in IsVisible() 60 virtual bool IsVisible(const nw::gfx::Model* model) in IsVisible() 165 nw::gfx::Model* s_BufferTorus = NULL; 166 nw::gfx::Model* s_LutTorus = NULL; 167 nw::gfx::Model* s_TextureTorus = NULL; 323 nw::gfx::Model* model = nw::ut::DynamicCast<nw::gfx::Model*>(node); in BuildResources() 347 nw::gfx::Model* changeModel = nw::ut::DynamicCast<nw::gfx::Model*>(node); in BuildResources() 359 nw::gfx::Model::FLAG_BUFFER_MATERIAL_COLOR in BuildResources() 363 nw::gfx::Model* bufferModel = nw::ut::DynamicCast<nw::gfx::Model*>(bufferNode); in BuildResources()
|
| /NW4C-2.0.3/sources/libraries/demo/ |
| D | demo_Utility.cpp | 444 nw::gfx::Model::BufferOption bufferOption, in CreateSceneNode() 511 nw::gfx::Model* model = nw::ut::DynamicCast<nw::gfx::Model*>(object); in GetAnimGroup() 518 nw::gfx::Model* model = nw::ut::DynamicCast<nw::gfx::Model*>(object); in GetAnimGroup() 609 nw::gfx::Model* model = nw::ut::DynamicCast<nw::gfx::Model*>(object); in BindAnimationObject() 616 nw::gfx::Model* model = nw::ut::DynamicCast<nw::gfx::Model*>(object); in BindAnimationObject()
|
| /NW4C-2.0.3/demos/Nw4cDemo/include/ |
| D | SmModel.h | 49 void SetModel( nw::gfx::Model* pModel, nw::gfx::SkeletalModel* pSkelModel ); 145 nw::gfx::Model* m_Model;
|