| /NW4C-1.2.23/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 | 37 const char* Get##name() const { return ref().to##name.to_ptr(); } \ 41 type Get##name() { return type( ref().to##name.to_ptr() ); } \ 42 const type Get##name() const { return type( ref().to##name.to_ptr() ); } \ 104 { NW_INDEX_ASSERT( name, idx ); return ref().to##name[ idx ].to_ptr(); } \ 113 { NW_INDEX_ASSERT( name, idx ); return type( ref().to##name[ idx ].to_ptr() ); } \ 115 { return type( ref().to##name[ idx ].to_ptr() ); } \ 166 return tbl_ptr[ idx ].to_ptr(); \ 177 return type( tbl_ptr[ idx ].to_ptr() ); \ 183 return type( tbl_ptr[ idx ].to_ptr() ); \ 235 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.2.23/sources/libraries/gfx/ |
| D | gfx_AnimHelper.cpp | 60 …urn reinterpret_cast<ResTextureSamplerData*>(resMat.GetTextureMappers(0).ref().toSampler.to_ptr()); in GetBaseObject() 64 …urn reinterpret_cast<ResTextureSamplerData*>(resMat.GetTextureMappers(1).ref().toSampler.to_ptr()); in GetBaseObject() 68 …urn reinterpret_cast<ResTextureSamplerData*>(resMat.GetTextureMappers(2).ref().toSampler.to_ptr()); in GetBaseObject()
|
| D | gfx_FragmentLight.cpp | 192 allocator->Free( resFragmentLight->toDistanceSampler.to_ptr() ); in DestroyResFragmentLight() 195 reinterpret_cast<ResLightingLookupTableData*>(resFragmentLight->toAngleSampler.to_ptr()); in DestroyResFragmentLight() 196 allocator->Free( angleSampler->toSampler.to_ptr() ); in DestroyResFragmentLight() 197 allocator->Free( resFragmentLight->toAngleSampler.to_ptr() ); in DestroyResFragmentLight() 198 if ( resFragmentLight->toName.to_ptr() != NULL ) in DestroyResFragmentLight() 200 allocator->Free( const_cast<char*>( resFragmentLight->toName.to_ptr() ) ); in DestroyResFragmentLight()
|
| D | gfx_Fog.cpp | 167 if ( resFog->toName.to_ptr() != NULL ) in DestroyResFog() 169 allocator->Free( const_cast<char*>( resFog->toName.to_ptr() ) ); in DestroyResFog() 172 if (resFog->toFogUpdater.to_ptr() != NULL) in DestroyResFog() 174 allocator->Free( resFog->toFogUpdater.to_ptr() ); in DestroyResFog() 177 if (resFog->toFogSampler.to_ptr() != NULL) in DestroyResFog() 179 ResImageLookupTable fogSampler = ResImageLookupTable(resFog->toFogSampler.to_ptr()); in DestroyResFog() 180 if (fogSampler.ref().toCommandCacheTable.to_ptr() != NULL) in DestroyResFog() 182 allocator->Free( fogSampler.ref().toCommandCacheTable.to_ptr() ); in DestroyResFog() 185 allocator->Free( resFog->toFogSampler.to_ptr() ); in DestroyResFog()
|
| D | gfx_AmbientLight.cpp | 148 if ( resAmbientLight->toName.to_ptr() != NULL ) in DestroyResAmbientLight() 150 allocator->Free( const_cast<char*>( resAmbientLight->toName.to_ptr() ) ); in DestroyResAmbientLight()
|
| D | gfx_HemiSphereLight.cpp | 149 if ( resHemiSphereLight->toName.to_ptr() != NULL ) in DestroyResHemiSphereLight() 151 allocator->Free( const_cast<char*>( resHemiSphereLight->toName.to_ptr() ) ); in DestroyResHemiSphereLight()
|
| D | gfx_VertexLight.cpp | 167 if ( resVertexLight->toName.to_ptr() != NULL ) in DestroyResVertexLight() 169 allocator->Free( const_cast<char*>( resVertexLight->toName.to_ptr() ) ); in DestroyResVertexLight()
|
| D | gfx_Material.cpp | 514 if (resMaterial.ref().toShaderParametersTable.to_ptr() != NULL) in DestroyResMaterial() 520 allocator->Free(resMaterial.ref().toShaderParametersTable.to_ptr()); in DestroyResMaterial()
|
| /NW4C-1.2.23/include/nw/anim/res/ |
| D | anim_ResAnim.h | 615 return reinterpret_cast<const type*>( ref().to##name.to_ptr() ); \ 627 return reinterpret_cast<type*>( ref().to##name.to_ptr() ); \ 642 reinterpret_cast<const ResFloatCurveData*>( ref().to##name.to_ptr() ), \ 658 reinterpret_cast<const ResIntCurveData*>( ref().to##name.to_ptr() ), \ 672 reinterpret_cast<const ResVector3CurveData*>( ref().to##name.to_ptr() ), \ 680 reinterpret_cast<const ResVector3CurveData*>( ref().to##name.to_ptr() ), \ 709 reinterpret_cast<const ResFloatCurveData*>( ref().toCurve.to_ptr() ), in NW_RESANM_GETCURVE_DECL() 758 reinterpret_cast<const ResIntCurveData*>( ref().toCurve.to_ptr() ), in NW_RESANM_GETCURVE_DECL() 806 reinterpret_cast<const ResBoolCurveData*>( ref().toCurve.to_ptr() ), in NW_RESANM_GETCURVE_DECL() 1034 …Curve( result, flags, reinterpret_cast<const ResVector4CurveData*>( ref().toRotate.to_ptr() ), f ); in NW_RESANM_EVALUATE_VEC3_DECL() [all …]
|
| D | anim_ResAnimGroup.h | 243 … NW_DEPRECATED_FUNCTION(const char* GetTargetName() const) { return ref().toTargetName.to_ptr(); } in NW_RES_FIELD_STRING_DECL() 244 …RECATED_FUNCTION(const char* GetBaseObjectPath() const) { return ref().toBaseObjectPath.to_ptr(); } in NW_DEPRECATED_FUNCTION()
|
| /NW4C-1.2.23/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.2.23/include/nw/gfx/res/ |
| D | gfx_ResTextureMapper.h | 201 return static_cast<ResTextureMapperData*>( ref().toOwner.to_ptr() ); in GetOwnerData() 211 return static_cast<const ResTextureMapperData*>( ref().toOwner.to_ptr() ); in GetOwnerData() 469 const ResTexture GetTexture() const { return ResTexture( ref().toTexture.to_ptr() ); } in GetTexture() 545 …const ResTextureSampler GetSampler() const { return ResTextureSampler( ref().toSampler.to_ptr() )… in GetSampler()
|
| D | gfx_ResShape.h | 272 nw::ut::ResOrientedBoundingBox resOBB( ref().toBoundingVolume.to_ptr() ); in NW_RES_CTOR_INHERIT() 280 const nw::ut::ResOrientedBoundingBox resOBB( ref().toBoundingVolume.to_ptr() ); in GetOrientedBoundingBox()
|
| D | gfx_ResShader.h | 601 return static_cast<ResBinaryShaderData*>( ref().toOwnerShader.to_ptr() ); in GetOwnerShaderData() 611 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.2.23/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.2.23/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 | 291 allocator->Free(resPixelBasedTextureMapper.ref().toSampler.to_ptr()); in ResPixelBasedTextureMapper_DestroyDynamic() 296 allocator->Free(resPixelBasedTextureMapper.ref().toTexture.to_ptr()); in ResPixelBasedTextureMapper_DestroyDynamic() 316 allocator->Free(resProceduralTextureMapper.ref().toTexture.to_ptr()); in ResProceduralTextureMapper_DestroyDynamic()
|
| /NW4C-1.2.23/sources/libraries/anim/res/ |
| D | anim_ResAnimCurve.cpp | 434 …eturn reinterpret_cast<const ResFloatSegmentData*>( pCurve->segmentsTable.toSegments[0].to_ptr() ); in GetFloatSegment_() 445 … ResFloatSegmentData* pSegment = reinterpret_cast<const ResFloatSegmentData*>( pOffset->to_ptr() ); in GetFloatSegment_() 453 … return reinterpret_cast<const ResFloatSegmentData*>( pOffsetTable[ segmentCount - 1 ].to_ptr() ); in GetFloatSegment_() 661 reinterpret_cast<const ResFloatCurveData*>( pCurve->toLeftCurve.to_ptr() ); in CalcCompositeFloatCurve_() 663 reinterpret_cast<const ResFloatCurveData*>( pCurve->toRightCurve.to_ptr() ); in CalcCompositeFloatCurve_()
|
| D | anim_ResAnimGroup.cpp | 202 ResStandardTextureSampler sampler(mapper.ref().toSampler.to_ptr()); in SetValue() 222 ResReferenceTexture texture(offset.to_ptr()); in SetValue()
|