Home
last modified time | relevance | path

Searched refs:GetSampler (Results 1 – 13 of 13) sorted by relevance

/NW4C-2.0.3/sources/libraries/gfx/res/
Dgfx_ResFragmentShader.cpp60 ResDynamicCast<ResReferenceLookupTable>(this->GetDistribution0Sampler().GetSampler()); in Setup()
66 result |= this->GetDistribution0Sampler().GetSampler().Setup(); in Setup()
75 ResDynamicCast<ResReferenceLookupTable>(this->GetDistribution1Sampler().GetSampler()); in Setup()
81 result |= this->GetDistribution1Sampler().GetSampler().Setup(); in Setup()
90 ResDynamicCast<ResReferenceLookupTable>(this->GetReflectanceRSampler().GetSampler()); in Setup()
96 result |= this->GetReflectanceRSampler().GetSampler().Setup(); in Setup()
105 ResDynamicCast<ResReferenceLookupTable>(this->GetReflectanceGSampler().GetSampler()); in Setup()
111 result |= this->GetReflectanceGSampler().GetSampler().Setup(); in Setup()
120 ResDynamicCast<ResReferenceLookupTable>(this->GetReflectanceBSampler().GetSampler()); in Setup()
126 result |= this->GetReflectanceBSampler().GetSampler().Setup(); in Setup()
[all …]
Dgfx_ResMaterial.cpp464 …amicCast<ResReferenceLookupTable>(resFragmentLightingTable.GetDistribution0Sampler().GetSampler()); in CalcFragmentLightingTableHash()
474 …amicCast<ResReferenceLookupTable>(resFragmentLightingTable.GetDistribution1Sampler().GetSampler()); in CalcFragmentLightingTableHash()
485 …namicCast<ResReferenceLookupTable>(resFragmentLightingTable.GetReflectanceRSampler().GetSampler()); in CalcFragmentLightingTableHash()
496 …namicCast<ResReferenceLookupTable>(resFragmentLightingTable.GetReflectanceGSampler().GetSampler()); in CalcFragmentLightingTableHash()
508 …namicCast<ResReferenceLookupTable>(resFragmentLightingTable.GetReflectanceBSampler().GetSampler()); in CalcFragmentLightingTableHash()
520 …ResDynamicCast<ResReferenceLookupTable>(resFragmentLightingTable.GetFresnelSampler().GetSampler()); in CalcFragmentLightingTableHash()
Dgfx_ResTextureMapper.cpp246 ResDynamicCast<ResStandardTextureSampler>(resPixelBasedTextureMapper.GetSampler()); in ResPixelBasedTextureMapper_CloneDynamic()
323 if (resPixelBasedTextureMapper.GetSampler().IsValid()) in ResPixelBasedTextureMapper_DestroyDynamic()
400 …sStandardTextureSampler>(ResStaticCast<ResPixelBasedTextureMapper>(*this).GetSampler()).IsValid()); in GetMemorySizeForCloneInternal()
727 ResTextureSampler sampler = mapper.GetSampler(); in SetupTextureMapperCommand()
821 ResTextureSampler sampler = mapper.GetSampler(); in SetupTextureMapperCommand()
883 ResTextureSampler sampler = mapper.GetSampler(); in SetupTextureMapperCommand()
Dgfx_ResLight.cpp57 ResLookupTable resLut = fragment.GetAngleSampler().GetSampler(); in Setup()
/NW4C-2.0.3/sources/libraries/gfx/
Dgfx_MaterialState.cpp125 NW_NULL_ASSERT(lightingLookupTable.GetSampler().IsValid()); in ActivateFragmentLightingTable()
127 lookupTable = lightingLookupTable.GetSampler().Dereference(); in ActivateFragmentLightingTable()
141 NW_NULL_ASSERT(lightingLookupTable.GetSampler().IsValid()); in ActivateFragmentLightingTable()
143 lookupTable = lightingLookupTable.GetSampler().Dereference(); in ActivateFragmentLightingTable()
157 NW_NULL_ASSERT(lightingLookupTable.GetSampler().IsValid()); in ActivateFragmentLightingTable()
159 lookupTable = lightingLookupTable.GetSampler().Dereference(); in ActivateFragmentLightingTable()
173 NW_NULL_ASSERT(lightingLookupTable.GetSampler().IsValid()); in ActivateFragmentLightingTable()
175 lookupTable = lightingLookupTable.GetSampler().Dereference(); in ActivateFragmentLightingTable()
189 NW_NULL_ASSERT(lightingLookupTable.GetSampler().IsValid()); in ActivateFragmentLightingTable()
191 lookupTable = lightingLookupTable.GetSampler().Dereference(); in ActivateFragmentLightingTable()
[all …]
Dgfx_Material.cpp549 … allocator->Free(resFragmentLightingTable.GetReflectanceRSampler().GetSampler().ptr()); in DestroyResFragmentShader()
555 … allocator->Free(resFragmentLightingTable.GetReflectanceGSampler().GetSampler().ptr()); in DestroyResFragmentShader()
561 … allocator->Free(resFragmentLightingTable.GetReflectanceBSampler().GetSampler().ptr()); in DestroyResFragmentShader()
567 … allocator->Free(resFragmentLightingTable.GetDistribution0Sampler().GetSampler().ptr()); in DestroyResFragmentShader()
573 … allocator->Free(resFragmentLightingTable.GetDistribution1Sampler().GetSampler().ptr()); in DestroyResFragmentShader()
579 allocator->Free(resFragmentLightingTable.GetFresnelSampler().GetSampler().ptr()); in DestroyResFragmentShader()
719 ut::ResStaticCast<ResReferenceLookupTable>(resLightingLookupTable.GetSampler()); in CopyResLightingLookupTable()
Dgfx_RenderContext.cpp677 …NW_ASSERTMSG(resLight.GetAngleSampler().GetSampler().IsValid(), "The spot light must contain angle… in ActivateFragmentLight()
682 …vice::ActivateFragmentLightSpotTable(index, resLight.GetAngleSampler().GetSampler().Dereference()); in ActivateFragmentLight()
683 …SetLutIsAbs( GraphicsDevice::LUT_TARGET_SP, resLight.GetAngleSampler().GetSampler().Dereference().… in ActivateFragmentLight()
Dgfx_FragmentLight.cpp347 ResLookupTable srcReferenceAngleSampler = srcAngleSampler.GetSampler(); in CloneResFragmentLight()
/NW4C-2.0.3/include/nw/gfx/res/
Dgfx_ResFragmentShader.h442 return this->GetSampler().Dereference().IsAbs(); in NW_RES_FIELD_CLASS_DECL()
451 ut::SafeCleanup(this->GetSampler()); in Cleanup()
464 ResReferenceLookupTable referenceLut = ResStaticCast<ResReferenceLookupTable>(GetSampler()); in SetSampler()
479 ResReferenceLookupTable referenceLut = ResStaticCast<ResReferenceLookupTable>(GetSampler()); in ForceSetupSampler()
Dgfx_ResTextureMapper.h593 …const ResTextureSampler GetSampler() const { return ResTextureSampler( ref().toSampler.to_ptr() )… in NW_RES_CTOR_INHERIT()
594 ResTextureSampler GetSampler() { return ResTextureSampler( ref().toSampler.to_ptr() ); } in GetSampler() function
Dgfx_ResGraphicsFile.h798 ResDynamicCast<ResReferenceLookupTable>(lightingLut.GetSampler()); in ForeachUnresolvedReferenceLut()
1094 if (lightingLut.IsValid() && lightingLut.GetSampler().IsValid()) in CheckReferenceLutAndExec()
1097 ResDynamicCast<ResReferenceLookupTable>(lightingLut.GetSampler()); in CheckReferenceLutAndExec()
/NW4C-2.0.3/sources/libraries/anim/res/
Danim_ResAnimGroup.cpp209 NW_NULL_ASSERT(ResDynamicCast<ResStandardTextureSampler>(mapper.GetSampler()).ptr()); in SetValue()
/NW4C-2.0.3/demos/gfx/DynamicMaterialDemo/sources/
DDynamicMaterialDemo.cpp550 nw::gfx::res::ResLookupTable resLut = resLightingLut.GetSampler().Dereference(); in ChangeMaterial()