| /NW4C-1.3.3/sources/libraries/anim/res/ |
| D | anim_ResUtil.cpp | 56 texture.toName.set_ptr(srcTexture->toName.to_ptr()); in CloneTextureAnimMember() 58 texture.toUserDataDic.set_ptr(srcTexture->toUserDataDic.to_ptr()); in CloneTextureAnimMember() 62 texture.toPath.set_ptr(srcTexture->toPath.to_ptr()); in CloneTextureAnimMember() 71 anim->toCurve.set_ptr(src.ptr()->toCurve.to_ptr()); in CloneTextureAnimMember() 87 allocator->Free(anim.ptr()->toTexturesTable.to_ptr()); in DestroyTextureAnimMember() 113 animData->toName.set_ptr(src.ptr()->toName.to_ptr()); in CloneTextureAnim() 114 animData->toTargetAnimGroupName.set_ptr(src.ptr()->toTargetAnimGroupName.to_ptr()); in CloneTextureAnim() 120 animData->toUserDataDic.set_ptr(src.ptr()->toUserDataDic.to_ptr()); in CloneTextureAnim() 128 memcpy(memberMemory, src.ptr()->toMemberAnimSetDic.to_ptr(), size); in CloneTextureAnim() 132 reinterpret_cast<const ut::ResDicPatriciaData*>(src.ptr()->toMemberAnimSetDic.to_ptr()); in CloneTextureAnim() [all …]
|
| D | anim_ResAnimCurve.cpp | 472 …eturn reinterpret_cast<const ResFloatSegmentData*>( pCurve->segmentsTable.toSegments[0].to_ptr() ); in GetFloatSegment_() 483 … ResFloatSegmentData* pSegment = reinterpret_cast<const ResFloatSegmentData*>( pOffset->to_ptr() ); in GetFloatSegment_() 491 … return reinterpret_cast<const ResFloatSegmentData*>( pOffsetTable[ segmentCount - 1 ].to_ptr() ); in GetFloatSegment_() 699 reinterpret_cast<const ResFloatCurveData*>( pCurve->toLeftCurve.to_ptr() ); in CalcCompositeFloatCurve_() 701 reinterpret_cast<const ResFloatCurveData*>( pCurve->toRightCurve.to_ptr() ); in CalcCompositeFloatCurve_()
|
| D | anim_ResAnimGroup.cpp | 210 ResStandardTextureSampler sampler(mapper.ref().toSampler.to_ptr()); in SetValue() 230 ResReferenceTexture texture(offset.to_ptr()); in SetValue()
|
| D | anim_ResAnim.cpp | 276 dst->set_ptr(src->to_ptr()); in ApplyCache()
|
| /NW4C-1.3.3/include/nw/ut/ |
| D | ut_ResArrayTypes.h | 49 static iter_pointer GetPointer(pointer ptr) { return ResPtr<T>( ptr->to_ptr() ); } in GetPointer() 50 … static const_iter_pointer GetPointer(const_pointer ptr) { return ResPtr<T>( ptr->to_ptr() ); } in GetPointer() 54 static reference GetValue(pointer ptr) { return T( ptr->ofsData.to_ptr() ); } in GetValue() 56 static const_reference GetValue(const_pointer ptr) { return T( ptr->ofsData.to_ptr() ); } in GetValue()
|
| D | ut_ResDeclMacros.h | 43 const char* Get##name() const { return ref().to##name.to_ptr(); } \ 47 type Get##name() { return type( ref().to##name.to_ptr() ); } \ 48 const type Get##name() const { return type( ref().to##name.to_ptr() ); } \ 112 { NW_INDEX_ASSERT( name, idx ); return ref().to##name[ idx ].to_ptr(); } \ 121 { NW_INDEX_ASSERT( name, idx ); return type( ref().to##name[ idx ].to_ptr() ); } \ 123 { return type( ref().to##name[ idx ].to_ptr() ); } \ 174 return tbl_ptr[ idx ].to_ptr(); \ 185 return type( tbl_ptr[ idx ].to_ptr() ); \ 191 return type( tbl_ptr[ idx ].to_ptr() ); \ 243 ResDicType dic = ResDicType( ref().to##name##Dic.to_ptr() ); \ [all …]
|
| D | ut_ResDictionary.h | 117 return const_cast<void*>( ref().data[idx].ofsData.to_ptr() ); 124 return const_cast<void*>( ref().data[ idx ].ofsData.to_ptr() ); 131 return const_cast<void*>( ref().data[ idx ].ofsData.to_ptr() ); 184 return const_cast<void*>(ref().data[idx + 1].ofsData.to_ptr()); 199 return const_cast<void*>(x->ofsData.to_ptr()); 217 return const_cast<void*>(x->ofsData.to_ptr()); in operator() 233 return const_cast<void*>(x->ofsData.to_ptr());
|
| D | ut_ResTypes.h | 157 const char* to_ptr() const in to_ptr() function 170 operator const char*() const { return to_ptr(); } 198 void* to_ptr() in to_ptr() function 205 const void* to_ptr() const in to_ptr() function 213 const T* to_ptr() const in to_ptr() function 215 return static_cast<const T*>( to_ptr() ); in to_ptr() 219 T* to_ptr() in to_ptr() function 221 return static_cast<T*>( to_ptr() ); in to_ptr() 233 return to_ptr(); in to_table_ptr() 238 return to_ptr(); in to_table_ptr()
|
| D | ut_ResMetaData.h | 137 const char* GetValues(int idx) const { return ref().m_Values[idx].to_ptr(); } in GetValues() 138 …etWValues(int idx) const { return reinterpret_cast<const wchar_t*>(ref().m_Values[idx].to_ptr()); } in GetWValues()
|
| D | ut_ResArray.h | 118 static iter_pointer GetPointer(pointer ptr) { return ResPtr<T>( ptr->to_ptr() ); } in GetPointer() 119 … static const_iter_pointer GetPointer(const_pointer ptr) { return ResPtr<T>( ptr->to_ptr() ); } in GetPointer() 123 static reference GetValue(pointer ptr) { return T( ptr->to_ptr() ); } in GetValue() 125 static const_reference GetValue(const_pointer ptr) { return T( ptr->to_ptr() ); } in GetValue() 144 static const_reference GetValue(const_pointer ptr) { return T( ptr->to_ptr() ); } in GetValue()
|
| /NW4C-1.3.3/sources/libraries/gfx/ |
| D | gfx_FragmentLight.cpp | 227 allocator->Free( resFragmentLight->toDistanceSampler.to_ptr() ); in DestroyResFragmentLight() 230 reinterpret_cast<ResLightingLookupTableData*>(resFragmentLight->toAngleSampler.to_ptr()); in DestroyResFragmentLight() 231 allocator->Free( angleSampler->toSampler.to_ptr() ); in DestroyResFragmentLight() 232 allocator->Free( resFragmentLight->toAngleSampler.to_ptr() ); in DestroyResFragmentLight() 233 if ( resFragmentLight->toName.to_ptr() != NULL ) in DestroyResFragmentLight() 235 allocator->Free( const_cast<char*>( resFragmentLight->toName.to_ptr() ) ); in DestroyResFragmentLight()
|
| D | gfx_Fog.cpp | 202 if ( resFog->toName.to_ptr() != NULL ) in DestroyResFog() 204 allocator->Free( const_cast<char*>( resFog->toName.to_ptr() ) ); in DestroyResFog() 207 if (resFog->toFogUpdater.to_ptr() != NULL) in DestroyResFog() 209 allocator->Free( resFog->toFogUpdater.to_ptr() ); in DestroyResFog() 212 if (resFog->toFogSampler.to_ptr() != NULL) in DestroyResFog() 214 ResImageLookupTable fogSampler = ResImageLookupTable(resFog->toFogSampler.to_ptr()); in DestroyResFog() 215 if (fogSampler.ref().toCommandCacheTable.to_ptr() != NULL) in DestroyResFog() 217 allocator->Free( fogSampler.ref().toCommandCacheTable.to_ptr() ); in DestroyResFog() 220 allocator->Free( resFog->toFogSampler.to_ptr() ); in DestroyResFog()
|
| D | gfx_AmbientLight.cpp | 180 if ( resAmbientLight->toName.to_ptr() != NULL ) in DestroyResAmbientLight() 182 allocator->Free( const_cast<char*>( resAmbientLight->toName.to_ptr() ) ); in DestroyResAmbientLight()
|
| D | gfx_HemiSphereLight.cpp | 181 if ( resHemiSphereLight->toName.to_ptr() != NULL ) in DestroyResHemiSphereLight() 183 allocator->Free( const_cast<char*>( resHemiSphereLight->toName.to_ptr() ) ); in DestroyResHemiSphereLight()
|
| D | gfx_VertexLight.cpp | 199 if ( resVertexLight->toName.to_ptr() != NULL ) in DestroyResVertexLight() 201 allocator->Free( const_cast<char*>( resVertexLight->toName.to_ptr() ) ); in DestroyResVertexLight()
|
| D | gfx_Material.cpp | 520 if (resMaterial.ref().toShaderParametersTable.to_ptr() != NULL) in DestroyResMaterial() 526 allocator->Free(resMaterial.ref().toShaderParametersTable.to_ptr()); in DestroyResMaterial()
|
| /NW4C-1.3.3/include/nw/anim/res/ |
| D | anim_ResAnim.h | 517 … NW_DEPRECATED_FUNCTION(const char* GetTargetName() const) { return ref().toTargetName.to_ptr(); } in NW_RES_FIELD_FLAGS_DECL() 518 …RECATED_FUNCTION(const char* GetBaseObjectPath() const) { return ref().toBaseObjectPath.to_ptr(); } in NW_DEPRECATED_FUNCTION() 746 return reinterpret_cast<const type*>( ref().to##name.to_ptr() ); \ 758 return reinterpret_cast<type*>( ref().to##name.to_ptr() ); \ 773 reinterpret_cast<const ResFloatCurveData*>( ref().to##name.to_ptr() ), \ 789 reinterpret_cast<const ResIntCurveData*>( ref().to##name.to_ptr() ), \ 803 reinterpret_cast<const ResVector3CurveData*>( ref().to##name.to_ptr() ), \ 811 reinterpret_cast<const ResVector3CurveData*>( ref().to##name.to_ptr() ), \ 840 reinterpret_cast<const ResFloatCurveData*>( ref().toCurve.to_ptr() ), in NW_RESANM_GETCURVE_DECL() 889 reinterpret_cast<const ResIntCurveData*>( ref().toCurve.to_ptr() ), in NW_RESANM_GETCURVE_DECL() [all …]
|
| /NW4C-1.3.3/sources/libraries/ut/ |
| D | ut_ResDictionary.cpp | 33 if ( x->toName.offset != 0 && std::strcmp(key, x->toName.to_ptr()) == 0 ) in GetIndex() 109 if (x->ofsString != 0 && !std::strcmp(s, x->ofsString.to_ptr<char>())) in Get()
|
| /NW4C-1.3.3/include/nw/gfx/res/ |
| D | gfx_ResTextureMapper.h | 250 return static_cast<ResTextureMapperData*>( ref().toOwner.to_ptr() ); in GetOwnerData() 260 return static_cast<const ResTextureMapperData*>( ref().toOwner.to_ptr() ); in GetOwnerData() 521 const ResTexture GetTexture() const { return ResTexture( ref().toTexture.to_ptr() ); } in GetTexture() 591 …const ResTextureSampler GetSampler() const { return ResTextureSampler( ref().toSampler.to_ptr() )… in NW_RES_CTOR_INHERIT() 592 ResTextureSampler GetSampler() { return ResTextureSampler( ref().toSampler.to_ptr() ); } in GetSampler()
|
| D | gfx_ResShape.h | 302 nw::ut::ResOrientedBoundingBox resOBB( ref().toBoundingVolume.to_ptr() ); in NW_RES_CTOR_INHERIT() 310 const nw::ut::ResOrientedBoundingBox resOBB( ref().toBoundingVolume.to_ptr() ); in GetOrientedBoundingBox()
|
| D | gfx_ResShader.h | 625 return static_cast<ResBinaryShaderData*>( ref().toOwnerShader.to_ptr() ); in GetOwnerShaderData() 635 return static_cast<const ResBinaryShaderData*>( ref().toOwnerShader.to_ptr() ); in GetOwnerShaderData()
|
| D | gfx_ResTexture.h | 619 return ResPixelBasedImage( ref().toImagesTables[ face ].to_ptr() ); in GetImage() 633 return ResPixelBasedImage( ref().toImagesTables[ face ].to_ptr() ); in GetImage()
|
| /NW4C-1.3.3/include/nw/anim/ |
| D | anim_AnimBlend.h | 693 dstOffset->set_ptr(srcOffset->to_ptr()); in Override() 709 dstOffset->set_ptr(srcOffset->to_ptr()); in Apply() 717 dstOffset->set_ptr(srcOffset->to_ptr()); in ConvertToAnimResult()
|
| /NW4C-1.3.3/sources/libraries/gfx/res/ |
| D | gfx_ResTexture.cpp | 815 if (resPixelBasedImage.ptr()->toImageDataTable.to_ptr() != NULL) in DynamicDestroy() 817 allocator->Free(resPixelBasedImage.ptr()->toImageDataTable.to_ptr()); in DynamicDestroy() 847 if (resPixelBasedImage.ptr()->toImageDataTable.to_ptr() != NULL) in DynamicDestroy() 849 allocator->Free(resPixelBasedImage.ptr()->toImageDataTable.to_ptr()); in DynamicDestroy()
|
| D | gfx_ResTextureMapper.cpp | 323 allocator->Free(resPixelBasedTextureMapper.ref().toSampler.to_ptr()); in ResPixelBasedTextureMapper_DestroyDynamic() 328 allocator->Free(resPixelBasedTextureMapper.ref().toTexture.to_ptr()); in ResPixelBasedTextureMapper_DestroyDynamic() 348 allocator->Free(resProceduralTextureMapper.ref().toTexture.to_ptr()); in ResProceduralTextureMapper_DestroyDynamic()
|