| /NW4C-2.0.3/sources/libraries/gfx/res/ |
| D | gfx_ResFragmentShader.cpp | 32 NW_ASSERT( this->IsValid() ); in Setup() 53 NW_ASSERT( this->IsValid() ); in Setup() 57 if (this->GetDistribution0Sampler().IsValid()) in Setup() 72 if (this->GetDistribution1Sampler().IsValid()) in Setup() 87 if (this->GetReflectanceRSampler().IsValid()) in Setup() 102 if (this->GetReflectanceGSampler().IsValid()) in Setup() 117 if (this->GetReflectanceBSampler().IsValid()) in Setup() 132 if (this->GetFresnelSampler().IsValid()) in Setup() 161 …ingTable.GetDistribution0Sampler().IsValid() || !fragmentLightingTable.GetDistribution0Sampler().G… in CheckFragmentShader() 169 …ingTable.GetDistribution1Sampler().IsValid() || !fragmentLightingTable.GetDistribution1Sampler().G… in CheckFragmentShader() [all …]
|
| D | gfx_ResMaterial.cpp | 38 NW_ASSERT( this->IsValid() ); in Setup() 58 NW_ASSERT(resFragmentShader.GetFragmentLightingTable().IsValid()); in Setup() 94 if (resShader.IsValid()) in Cleanup() 104 if (textureMapper.IsValid()) in Cleanup() 110 if (this->GetProceduralTextureMapper().IsValid()) in Cleanup() 131 if (!resTextureMapper.IsValid()) in SetupTextures() 136 if (!resTextureMapper.GetTexture().IsValid()) in SetupTextures() 225 if (resMaterial.GetProceduralTextureMapper().IsValid()) in SetupTextures() 245 bool isProceduralTextureEnabled = resMaterial.GetProceduralTextureMapper().IsValid(); in SetupTextureCoordinators() 249 bool isTextureMapperEnabled = resMaterial.GetTextureMappers(i).IsValid(); in SetupTextureCoordinators() [all …]
|
| D | gfx_ResUtil.cpp | 33 if (resReferenceLut.IsValid()) in SetupReferenceLut() 36 if (!resImageLut.IsValid()) in SetupReferenceLut() 63 if (resLutSet.IsValid()) in GetReferenceLutTarget() 68 if (resLut.IsValid()) in GetReferenceLutTarget() 86 if (resTexture.IsValid()) in GetReferenceTextureTarget() 91 if (refer.IsValid()) in GetReferenceTextureTarget() 119 if (resShader.IsValid()) in GetReferenceShaderTarget() 124 if (refer.IsValid()) in GetReferenceShaderTarget()
|
| D | gfx_ResLight.cpp | 38 if (fragment.IsValid()) in Setup() 45 if ( fragment.GetDistanceSampler().IsValid() ) in Setup() 55 if (fragment.GetAngleSampler().IsValid()) in Setup() 59 if (resLut.IsValid()) in Setup() 89 if (fragment.IsValid()) in Cleanup()
|
| D | gfx_ResModel.cpp | 40 NW_ASSERT( this->IsValid() ); in Setup() 112 NW_ASSERT(texture.IsValid()); in ForceSetupTexture() 119 if (material.IsValid()) in ForceSetupTexture() 130 NW_ASSERT(shader.IsValid()); in ForceSetupShader() 137 if (material.IsValid()) in ForceSetupShader() 148 NW_ASSERT(lut.IsValid()); in ForceSetupLookupTable() 155 if (material.IsValid()) in ForceSetupLookupTable()
|
| D | gfx_ResTextureMapper.cpp | 101 if (texture.IsValid() && in SetTextureMipmapCommand() 230 if (resTexture.IsValid()) in ResPixelBasedTextureMapper_CloneDynamic() 234 if (referenceTexture.IsValid()) in ResPixelBasedTextureMapper_CloneDynamic() 248 if (resStandardTextureSampler.IsValid()) in ResPixelBasedTextureMapper_CloneDynamic() 293 if (resTexture.IsValid()) in ResProceduralTextureMapper_CloneDynamic() 297 if (referenceTexture.IsValid()) in ResProceduralTextureMapper_CloneDynamic() 323 if (resPixelBasedTextureMapper.GetSampler().IsValid()) in ResPixelBasedTextureMapper_DestroyDynamic() 328 if (resPixelBasedTextureMapper.GetTexture().IsValid()) in ResPixelBasedTextureMapper_DestroyDynamic() 348 if (resProceduralTextureMapper.GetTexture().IsValid()) in ResProceduralTextureMapper_DestroyDynamic() 380 if (resTextureMapper.IsValid()) in CloneDynamic() [all …]
|
| D | gfx_ResShader.cpp | 46 NW_ASSERT( this->IsValid() ); in Dereference() 59 NW_ASSERT( resRefShader.GetTargetShader().IsValid() ); in Dereference() 75 NW_ASSERT( this->IsValid() ); in Dereference() 88 NW_ASSERT( resRefShader.GetTargetShader().IsValid() ); in Dereference() 222 NW_ASSERT( resRefShader.IsValid() ); in ResReferenceShader_Setup() 223 NW_ASSERT( resRefShader.GetTargetShader().IsValid() ); in ResReferenceShader_Setup() 227 if (binaryShader.IsValid()) in ResReferenceShader_Setup() 240 if (resBinaryShader.IsValid()) in Cleanup() 305 NW_ASSERT(resShaderSymbol.IsValid()); in Setup() 377 NW_ASSERT(resShaderSymbol.IsValid()); in Cleanup()
|
| D | gfx_ResTexture.cpp | 220 NW_ASSERT( resImage.IsValid() ); in SetTexImage2D() 253 NW_ASSERT( resImgTex.IsValid() ); in ResImageTexture_Setup() 280 NW_ASSERT( resSdwTex.IsValid() ); in ResShadowTexture_Setup() 307 NW_ASSERT( resCubeTex.IsValid() ); in ResCubeTexture_Setup() 339 NW_ASSERT( resRefTex.GetTargetTexture().IsValid() ); in ResReferenceTexture_Setup() 395 NW_ASSERT( resImgTex.IsValid() ); in ResImageTexture_Cleanup() 417 NW_ASSERT( resSdwTex.IsValid() ); in ResShadowTexture_Cleanup() 439 NW_ASSERT( resCubeTex.IsValid() ); in ResCubeTexture_Cleanup() 478 NW_ASSERT( resProcTex.IsValid() ); in ResProceduralTexture_Cleanup() 944 if (this->IsValid()) in DynamicDestroy() [all …]
|
| D | gfx_ResLookupTable.cpp | 86 NW_ASSERT(resLut.IsValid()); in ResReferenceLut_Cleanup() 95 NW_ASSERT( this->IsValid() ); in Setup() 147 NW_ASSERT(lut.IsValid()); in ForceSetup()
|
| D | gfx_ResVertex.cpp | 105 NW_ASSERT( this->IsValid() ); in Setup() 125 NW_ASSERT( this->IsValid() ); in Cleanup() 145 NW_ASSERT( this->IsValid() ); in GetVertexCount() 302 NW_ASSERT( this->IsValid() ); in GetVertexCount()
|
| /NW4C-2.0.3/include/nw/ut/ |
| D | ut_ResDictionary.h | 35 virtual bool IsValid() const = 0; 67 bool IsValid() const { m_Dic.IsValid(); } 117 if ( ! this->IsValid() ) { return NULL; } 141 if ( (! this->IsValid()) || (! key.IsValid()) ) { return -1; } in GetIndex() 182 if (!this->IsValid()) { return NULL; } 194 if (this->IsValid() && s) 212 if (this->IsValid()) in operator() 228 if (IsValid() && n.IsValid()) 245 if (IsValid() && s) in GetIndex() 263 if (IsValid() && n.IsValid()) in GetIndex() [all …]
|
| D | ut_ResUtil.h | 29 NW_ASSERTMSG(IsValid(), "%s::%s: Object not valid.", GetClassName(), __FUNCTION__) 76 if (!res.IsValid()) in ResDynamicCast() 102 NW_ASSERT( (! res.IsValid()) || ResDynamicCast<TDest>( res ).IsValid() ); in ResStaticCast() 219 bool IsValid() const { return (mpData != NULL); } in IsValid() function 339 … NW_FORCE_INLINE T& ref() { NW_ASSERT(this->IsValid()); return *reinterpret_cast<T*>(void_ptr()); } in ref() 342 …NW_FORCE_INLINE const T& ref() const { NW_ASSERT(this->IsValid()); return *reinterpret_cast<const … in ref() 360 if (res.IsValid()) in SafeCleanup()
|
| /NW4C-2.0.3/sources/libraries/gfx/ |
| D | gfx_Material.cpp | 58 NW_ASSERT(resShader.IsValid()); in Material() 73 NW_ASSERT(resource.IsValid()); in Create() 168 if (resTextureMapper.IsValid()) in GetMemorySizeInternal() 178 if (resTextureMapper.IsValid()) in GetMemorySizeInternal() 186 if (resMaterial.GetFragmentShader().IsValid()) in GetMemorySizeInternal() 195 if (resFragmentShader.GetFragmentLightingTable().IsValid()) in GetMemorySizeInternal() 201 if (resFragmentLightingTable.GetReflectanceRSampler().IsValid()) in GetMemorySizeInternal() 206 if (resFragmentLightingTable.GetReflectanceGSampler().IsValid()) in GetMemorySizeInternal() 211 if (resFragmentLightingTable.GetReflectanceBSampler().IsValid()) in GetMemorySizeInternal() 216 if (resFragmentLightingTable.GetDistribution0Sampler().IsValid()) in GetMemorySizeInternal() [all …]
|
| D | gfx_Camera.cpp | 68 if (this->m_IsDynamic && resCamera.IsValid()) in ~Camera() 85 NW_ASSERT(m_OriginalValue.IsValid()); in CreateAnimGroup() 94 NW_ASSERT(resCamera.IsValid()); in CreateAnimGroup() 400 NW_ASSERT(resCamera.IsValid()); in Create() 409 NW_ASSERT(resViewUpdater.IsValid()); in Create() 438 NW_ASSERT(resProjectionUpdater.IsValid()); in Create() 631 if (resAim.IsValid()) in GetTargetPosition() 635 else if (resLookAt.IsValid()) in GetTargetPosition() 655 if (resAim.IsValid()) in SetTargetPosition() 659 else if (resLookAt.IsValid()) in SetTargetPosition() [all …]
|
| D | gfx_MaterialState.cpp | 123 if (lightingLookupTable.IsValid() && isReflectionEnabled) in ActivateFragmentLightingTable() 125 NW_NULL_ASSERT(lightingLookupTable.GetSampler().IsValid()); in ActivateFragmentLightingTable() 139 if (lightingLookupTable.IsValid() && isReflectionEnabled) in ActivateFragmentLightingTable() 141 NW_NULL_ASSERT(lightingLookupTable.GetSampler().IsValid()); in ActivateFragmentLightingTable() 155 if (lightingLookupTable.IsValid() && isReflectionEnabled) in ActivateFragmentLightingTable() 157 NW_NULL_ASSERT(lightingLookupTable.GetSampler().IsValid()); in ActivateFragmentLightingTable() 171 if (lightingLookupTable.IsValid() && isDistribution0Enbaled) in ActivateFragmentLightingTable() 173 NW_NULL_ASSERT(lightingLookupTable.GetSampler().IsValid()); in ActivateFragmentLightingTable() 187 if (lightingLookupTable.IsValid() && isDistribution1Enbaled) in ActivateFragmentLightingTable() 189 NW_NULL_ASSERT(lightingLookupTable.GetSampler().IsValid()); in ActivateFragmentLightingTable() [all …]
|
| D | gfx_ParticleUtil.cpp | 72 NW_ASSERT(resSceneNode.IsValid()); in SetupParticleObject() 111 NW_ASSERT(resSceneNode.IsValid()); in ResolveParticleObject() 136 NW_ASSERT(resUpdater.IsValid()); in ResolveParticleObject() 162 if (resource.IsValid()) in ResolveParticleObject() 394 NW_ASSERT(child.IsValid()); in GetMemorySizeForDuplicateResParticleUpdaterInternal() 401 if (form.IsValid()) in GetMemorySizeForDuplicateResParticleUpdaterInternal() 431 if (option.IsValid()) in GetMemorySizeForDuplicateResParticleUpdaterInternal() 492 if (resAnimation.IsValid()) in GetMemorySizeForDuplicateResParticleUpdaterInternal() 501 if (option.IsValid()) in GetMemorySizeForDuplicateResParticleUpdaterInternal() 578 NW_ASSERT(child.IsValid()); in DuplicateResParticleUpdater() [all …]
|
| D | gfx_RenderContext.cpp | 341 NW_ASSERT(resSkeleton.IsValid()); in SetModelMatrixForSkeletalModel() 451 NW_ASSERT(description.IsValid()); in ActivateShaderProgram() 459 if ( previousDescription.IsValid() && in ActivateShaderProgram() 529 NW_ASSERT(this->m_SceneEnvironment.GetActiveFog()->GetResFog().IsValid()); in ActivateFog() 530 NW_ASSERT(this->m_SceneEnvironment.GetActiveFog()->GetResFog().GetFogSampler().IsValid()); in ActivateFog() 575 NW_ASSERT(resLight.IsValid()); in ActivateHemiSphereLight() 623 NW_ASSERT(resLight.IsValid()); in ActivateFragmentLight() 652 && resLight.GetDistanceSampler().IsValid() ) in ActivateFragmentLight() 676 …NW_ASSERTMSG(resLight.GetAngleSampler().IsValid(), "The spot light must contain angle sampler(look… in ActivateFragmentLight() 677 …NW_ASSERTMSG(resLight.GetAngleSampler().GetSampler().IsValid(), "The spot light must contain angle… in ActivateFragmentLight() [all …]
|
| D | gfx_Light.cpp | 47 NW_ASSERT(m_OriginalValue.IsValid()); in CreateAnimGroup() 56 NW_ASSERT(resSceneNode.IsValid()); in CreateAnimGroup() 123 NW_ASSERT(m_OriginalValue.IsValid()); in DestroyOriginalValue() 143 NW_ASSERT(resLight.IsValid()); in GetAnimTargetObject()
|
| /NW4C-2.0.3/include/nw/gfx/ |
| D | gfx_ParticleEmitter.h | 153 if (m_ResParameter.IsValid()) 158 if (!copyOnly && this->GetResParticleEmitter().IsValid()) 172 if (m_ResParameter.IsValid()) 177 if (!copyOnly && this->GetResParticleEmitter().IsValid()) 191 if (m_ResForm.IsValid()) 196 if (!copyOnly && this->GetResParticleEmitter().IsValid()) 210 if (m_ResForm.IsValid()) 215 if (!copyOnly && this->GetResParticleEmitter().IsValid()) 285 if (!resource.IsValid()) in IsAlive()
|
| /NW4C-2.0.3/sources/libraries/snd/ |
| D | snd_FrameHeap.cpp | 86 if ( IsValid() ) in ~FrameHeap() 106 if ( IsValid() ) in Create() 147 if ( IsValid() ) in Destroy() 173 NW_ASSERT( IsValid() ); in Clear() 199 NW_ASSERT( IsValid() ); in Alloc() 232 NW_ASSERT( IsValid() ); in SaveState() 260 NW_ASSERT( IsValid() ); in LoadState() 305 NW_ASSERT( IsValid() ); in GetCurrentLevel() 321 NW_ASSERT( IsValid() ); in GetSize() 340 NW_ASSERT( IsValid() ); in GetFreeSize()
|
| /NW4C-2.0.3/include/nw/gfx/res/ |
| D | gfx_ResGraphicsFile.h | 218 NW_ASSERT( this->IsValid() ); in GetImageBlockDataSize() 242 NW_ASSERT( this->IsValid() ); in GetImageBlockDataImpl() 704 if (resSeparateDataShape.IsValid()) in ForeachVertexStream() 712 if (resVertexStream.IsValid()) in ForeachVertexStream() 783 if (fragmentLight.IsValid()) in ForeachUnresolvedReferenceLut() 788 if (distance.IsValid() && !distance.GetTargetLut().IsValid()) in ForeachUnresolvedReferenceLut() 795 if (lightingLut.IsValid()) in ForeachUnresolvedReferenceLut() 799 if (angle.IsValid() && !angle.GetTargetLut().IsValid()) in ForeachUnresolvedReferenceLut() 838 if (refer.IsValid()) in ForeachUnresolvedReferenceShader() 840 if (!refer.GetTargetShader().IsValid()) in ForeachUnresolvedReferenceShader() [all …]
|
| D | gfx_ResShape.h | 306 …NW_ASSERT( resOBB.IsValid() || (resOBB.GetTypeInfo() == nw::ut::ResOrientedBoundingBox::TYPE_INFO)… in NW_RES_CTOR_INHERIT() 314 …NW_ASSERT( resOBB.IsValid() || (resOBB.GetTypeInfo() == nw::ut::ResOrientedBoundingBox::TYPE_INFO)… in GetOrientedBoundingBox() 465 bool IsValid() const in IsValid() function 477 if (m_Interleave.IsValid()) 494 if (m_Interleave.IsValid()) 512 if (m_Interleave.IsValid()) 575 NW_ASSERT( shape.IsValid() ); in ResVertexAttributeIterator()
|
| D | gfx_ResLookupTable.h | 236 NW_ASSERT( this->IsValid() ); in Dereference() 248 NW_ASSERT( resRefLut.GetTargetLut().IsValid() ); in Dereference() 264 NW_ASSERT( this->IsValid() ); in Dereference() 276 NW_ASSERT( resRefLut.GetTargetLut().IsValid() ); in Dereference()
|
| D | gfx_ResFragmentShader.h | 450 NW_ASSERT( IsValid() ); in Cleanup() 462 NW_ASSERT(lookupTable.IsValid()); in SetSampler() 476 NW_ASSERT(lookupTable.IsValid()); in ForceSetupSampler() 544 NW_ASSERT(lookupTable.IsValid()); in ForceSetupLightingLut() 547 if (GetReflectanceRSampler().IsValid()) in ForceSetupLightingLut() 552 if (GetReflectanceGSampler().IsValid()) in ForceSetupLightingLut() 557 if (GetReflectanceBSampler().IsValid()) in ForceSetupLightingLut() 562 if (GetDistribution0Sampler().IsValid()) in ForceSetupLightingLut() 567 if (GetDistribution1Sampler().IsValid()) in ForceSetupLightingLut() 572 if (GetFresnelSampler().IsValid()) in ForceSetupLightingLut() [all …]
|
| /NW4C-2.0.3/sources/libraries/ut/ |
| D | ut_FrameHeap.cpp | 88 NW_ASSERT( IsValid() ); in Destroy() 113 NW_ASSERT( IsValid() ); in Alloc() 226 NW_ASSERT( IsValid() ); in ResizeForMBlock() 295 NW_ASSERT( IsValid() ); in GetAllocatableSize() 336 NW_ASSERT( IsValid() ); in Free() 406 NW_ASSERT( IsValid() ); in RecordState() 464 NW_ASSERT( IsValid() ); in FreeByState() 524 NW_ASSERT( IsValid() ); in Adjust()
|