Home
last modified time | relevance | path

Searched refs:Model (Results 1 – 25 of 54) sorted by relevance

123

/NW4C-1.2.23/include/nw/gfx/
Dgfx_RenderContext.h42 class Model; variable
130 ResetMaterialHash(Model::MULTI_FLAG_BUFFER_MATERIAL); in MaterialHash()
353 void SetModelMatrix(Model* model);
359 Model* GetModelCache() { return this->m_ModelCache; } in GetModelCache()
365 const Model* GetModelCache() const { return this->m_ModelCache; } in GetModelCache()
570 Model* m_ModelCache;
593 if (ut::CheckFlag(hashMask, Model::FLAG_BUFFER_SHADER_PARAMETER)) in ResetMaterialHash()
598 if (ut::CheckFlag(hashMask, Model::FLAG_BUFFER_SHADING_PARAMETER)) in ResetMaterialHash()
603 if (ut::CheckFlag(hashMask, Model::FLAG_BUFFER_MATERIAL_COLOR)) in ResetMaterialHash()
608 if (ut::CheckFlag(hashMask, Model::FLAG_BUFFER_RASTERIZATION)) in ResetMaterialHash()
[all …]
Dgfx_MeshRenderer.h36 class Model; variable
87 void RenderMesh(ResMesh mesh, Model* model);
107 Model* model,
118 Model* model,
Dgfx_Material.h29 class Model; variable
61 Model* parent,
112 Model* GetOwnerModel() in GetOwnerModel()
121 const Model* GetOwnerModel() const in GetOwnerModel()
264 Model* parent);
374 Model* m_Owner;
392 friend class Model; variable
Dgfx_Model.h37 class Model : public TransformNode
40 NW_DISALLOW_COPY_AND_ASSIGN(Model);
49 typedef ut::Signal3<void, Model*, ResMesh, RenderContext*> RenderSignal;
148 Model* sharedMaterialModel; //!< 共有元のマテリアルを持つモデルです。
162 bool IsVisible(const nw::gfx::Model* model) in IsVisible()
181 static Model* Create(
184 const Model::Description& description,
212 size += sizeof(Model); in GetMemorySizeInternal()
605 Model( in Model() function
608 const Model::Description& description) in Model()
[all …]
Dgfx_SkeletalModel.h43 class SkeletalModel : public Model
52 struct Description : public Model::Description
132 Builder& SharedMaterialModel(Model* model) in SharedMaterialModel()
329 Model::GetMemorySizeForInitialize(pSize, resModel, description); in GetMemorySizeForInitialize()
365 : Model( in SkeletalModel()
Dgfx_RenderQueue.h81 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…
479 Model* model, in EnqueueMesh()
497 Model* model, in EnqueueModel()
Dgfx_ISceneVisitor.h28 class Model; variable
68 virtual void VisitModel(Model* model) = 0;
Dgfx_RenderElement.h283 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()
Dgfx_SceneBuilder.h102 SceneBuilder& SharedMaterialModel(Model* model) { m_SharedMaterialModel = model; return *this; } in SharedMaterialModel()
190 Model* m_SharedMaterialModel;
Dgfx_ParticleModel.h73 class ParticleModel : public Model
82 struct Description : public Model::Description
349 : Model( in ParticleModel()
Dgfx_SceneUpdateHelper.h46 class SubmitViewFunctor : public std::unary_function<Model*, void>
79 void operator() (Model* model) in operator()
Dgfx_SceneTraverser.h69 virtual void VisitModel(Model* model);
Dgfx_ISceneUpdater.h63 virtual bool IsVisible(const nw::gfx::Model* model) in IsVisible()
Dgfx_SceneInitializer.h90 virtual void VisitModel(Model* model);
/NW4C-1.2.23/sources/libraries/gfx/
Dgfx_Material.cpp27 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 …]
Dgfx_Model.cpp32 NW_UT_RUNTIME_TYPEINFO_DEFINITION( Model, TransformNode );
35 Model*
36 Model::Create( in Create()
39 const Model::Description& description, in Create()
49 void* memory = allocator->Alloc(sizeof(Model)); in Create()
52 Model* node = new(memory) Model( in Create()
71 Model::Initialize(os::IAllocator* allocator) in Initialize()
101 Model::Accept( in Accept()
111 Model::BindMaterialAnim(AnimGroup* animGroup) in BindMaterialAnim()
141 Model::BindVisibilityAnim(AnimGroup* animGroup) in BindVisibilityAnim()
[all …]
Dgfx_ParticleModel.cpp32 NW_UT_RUNTIME_TYPEINFO_DEFINITION( ParticleModel, Model );
244 Model::GetMemorySizeForInitialize(pSize, resource, description); in GetMemorySizeForInitialize()
256 result |= Model::Initialize(allocator); in Initialize()
Dgfx_SceneUpdater.cpp92 Model::IsVisibleModelDefaultFunctor isVisibleModel; in SubmitView()
117 Model::IsVisibleModelDefaultFunctor isVisibleModel; in SubmitView()
Dgfx_SceneBuilder.cpp124 Model::Description description; in BuildSceneObject()
134 Model* node = Model::Create( in BuildSceneObject()
Dgfx_SkeletalModel.cpp33 NW_UT_RUNTIME_TYPEINFO_DEFINITION( SkeletalModel, Model );
213 result |= Model::Initialize(allocator); in Initialize()
Dgfx_SceneInitializer.cpp61 void SceneInitializer::VisitModel(Model* model) in VisitModel()
Dgfx_RenderContext.cpp199 m_MaterialHash.ResetMaterialHash(Model::MULTI_FLAG_BUFFER_MATERIAL); in ResetState()
326 RenderContext::SetModelMatrix(Model* model) in SetModelMatrix()
475 const s32 hashMask = Model::FLAG_BUFFER_SHADER_PARAMETER | in ActivateShaderProgram()
476 Model::FLAG_BUFFER_MATERIAL_COLOR | in ActivateShaderProgram()
477 Model::FLAG_BUFFER_TEXTURE_COORDINATOR | in ActivateShaderProgram()
478 Model::FLAG_BUFFER_SCENE_ENVIRONMENT; in ActivateShaderProgram()
499 const Model* owner = this->m_Material->GetOwnerModel(); in ActivateSceneEnvironment()
/NW4C-1.2.23/demos/gfx/DynamicMaterialDemo/sources/
DDynamicMaterialDemo.cpp48 virtual bool IsVisible(const nw::gfx::Model* model) in IsVisible()
58 virtual bool IsVisible(const nw::gfx::Model* model) in IsVisible()
169 nw::gfx::Model* s_BufferTorus = NULL;
170 nw::gfx::Model* s_LutTorus = NULL;
171 nw::gfx::Model* s_TextureTorus = NULL;
329 nw::gfx::Model* model = nw::ut::DynamicCast<nw::gfx::Model*>(node); in BuildResources()
353 nw::gfx::Model* changeModel = nw::ut::DynamicCast<nw::gfx::Model*>(node); in BuildResources()
365 nw::gfx::Model::FLAG_BUFFER_MATERIAL_COLOR in BuildResources()
369 nw::gfx::Model* bufferModel = nw::ut::DynamicCast<nw::gfx::Model*>(bufferNode); in BuildResources()
/NW4C-1.2.23/sources/libraries/demo/
Ddemo_Utility.cpp398 nw::gfx::Model::BufferOption bufferOption, in CreateSceneNode()
465 nw::gfx::Model* model = nw::ut::DynamicCast<nw::gfx::Model*>(object); in GetAnimGroup()
472 nw::gfx::Model* model = nw::ut::DynamicCast<nw::gfx::Model*>(object); in GetAnimGroup()
528 nw::gfx::Model* model = nw::ut::DynamicCast<nw::gfx::Model*>(object); in BindAnimationObject()
535 nw::gfx::Model* model = nw::ut::DynamicCast<nw::gfx::Model*>(object); in BindAnimationObject()
/NW4C-1.2.23/demos/Nw4cDemo/include/
DSmModel.h47 void SetModel( nw::gfx::Model* pModel, nw::gfx::SkeletalModel* pSkelModel );
143 nw::gfx::Model* m_Model;

123