Home
last modified time | relevance | path

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

123

/NW4C-1.3.3/sources/libraries/gfx/
Dgfx_DirectMaterialActivator.cpp54 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 …]
Dgfx_Model.cpp31 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 …]
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_ParticleModel.cpp32 NW_UT_RUNTIME_TYPEINFO_DEFINITION( ParticleModel, Model );
245 Model::GetMemorySizeForInitialize(pSize, resource, description); in GetMemorySizeForInitialize()
257 result |= Model::Initialize(allocator); in Initialize()
Dgfx_SceneBuilder.cpp156 Model::Description description; in BuildSceneObject()
170Model::GetMemorySizeInternal(pSize, ResStaticCast<ResModel>(resource), description); in BuildSceneObject()
174Model::GetDeviceMemorySizeInternal(pDeviceSize, ResStaticCast<ResModel>(resource), description); in BuildSceneObject()
179 Model* node = Model::Create( in BuildSceneObject()
Dgfx_SceneUpdater.cpp92 Model::IsVisibleModelDefaultFunctor isVisibleModel; in SubmitView()
117 Model::IsVisibleModelDefaultFunctor isVisibleModel; in SubmitView()
Dgfx_RenderContext.cpp205 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()
Dgfx_SceneInitializer.cpp60 void SceneInitializer::VisitModel(Model* model) in VisitModel()
/NW4C-1.3.3/include/nw/gfx/
Dgfx_RenderContext.h42 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 …]
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,
113 Model* GetOwnerModel() in GetOwnerModel()
122 const Model* GetOwnerModel() const in GetOwnerModel()
265 Model* parent);
375 Model* m_Owner;
393 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;
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 …]
Dgfx_SkeletalModel.h43 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()
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…
485 Model* model, in EnqueueMesh()
503 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_ParticleModel.h73 class ParticleModel : public Model
82 struct Description : public Model::Description
351 : Model( in ParticleModel()
Dgfx_SceneBuilder.h92 SceneBuilder& SharedMaterialModel(Model* model) { m_SharedMaterialModel = model; return *this; } in SharedMaterialModel()
275 Model* m_SharedMaterialModel;
Dgfx_SceneUpdateHelper.h46 class SubmitViewFunctor : public std::unary_function<Model*, void>
79 void operator() (Model* model) in operator()
Dgfx_ISceneUpdater.h63 virtual bool IsVisible(const nw::gfx::Model* model) in IsVisible()
Dgfx_SceneTraverser.h69 virtual void VisitModel(Model* model);
Dgfx_SceneInitializer.h90 virtual void VisitModel(Model* model);
/NW4C-1.3.3/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()
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/
Ddemo_Utility.cpp420 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/
DSmModel.h47 void SetModel( nw::gfx::Model* pModel, nw::gfx::SkeletalModel* pSkelModel );
143 nw::gfx::Model* m_Model;

123