| /NW4C-1.3.3/sources/libraries/gfx/res/ |
| D | gfx_ResFragmentShader.cpp | 30 NW_ASSERT( this->IsValid() ); in Setup() 51 NW_ASSERT( this->IsValid() ); in Setup() 55 if (this->GetDistribution0Sampler().IsValid()) in Setup() 70 if (this->GetDistribution1Sampler().IsValid()) in Setup() 85 if (this->GetReflectanceRSampler().IsValid()) in Setup() 100 if (this->GetReflectanceGSampler().IsValid()) in Setup() 115 if (this->GetReflectanceBSampler().IsValid()) in Setup() 130 if (this->GetFresnelSampler().IsValid()) in Setup() 159 …ingTable.GetDistribution0Sampler().IsValid() || !fragmentLightingTable.GetDistribution0Sampler().G… in CheckFragmentShader() 167 …ingTable.GetDistribution1Sampler().IsValid() || !fragmentLightingTable.GetDistribution1Sampler().G… in CheckFragmentShader() [all …]
|
| D | gfx_ResMaterial.cpp | 36 NW_ASSERT( this->IsValid() ); in Setup() 56 NW_ASSERT(resFragmentShader.GetFragmentLightingTable().IsValid()); in Setup() 96 if (textureMapper.IsValid()) in Cleanup() 102 if (this->GetProceduralTextureMapper().IsValid()) in Cleanup() 123 if (!resTextureMapper.IsValid()) in SetupTextures() 128 if (!resTextureMapper.GetTexture().IsValid()) in SetupTextures() 217 if (resMaterial.GetProceduralTextureMapper().IsValid()) in SetupTextures() 237 bool isProceduralTextureEnabled = resMaterial.GetProceduralTextureMapper().IsValid(); in SetupTextureCoordinators() 241 bool isTextureMapperEnabled = resMaterial.GetTextureMappers(i).IsValid(); in SetupTextureCoordinators() 271 … if (resMaterial.GetTextureMappers(2).IsValid() || isProceduralTextureEnabled) in SetupTextureCoordinators() [all …]
|
| D | gfx_ResUtil.cpp | 31 if (resReferenceLut.IsValid()) in SetupReferenceLut() 34 if (!resImageLut.IsValid()) in SetupReferenceLut() 61 if (resLutSet.IsValid()) in GetReferenceLutTarget() 66 if (resLut.IsValid()) in GetReferenceLutTarget() 84 if (resTexture.IsValid()) in GetReferenceTextureTarget() 89 if (refer.IsValid()) in GetReferenceTextureTarget() 117 if (resShader.IsValid()) in GetReferenceShaderTarget() 122 if (refer.IsValid()) in GetReferenceShaderTarget()
|
| D | gfx_ResLight.cpp | 36 if (fragment.IsValid()) in Setup() 43 if ( fragment.GetDistanceSampler().IsValid() ) in Setup() 53 if (fragment.GetAngleSampler().IsValid()) in Setup() 57 if (resLut.IsValid()) in Setup() 87 if (fragment.IsValid()) in Cleanup()
|
| D | gfx_ResTextureMapper.cpp | 99 if (texture.IsValid() && in SetTextureMipmapCommand() 228 if (resTexture.IsValid()) in ResPixelBasedTextureMapper_CloneDynamic() 232 if (referenceTexture.IsValid()) in ResPixelBasedTextureMapper_CloneDynamic() 246 if (resStandardTextureSampler.IsValid()) in ResPixelBasedTextureMapper_CloneDynamic() 291 if (resTexture.IsValid()) in ResProceduralTextureMapper_CloneDynamic() 295 if (referenceTexture.IsValid()) in ResProceduralTextureMapper_CloneDynamic() 321 if (resPixelBasedTextureMapper.GetSampler().IsValid()) in ResPixelBasedTextureMapper_DestroyDynamic() 326 if (resPixelBasedTextureMapper.GetTexture().IsValid()) in ResPixelBasedTextureMapper_DestroyDynamic() 346 if (resProceduralTextureMapper.GetTexture().IsValid()) in ResProceduralTextureMapper_DestroyDynamic() 378 if (resTextureMapper.IsValid()) in CloneDynamic() [all …]
|
| D | gfx_ResShader.cpp | 44 NW_ASSERT( this->IsValid() ); in Dereference() 57 NW_ASSERT( resRefShader.GetTargetShader().IsValid() ); in Dereference() 73 NW_ASSERT( this->IsValid() ); in Dereference() 86 NW_ASSERT( resRefShader.GetTargetShader().IsValid() ); in Dereference() 213 NW_ASSERT( resRefShader.IsValid() ); in ResReferenceShader_Setup() 214 NW_ASSERT( resRefShader.GetTargetShader().IsValid() ); in ResReferenceShader_Setup() 218 if (binaryShader.IsValid()) in ResReferenceShader_Setup() 231 if (resBinaryShader.IsValid()) in Cleanup() 296 NW_ASSERT(resShaderSymbol.IsValid()); in Setup() 368 NW_ASSERT(resShaderSymbol.IsValid()); in Cleanup()
|
| D | gfx_ResTexture.cpp | 159 NW_ASSERT( resImage.IsValid() ); in SetTexImage2D() 192 NW_ASSERT( resImgTex.IsValid() ); in ResImageTexture_Setup() 219 NW_ASSERT( resSdwTex.IsValid() ); in ResShadowTexture_Setup() 246 NW_ASSERT( resCubeTex.IsValid() ); in ResCubeTexture_Setup() 278 NW_ASSERT( resRefTex.IsValid() ); in ResReferenceTexture_Setup() 279 NW_ASSERT( resRefTex.GetTargetTexture().IsValid() ); in ResReferenceTexture_Setup() 335 NW_ASSERT( resImgTex.IsValid() ); in ResImageTexture_Cleanup() 357 NW_ASSERT( resSdwTex.IsValid() ); in ResShadowTexture_Cleanup() 379 NW_ASSERT( resCubeTex.IsValid() ); in ResCubeTexture_Cleanup() 406 NW_ASSERT( resRefTex.IsValid() ); in ResReferenceTexture_Cleanup() [all …]
|
| /NW4C-1.3.3/include/nw/ut/ |
| D | ut_ResDictionary.h | 33 virtual bool IsValid() const = 0; 65 bool IsValid() const { m_Dic.IsValid(); } 115 if ( ! this->IsValid() ) { return NULL; } 139 if ( (! this->IsValid()) || (! key.IsValid()) ) { return -1; } in GetIndex() 180 if (!this->IsValid()) { return NULL; } 192 if (this->IsValid() && s) 210 if (this->IsValid()) in operator() 226 if (IsValid() && n.IsValid()) 243 if (IsValid() && s) in GetIndex() 261 if (IsValid() && n.IsValid()) in GetIndex() [all …]
|
| D | ut_ResUtil.h | 27 NW_ASSERTMSG(IsValid(), "%s::%s: Object not valid.", GetClassName(), __FUNCTION__) 74 if (!res.IsValid()) in ResDynamicCast() 100 NW_ASSERT( (! res.IsValid()) || ResDynamicCast<TDest>( res ).IsValid() ); in ResStaticCast() 217 bool IsValid() const { return (mpData != NULL); } in IsValid() function 337 … NW_FORCE_INLINE T& ref() { NW_ASSERT(this->IsValid()); return *reinterpret_cast<T*>(void_ptr()); } in ref() 340 …NW_FORCE_INLINE const T& ref() const { NW_ASSERT(this->IsValid()); return *reinterpret_cast<const … in ref() 358 if (res.IsValid()) in SafeCleanup()
|
| /NW4C-1.3.3/sources/libraries/gfx/ |
| D | gfx_Material.cpp | 56 NW_ASSERT(resShader.IsValid()); in Material() 71 NW_ASSERT(resource.IsValid()); in Create() 166 if (resTextureMapper.IsValid()) in GetMemorySizeInternal() 176 if (resTextureMapper.IsValid()) in GetMemorySizeInternal() 184 if (resMaterial.GetFragmentShader().IsValid()) in GetMemorySizeInternal() 193 if (resFragmentShader.GetFragmentLightingTable().IsValid()) in GetMemorySizeInternal() 199 if (resFragmentLightingTable.GetReflectanceRSampler().IsValid()) in GetMemorySizeInternal() 204 if (resFragmentLightingTable.GetReflectanceGSampler().IsValid()) in GetMemorySizeInternal() 209 if (resFragmentLightingTable.GetReflectanceBSampler().IsValid()) in GetMemorySizeInternal() 214 if (resFragmentLightingTable.GetDistribution0Sampler().IsValid()) in GetMemorySizeInternal() [all …]
|
| D | gfx_Camera.cpp | 65 if (this->m_IsDynamic && resCamera.IsValid()) in ~Camera() 82 NW_ASSERT(m_OriginalValue.IsValid()); in CreateAnimGroup() 91 NW_ASSERT(resCamera.IsValid()); in CreateAnimGroup() 397 NW_ASSERT(resCamera.IsValid()); in Create() 406 NW_ASSERT(resViewUpdater.IsValid()); in Create() 435 NW_ASSERT(resProjectionUpdater.IsValid()); in Create() 628 if (resAim.IsValid()) in GetTargetPosition() 632 else if (resLookAt.IsValid()) in GetTargetPosition() 652 if (resAim.IsValid()) in SetTargetPosition() 656 else if (resLookAt.IsValid()) in SetTargetPosition() [all …]
|
| D | gfx_MaterialState.cpp | 121 if (lightingLookupTable.IsValid() && isReflectionEnabled) in ActivateFragmentLightingTable() 123 NW_NULL_ASSERT(lightingLookupTable.GetSampler().IsValid()); in ActivateFragmentLightingTable() 137 if (lightingLookupTable.IsValid() && isReflectionEnabled) in ActivateFragmentLightingTable() 139 NW_NULL_ASSERT(lightingLookupTable.GetSampler().IsValid()); in ActivateFragmentLightingTable() 153 if (lightingLookupTable.IsValid() && isReflectionEnabled) in ActivateFragmentLightingTable() 155 NW_NULL_ASSERT(lightingLookupTable.GetSampler().IsValid()); in ActivateFragmentLightingTable() 169 if (lightingLookupTable.IsValid() && isDistribution0Enbaled) in ActivateFragmentLightingTable() 171 NW_NULL_ASSERT(lightingLookupTable.GetSampler().IsValid()); in ActivateFragmentLightingTable() 185 if (lightingLookupTable.IsValid() && isDistribution1Enbaled) in ActivateFragmentLightingTable() 187 NW_NULL_ASSERT(lightingLookupTable.GetSampler().IsValid()); in ActivateFragmentLightingTable() [all …]
|
| D | gfx_ParticleUtil.cpp | 70 NW_ASSERT(resSceneNode.IsValid()); in SetupParticleObject() 109 NW_ASSERT(resSceneNode.IsValid()); in ResolveParticleObject() 134 NW_ASSERT(resUpdater.IsValid()); in ResolveParticleObject() 160 if (resource.IsValid()) in ResolveParticleObject() 392 NW_ASSERT(child.IsValid()); in GetMemorySizeForDuplicateResParticleUpdaterInternal() 399 if (form.IsValid()) in GetMemorySizeForDuplicateResParticleUpdaterInternal() 429 if (option.IsValid()) in GetMemorySizeForDuplicateResParticleUpdaterInternal() 490 if (resAnimation.IsValid()) in GetMemorySizeForDuplicateResParticleUpdaterInternal() 499 if (option.IsValid()) in GetMemorySizeForDuplicateResParticleUpdaterInternal() 576 NW_ASSERT(child.IsValid()); in DuplicateResParticleUpdater() [all …]
|
| D | gfx_RenderContext.cpp | 339 NW_ASSERT(resSkeleton.IsValid()); in SetModelMatrixForSkeletalModel() 447 NW_ASSERT(description.IsValid()); in ActivateShaderProgram() 455 if ( previousDescription.IsValid() && in ActivateShaderProgram() 527 NW_ASSERT(this->m_SceneEnvironment.GetActiveFog()->GetResFog().IsValid()); in ActivateFog() 528 NW_ASSERT(this->m_SceneEnvironment.GetActiveFog()->GetResFog().GetFogSampler().IsValid()); in ActivateFog() 573 NW_ASSERT(resLight.IsValid()); in ActivateHemiSphereLight() 621 NW_ASSERT(resLight.IsValid()); in ActivateFragmentLight() 650 && resLight.GetDistanceSampler().IsValid() ) in ActivateFragmentLight() 674 …NW_ASSERTMSG(resLight.GetAngleSampler().IsValid(), "The spot light must contain angle sampler(look… in ActivateFragmentLight() 675 …NW_ASSERTMSG(resLight.GetAngleSampler().GetSampler().IsValid(), "The spot light must contain angle… in ActivateFragmentLight() [all …]
|
| D | gfx_Light.cpp | 44 NW_ASSERT(m_OriginalValue.IsValid()); in CreateAnimGroup() 53 NW_ASSERT(resSceneNode.IsValid()); in CreateAnimGroup() 120 NW_ASSERT(m_OriginalValue.IsValid()); in DestroyOriginalValue() 140 NW_ASSERT(resLight.IsValid()); in GetAnimTargetObject()
|
| D | gfx_SceneEnvironmentSetting.cpp | 41 NW_ASSERT(resSetting.IsValid()); in Create() 100 NW_ASSERT(resSetting.IsValid()); in ResolveReference() 108 if ((*iter).IsValid()) in ResolveReference() 130 if ((*iter).IsValid()) in ResolveReference() 163 if ((*lightIter).IsValid()) in ResolveReference()
|
| D | gfx_ParticleSet.cpp | 360 NW_ASSERT(resParticleCollection.IsValid()); in GetMemorySizeInternal() 392 NW_ASSERT(resNode.IsValid()); in Create() 526 NW_ASSERT(vec3Updater.IsValid()); in Create() 528 if (animation.IsValid()) in Create() 550 NW_ASSERT(resParticleCollection.IsValid()); in Create() 1008 NW_ASSERT(floatInitializer.IsValid()); in InitializeParticles() 1031 NW_ASSERT(vec2Initializer.IsValid()); in InitializeParticles() 1055 NW_ASSERT(vec3Initializer.IsValid()); in InitializeParticles() 1079 NW_ASSERT(floatInitializer.IsValid()); in InitializeParticles() 1111 NW_ASSERT(velInitializer.IsValid()); in InitializeParticles() [all …]
|
| D | gfx_MeshRenderer.cpp | 61 NW_ASSERT(renderContext->GetShaderProgram()->GetActiveDescription().IsValid()); in TestRegisterOverride() 92 NW_ASSERT(mesh.IsValid()); in RenderMesh() 154 if (!shape.IsValid()) { return; } in RenderSeparateDataShape() 178 NW_ASSERT((*primitiveSet).IsValid()); in RenderSeparateDataShape() 255 if (!resource.IsValid()) { return; } in RenderParticleShape() 418 if (resShapeBuilder.IsValid()) in RenderParticleShape() 453 …const bool isAscendingOrder = (resShapeBuilder.IsValid())? resShapeBuilder.IsAscendingOrder() : tr… in RenderParticleShape() 521 NW_ASSERT(primitiveSet.IsValid()); in SetMatrixPalette()
|
| /NW4C-1.3.3/include/nw/gfx/ |
| D | gfx_ParticleEmitter.h | 193 if (m_ResParameter.IsValid()) 198 if (!copyOnly && this->GetResParticleEmitter().IsValid()) 212 if (m_ResParameter.IsValid()) 217 if (!copyOnly && this->GetResParticleEmitter().IsValid()) 231 if (m_ResForm.IsValid()) 236 if (!copyOnly && this->GetResParticleEmitter().IsValid()) 250 if (m_ResForm.IsValid()) 255 if (!copyOnly && this->GetResParticleEmitter().IsValid()) 274 if (!resource.IsValid()) in IsAlive()
|
| /NW4C-1.3.3/sources/libraries/snd/ |
| D | snd_FrameHeap.cpp | 84 if ( IsValid() ) in ~FrameHeap() 104 if ( IsValid() ) in Create() 136 if ( IsValid() ) in Destroy() 162 NW_ASSERT( IsValid() ); in Clear() 188 NW_ASSERT( IsValid() ); in Alloc() 218 NW_ASSERT( IsValid() ); in SaveState() 244 NW_ASSERT( IsValid() ); in LoadState() 288 NW_ASSERT( IsValid() ); in GetCurrentLevel() 304 NW_ASSERT( IsValid() ); in GetSize() 323 NW_ASSERT( IsValid() ); in GetFreeSize()
|
| /NW4C-1.3.3/sources/libraries/ut/ |
| D | ut_FrameHeap.cpp | 86 NW_ASSERT( IsValid() ); in Destroy() 111 NW_ASSERT( IsValid() ); in Alloc() 224 NW_ASSERT( IsValid() ); in ResizeForMBlock() 293 NW_ASSERT( IsValid() ); in GetAllocatableSize() 334 NW_ASSERT( IsValid() ); in Free() 404 NW_ASSERT( IsValid() ); in RecordState() 462 NW_ASSERT( IsValid() ); in FreeByState() 522 NW_ASSERT( IsValid() ); in Adjust()
|
| /NW4C-1.3.3/include/nw/gfx/res/ |
| D | gfx_ResShape.h | 304 …NW_ASSERT( resOBB.IsValid() || (resOBB.GetTypeInfo() == nw::ut::ResOrientedBoundingBox::TYPE_INFO)… in NW_RES_CTOR_INHERIT() 312 …NW_ASSERT( resOBB.IsValid() || (resOBB.GetTypeInfo() == nw::ut::ResOrientedBoundingBox::TYPE_INFO)… in GetOrientedBoundingBox() 460 bool IsValid() const in IsValid() function 472 if (m_Interleave.IsValid()) 489 if (m_Interleave.IsValid()) 507 if (m_Interleave.IsValid()) 570 NW_ASSERT( shape.IsValid() ); in ResVertexAttributeIterator()
|
| D | gfx_ResLookupTable.h | 228 NW_ASSERT( this->IsValid() ); in Dereference() 240 NW_ASSERT( resRefLut.GetTargetLut().IsValid() ); in Dereference() 256 NW_ASSERT( this->IsValid() ); in Dereference() 268 NW_ASSERT( resRefLut.GetTargetLut().IsValid() ); in Dereference()
|
| /NW4C-1.3.3/include/nw/snd/ |
| D | snd_SoundHeap.h | 192 bool IsValid() const { return m_FrameHeap.IsValid(); } in IsValid() function
|
| /NW4C-1.3.3/sources/libraries/demo/ |
| D | demo_CameraController.cpp | 150 if (resAimTargetViewUpdater.IsValid()) in CameraEntry() 160 else if (resLookAtTargetViewUpdater.IsValid()) in CameraEntry() 170 else if (resRotateViewUpdater.IsValid()) in CameraEntry() 259 if (resAimTargetViewUpdater.IsValid()) in UpdateCamera() 264 else if (resLookAtTargetViewUpdater.IsValid()) in UpdateCamera() 268 else if (resRotateViewUpdater.IsValid()) in UpdateCamera()
|