Home
last modified time | relevance | path

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

/NW4C-1.3.3/sources/libraries/gfx/res/
Dgfx_ResFragmentShader.cpp58 ResDynamicCast<ResReferenceLookupTable>(this->GetDistribution0Sampler().GetSampler()); in Setup()
64 result |= this->GetDistribution0Sampler().GetSampler().Setup(); in Setup()
73 ResDynamicCast<ResReferenceLookupTable>(this->GetDistribution1Sampler().GetSampler()); in Setup()
79 result |= this->GetDistribution1Sampler().GetSampler().Setup(); in Setup()
88 ResDynamicCast<ResReferenceLookupTable>(this->GetReflectanceRSampler().GetSampler()); in Setup()
94 result |= this->GetReflectanceRSampler().GetSampler().Setup(); in Setup()
103 ResDynamicCast<ResReferenceLookupTable>(this->GetReflectanceGSampler().GetSampler()); in Setup()
109 result |= this->GetReflectanceGSampler().GetSampler().Setup(); in Setup()
118 ResDynamicCast<ResReferenceLookupTable>(this->GetReflectanceBSampler().GetSampler()); in Setup()
124 result |= this->GetReflectanceBSampler().GetSampler().Setup(); in Setup()
[all …]
Dgfx_ResMaterial.cpp456 …amicCast<ResReferenceLookupTable>(resFragmentLightingTable.GetDistribution0Sampler().GetSampler()); in CalcFragmentLightingTableHash()
466 …amicCast<ResReferenceLookupTable>(resFragmentLightingTable.GetDistribution1Sampler().GetSampler()); in CalcFragmentLightingTableHash()
477 …namicCast<ResReferenceLookupTable>(resFragmentLightingTable.GetReflectanceRSampler().GetSampler()); in CalcFragmentLightingTableHash()
488 …namicCast<ResReferenceLookupTable>(resFragmentLightingTable.GetReflectanceGSampler().GetSampler()); in CalcFragmentLightingTableHash()
500 …namicCast<ResReferenceLookupTable>(resFragmentLightingTable.GetReflectanceBSampler().GetSampler()); in CalcFragmentLightingTableHash()
512 …ResDynamicCast<ResReferenceLookupTable>(resFragmentLightingTable.GetFresnelSampler().GetSampler()); in CalcFragmentLightingTableHash()
Dgfx_ResTextureMapper.cpp244 ResDynamicCast<ResStandardTextureSampler>(resPixelBasedTextureMapper.GetSampler()); in ResPixelBasedTextureMapper_CloneDynamic()
321 if (resPixelBasedTextureMapper.GetSampler().IsValid()) in ResPixelBasedTextureMapper_DestroyDynamic()
398 …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.cpp55 ResLookupTable resLut = fragment.GetAngleSampler().GetSampler(); in Setup()
/NW4C-1.3.3/sources/libraries/gfx/
Dgfx_MaterialState.cpp123 NW_NULL_ASSERT(lightingLookupTable.GetSampler().IsValid()); in ActivateFragmentLightingTable()
125 lookupTable = lightingLookupTable.GetSampler().Dereference(); in ActivateFragmentLightingTable()
139 NW_NULL_ASSERT(lightingLookupTable.GetSampler().IsValid()); in ActivateFragmentLightingTable()
141 lookupTable = lightingLookupTable.GetSampler().Dereference(); in ActivateFragmentLightingTable()
155 NW_NULL_ASSERT(lightingLookupTable.GetSampler().IsValid()); in ActivateFragmentLightingTable()
157 lookupTable = lightingLookupTable.GetSampler().Dereference(); in ActivateFragmentLightingTable()
171 NW_NULL_ASSERT(lightingLookupTable.GetSampler().IsValid()); in ActivateFragmentLightingTable()
173 lookupTable = lightingLookupTable.GetSampler().Dereference(); in ActivateFragmentLightingTable()
187 NW_NULL_ASSERT(lightingLookupTable.GetSampler().IsValid()); in ActivateFragmentLightingTable()
189 lookupTable = lightingLookupTable.GetSampler().Dereference(); in ActivateFragmentLightingTable()
[all …]
Dgfx_Material.cpp547 … allocator->Free(resFragmentLightingTable.GetReflectanceRSampler().GetSampler().ptr()); in DestroyResFragmentShader()
553 … allocator->Free(resFragmentLightingTable.GetReflectanceGSampler().GetSampler().ptr()); in DestroyResFragmentShader()
559 … allocator->Free(resFragmentLightingTable.GetReflectanceBSampler().GetSampler().ptr()); in DestroyResFragmentShader()
565 … allocator->Free(resFragmentLightingTable.GetDistribution0Sampler().GetSampler().ptr()); in DestroyResFragmentShader()
571 … allocator->Free(resFragmentLightingTable.GetDistribution1Sampler().GetSampler().ptr()); in DestroyResFragmentShader()
577 allocator->Free(resFragmentLightingTable.GetFresnelSampler().GetSampler().ptr()); in DestroyResFragmentShader()
717 ut::ResStaticCast<ResReferenceLookupTable>(resLightingLookupTable.GetSampler()); in CopyResLightingLookupTable()
Dgfx_RenderContext.cpp675 …NW_ASSERTMSG(resLight.GetAngleSampler().GetSampler().IsValid(), "The spot light must contain angle… in ActivateFragmentLight()
680 …vice::ActivateFragmentLightSpotTable(index, resLight.GetAngleSampler().GetSampler().Dereference()); in ActivateFragmentLight()
681 …SetLutIsAbs( GraphicsDevice::LUT_TARGET_SP, resLight.GetAngleSampler().GetSampler().Dereference().… in ActivateFragmentLight()
/NW4C-1.3.3/include/nw/gfx/res/
Dgfx_ResFragmentShader.h440 return this->GetSampler().Dereference().IsAbs(); in NW_RES_FIELD_CLASS_DECL()
449 ut::SafeCleanup(this->GetSampler()); in Cleanup()
462 ResReferenceLookupTable referenceLut = ResStaticCast<ResReferenceLookupTable>(GetSampler()); in SetSampler()
Dgfx_ResTextureMapper.h591 …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() function
/NW4C-1.3.3/sources/libraries/anim/res/
Danim_ResAnimGroup.cpp207 NW_NULL_ASSERT(ResDynamicCast<ResStandardTextureSampler>(mapper.GetSampler()).ptr()); in SetValue()
/NW4C-1.3.3/demos/gfx/DynamicMaterialDemo/sources/
DDynamicMaterialDemo.cpp548 nw::gfx::res::ResLookupTable resLut = resLightingLut.GetSampler().Dereference(); in ChangeMaterial()