Home
last modified time | relevance | path

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

123

/NW4C-2.0.3/sources/libraries/gfx/
Dgfx_DirectMaterialActivator.cpp56 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 …]
Dgfx_Model.cpp33 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 …]
Dgfx_Material.cpp29 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 …]
Dgfx_SceneBuilder.cpp158 Model::Description description; in BuildSceneObject()
172Model::GetMemorySizeInternal(pSize, ResStaticCast<ResModel>(resource), description); in BuildSceneObject()
176Model::GetDeviceMemorySizeInternal(pDeviceSize, ResStaticCast<ResModel>(resource), description); in BuildSceneObject()
181 Model* node = Model::Create( in BuildSceneObject()
Dgfx_ParticleModel.cpp34 NW_UT_RUNTIME_TYPEINFO_DEFINITION( ParticleModel, Model );
254 Model::GetMemorySizeForInitialize(pSize, resource, description); in GetMemorySizeForInitialize()
266 result |= Model::Initialize(allocator); in Initialize()
Dgfx_RenderContext.cpp207 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()
Dgfx_SceneUpdater.cpp94 Model::IsVisibleModelDefaultFunctor isVisibleModel; in SubmitView()
119 Model::IsVisibleModelDefaultFunctor isVisibleModel; in SubmitView()
Dgfx_SkeletalModel.cpp35 NW_UT_RUNTIME_TYPEINFO_DEFINITION( SkeletalModel, Model );
239 result |= Model::Initialize(allocator); in Initialize()
/NW4C-2.0.3/include/nw/gfx/
Dgfx_RenderContext.h44 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 …]
Dgfx_MeshRenderer.h38 class Model; variable
89 void RenderMesh(ResMesh mesh, Model* model);
109 Model* model,
120 Model* model,
Dgfx_Material.h31 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
Dgfx_Model.h39 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 …]
Dgfx_SkeletalModel.h45 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()
Dgfx_RenderQueue.h83 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()
Dgfx_ISceneVisitor.h31 class Model; variable
77 virtual void VisitModel(Model* model) = 0;
Dgfx_RenderElement.h288 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()
Dgfx_ParticleModel.h86 class ParticleModel : public Model
95 struct Description : public Model::Description
380 : Model( in ParticleModel()
Dgfx_SceneBuilder.h94 SceneBuilder& SharedMaterialModel(Model* model) { m_SharedMaterialModel = model; return *this; } in SharedMaterialModel()
278 Model* m_SharedMaterialModel;
Dgfx_SceneUpdateHelper.h48 class SubmitViewFunctor : public std::unary_function<Model*, void>
81 void operator() (Model* model) in operator()
Dgfx_ISceneUpdater.h65 virtual bool IsVisible(const nw::gfx::Model* model) in IsVisible()
Dgfx_SceneTraverser.h72 virtual void VisitModel(Model* model);
Dgfx_SceneInitializer.h93 virtual void VisitModel(Model* model);
/NW4C-2.0.3/demos/gfx/DynamicMaterialDemo/sources/
DDynamicMaterialDemo.cpp50 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/
Ddemo_Utility.cpp444 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/
DSmModel.h49 void SetModel( nw::gfx::Model* pModel, nw::gfx::SkeletalModel* pSkelModel );
145 nw::gfx::Model* m_Model;

123