Home
last modified time | relevance | path

Searched refs:res (Results 1 – 25 of 102) sorted by relevance

12345

/NW4C-1.2.23/sources/libraries/gfx/
DOMakefile48 res/gfx_ResGraphicsFile.cpp
49 res/gfx_ResModel.cpp
50 res/gfx_ResMaterial.cpp
51 res/gfx_ResMesh.cpp
52 res/gfx_ResTextureMapper.cpp
53 res/gfx_ResSceneObject.cpp
54 res/gfx_ResShape.cpp
55 res/gfx_ResTexture.cpp
56 res/gfx_ResVertex.cpp
57 res/gfx_ResParticleModel.cpp
[all …]
/NW4C-1.2.23/sources/libraries/lyt/
Dlyt_Layout.cpp193 if (! ut::IsValidBinaryFile(pFileHead, res::FILESIGNATURE_CLYT, res::BinaryFileFormatVersion)) in Build()
213 case res::DATABLOCKKIND_LAYOUT: in Build()
215 const res::Layout* pResLyt = static_cast<const res::Layout*>(dataPtr); in Build()
220 case res::DATABLOCKKIND_TEXTURELIST: in Build()
221 resBlockSet.pTextureList = static_cast<const res::TextureList*>(dataPtr); in Build()
224 case res::DATABLOCKKIND_FONTLIST: in Build()
225 resBlockSet.pFontList = static_cast<const res::FontList*>(dataPtr); in Build()
228 case res::DATABLOCKKIND_MATERIALLIST: in Build()
229 resBlockSet.pMaterialList = static_cast<const res::MaterialList*>(dataPtr); in Build()
232 case res::DATABLOCKKIND_PANE: in Build()
[all …]
Dlyt_Animation.cpp69 const res::StepKey* keyArray, in GetStepCurveValue()
89 const res::StepKey& centerKey = keyArray[ikeyCenter]; in GetStepCurveValue()
122 const res::HermiteKey* keyArray, in GetHermiteCurveValue()
155 const res::HermiteKey& key0 = keyArray[ikeyL]; in GetHermiteCurveValue()
156 const res::HermiteKey& key1 = keyArray[ikeyR]; in GetHermiteCurveValue()
191 const res::AnimationInfo* pAnimInfo, in AnimatePaneSRT()
198 …const res::AnimationTarget* pAnimTarget = internal::ConvertOffsToPtr<res::AnimationTarget>(pAnimIn… in AnimatePaneSRT()
203 …const res::HermiteKey* keys = internal::ConvertOffsToPtr<res::HermiteKey>(pAnimTarget, pAnimTarget… in AnimatePaneSRT()
211 const res::AnimationInfo* pAnimInfo, in AnimateVisibility()
218 …const res::AnimationTarget* pAnimTarget = internal::ConvertOffsToPtr<res::AnimationTarget>(pAnimIn… in AnimateVisibility()
[all …]
Dlyt_Util.cpp202 const res::ImageSize* pImageSize in LoadTexture()
203 = internal::ConvertOffsToPtr<res::ImageSize>(pImgRes, size - sizeof(u32)); in LoadTexture()
212 if (!ut::IsValidBinaryFile(pFileHead, res::FILESIGNATURE_CLIM, res::BinaryFileFormatVersion)) in LoadTexture()
218 const res::Image* pImage = 0; in LoadTexture()
229 case res::DATABLOCKKIND_IMAGE: in LoadTexture()
230 pImage = reinterpret_cast<const res::Image *>(pBlockHead); in LoadTexture()
Dlyt_ResourceAccessor.cpp40 void* pTexRes = this->GetResource(res::RESOURCETYPE_TEXTURE, name, &size); in LoadTexture()
61 void* pFontRes = this->GetResource(res::RESOURCETYPE_FONT, name, &size); in LoadFont()
Dlyt_Group.cpp35 const res::Group* pResGroup, in Group()
43 … const char *const paneNameBase = internal::ConvertOffsToPtr<char>(pResGroup, sizeof(res::Group)); in Group()
Dlyt_Picture.cpp66 const res::Picture* pBlock, in Picture()
94 …const res::Material *const pResMaterial = internal::ConvertOffsToPtr<res::Material>(resBlockSet.pM… in Picture()
/NW4C-1.2.23/include/nw/lyt/
Dlyt_Animation.h27 namespace res
137 const res::AnimationBlock* GetAnimResource() const in GetAnimResource()
222 const res::AnimationBlock* pRes,
251 const res::AnimationBlock* pRes,
317 void SetAnimResource(const res::AnimationBlock* pRes) in SetAnimResource()
326 const res::AnimationBlock* m_pRes;
382 const res::AnimationBlock* pRes,
386 const res::AnimationBlock* pRes,
494 const res::AnimationBlock* GetResourceBlock() const in GetResourceBlock()
505 const res::AnimationTagBlock* GetTagBlock() const in GetTagBlock()
[all …]
Dlyt_Common.h55 const res::TextureList* pTextureList;
57 const res::FontList* pFontList;
59 const res::MaterialList* pMaterialList;
/NW4C-1.2.23/include/nw/anim/res/
Danim_ResAnim.h37 namespace res {
47 namespace res {}
48 using namespace ::nw::anim::res;
50 namespace res {
691 /* ctor */ ResFloatAnim( ResMemberAnim res ) in NW_RES_CTOR_INHERIT()
692 : ResMemberAnim( res ) in NW_RES_CTOR_INHERIT()
694 NW_ASSERT( (!res.IsValid()) || in NW_RES_CTOR_INHERIT()
695 res.GetPrimitiveType() == ResMemberAnim::PRIMITIVETYPE_FLOAT ); in NW_RES_CTOR_INHERIT()
740 /* ctor */ ResIntAnim( ResMemberAnim res ) in NW_RES_CTOR_INHERIT()
741 : ResMemberAnim( res ) in NW_RES_CTOR_INHERIT()
[all …]
Danim_ResTypeInfo.h25 namespace res
28 #define NW_ANIM_RES_TYPE_INFO(name) res::name##_TYPE_INFO
Danim_ResRevision.h23 namespace res {
/NW4C-1.2.23/include/nw/ut/
Dut_ResUtil.h72 ResDynamicCast( TBase res ) in ResDynamicCast() argument
74 if (!res.IsValid()) in ResDynamicCast()
79 if ((res.GetTypeInfo() & TDown::TYPE_INFO) == TDown::TYPE_INFO) in ResDynamicCast()
81 return TDown(res.ptr()); in ResDynamicCast()
97 ResStaticCast( TSrc res ) in ResStaticCast() argument
99 NW_ASSERT( (! res.IsValid()) || ResDynamicCast<TDest>( res ).IsValid() ); in ResStaticCast()
100 return TDest( res.ptr() ); in ResStaticCast()
354 TResource res in SafeCleanup() argument
357 if (res.IsValid()) in SafeCleanup()
359 res.Cleanup(); in SafeCleanup()
[all …]
/NW4C-1.2.23/sources/libraries/anim/
DOMakefile22 res/anim_ResAnimGroup.cpp
23 res/anim_ResAnimCurve.cpp
24 res/anim_ResAnim.cpp
/NW4C-1.2.23/include/nw/gfx/
Dgfx_Common.h30 namespace res {}
31 using namespace ::nw::gfx::res;
172 ResCheckRevision(const TRes res ) in ResCheckRevision() argument
174 if (!res.IsValid()) { return false; } in ResCheckRevision()
176 return nw::ut::internal::CheckRevision( res.GetRevision(), TRes::BINARY_REVISION ); in ResCheckRevision()
/NW4C-1.2.23/demos/gfx/DynamicMaterialDemo/sources/
DDynamicMaterialDemo.cpp174 nw::gfx::res::ResTexture s_ChangedTexture;
175 nw::gfx::res::ResLookupTable s_ChangedLut;
526 …nw::gfx::res::ResMaterial resTorusMaterial = s_BufferTorus->GetMaterial(0)->GetMaterialColorResMat… in ChangeMaterial()
528 nw::gfx::res::ResMaterialColor resMaterialColor = resTorusMaterial.GetMaterialColor(); in ChangeMaterial()
539 …nw::gfx::res::ResMaterial resTorusMaterial = s_TextureTorus->GetMaterial(0)->GetTextureMapperResMa… in ChangeMaterial()
541 nw::gfx::res::ResTextureMapper resTextureMapper = resTorusMaterial.GetTextureMappers(0); in ChangeMaterial()
542 nw::gfx::res::ResTexture resTexture = resTextureMapper.GetTexture().Dereference(); in ChangeMaterial()
552 …nw::gfx::res::ResMaterial resTorusMaterial = s_LutTorus->GetMaterial(0)->GetFragmentLightingTableR… in ChangeMaterial()
554 …nw::gfx::res::ResFragmentLightingTable resFragmentLightingLut = resTorusMaterial.GetFragmentShader… in ChangeMaterial()
555 …nw::gfx::res::ResLightingLookupTable resLightingLut = resFragmentLightingLut.GetReflectanceRSample… in ChangeMaterial()
[all …]
/NW4C-1.2.23/include/nw/demo/
Ddemo_Utility.h410 for (typename TResArray::iterator res = resources.begin(); res != resEnd; ++res) in FindResAnimByName() local
415 resAnim = res->GetSkeletalAnims(animationName); in FindResAnimByName()
418 resAnim = res->GetMaterialAnims(animationName); in FindResAnimByName()
421 resAnim = res->GetVisibilityAnims(animationName); in FindResAnimByName()
424 resAnim = res->GetCameraAnims(animationName); in FindResAnimByName()
427 resAnim = res->GetLightAnims(animationName); in FindResAnimByName()
/NW4C-1.2.23/demos/gfx/AnimationChangeDemo/sources/
DAnimationChangeDemo.cpp100 nw::anim::res::ResAnim s_ResAnim0;
101 nw::anim::res::ResAnim s_ResAnim1;
102 nw::anim::res::ResAnim s_ResAnimEmpty;
176 nw::anim::res::ResAnim
184 return nw::anim::res::ResAnim(NULL); in BuildTransformAnimResource()
206 nw::anim::res::ResAnim resAnim in CreateTransformAnimEvaluator()
254 s_ResAnimEmpty = nw::anim::res::ResAnim::CreateEmptySkeletalAnim(&s_DeviceAllocator); in InitializeSkeletalAnim()
471 s_ResAnimEmpty = nw::anim::res::ResAnim(NULL); in TerminateScenes()
/NW4C-1.2.23/include/nw/gfx/res/
Dgfx_ResTypeInfo.h25 namespace res
28 #define NW_GFX_RES_TYPE_INFO(name) res::name##_TYPE_INFO
Dgfx_ResRevision.h23 namespace res {
Dgfx_ResParticleShape.h27 namespace res {
/NW4C-1.2.23/sources/libraries/gfx/res/
Dgfx_ResParticleEmitter.cpp29 namespace res { namespace
Dgfx_ResParticleSet.cpp29 namespace res { namespace
Dgfx_ResSceneObject.cpp22 namespace res { namespace
Dgfx_ResParticleModel.cpp29 namespace res { namespace

12345