Home
last modified time | relevance | path

Searched refs:resTextureMapper (Results 1 – 6 of 6) sorted by relevance

/NW4C-1.3.3/sources/libraries/gfx/res/
Dgfx_ResTextureMapper.cpp27 typedef Result (*SetupFunc)(ResTextureMapper resTextureMapper, os::IAllocator* allocator, ResGraphi…
28 typedef void (*CleanupFunc)(ResTextureMapper resTextureMapper);
29 typedef ResTextureMapper (*CloneDynamicFunc)(ResTextureMapper resTextureMapper, os::IAllocator* all…
30 typedef void (*DestroyDynamicFunc)(ResTextureMapper resTextureMapper, os::IAllocator* allocator);
32 static Result ResPixelBasedTextureMapper_Setup(ResTextureMapper resTextureMapper, os::IAllocator* a…
33 static Result ResProceduralTextureMapper_Setup(ResTextureMapper resTextureMapper, os::IAllocator* a…
34 static void ResPixelBasedTextureMapper_Cleanup(ResTextureMapper resTextureMapper);
35 static void ResProceduralTextureMapper_Cleanup(ResTextureMapper resTextureMapper);
36 static ResTextureMapper ResPixelBasedTextureMapper_CloneDynamic(ResTextureMapper resTextureMapper, …
37 static ResTextureMapper ResProceduralTextureMapper_CloneDynamic(ResTextureMapper resTextureMapper, …
[all …]
Dgfx_ResMaterial.cpp122 ResPixelBasedTextureMapper resTextureMapper = resMaterial.GetTextureMappers( i ); in SetupTextures() local
123 if (!resTextureMapper.IsValid()) in SetupTextures()
128 if (!resTextureMapper.GetTexture().IsValid()) in SetupTextures()
133 result |= resTextureMapper.Setup(allocator, graphicsFile); in SetupTextures()
146 u32* command = resTextureMapper.GetCommandCache(); in SetupTextures()
195resTextureMapper.GetTexture().Dereference().GetTypeInfo() != ResCubeTexture::TYPE_INFO) in SetupTextures()
200 ResTexture resImageTexture = resTextureMapper.GetTexture().Dereference(); in SetupTextures()
/NW4C-1.3.3/sources/libraries/gfx/
Dgfx_Material.cpp165 ResPixelBasedTextureMapper resTextureMapper = resMaterial.GetTextureMappers(i); in GetMemorySizeInternal() local
166 if (resTextureMapper.IsValid()) in GetMemorySizeInternal()
168 resTextureMapper.GetMemorySizeForCloneInternal(&bufferSize); in GetMemorySizeInternal()
175 ResProceduralTextureMapper resTextureMapper = resMaterial.GetProceduralTextureMapper(); in GetMemorySizeInternal() local
176 if (resTextureMapper.IsValid()) in GetMemorySizeInternal()
178 resTextureMapper.GetMemorySizeForCloneInternal(&bufferSize); in GetMemorySizeInternal()
417 ResPixelBasedTextureMapper resTextureMapper = resMaterial.GetTextureMappers(i); in CopyResMaterial() local
418 if (resTextureMapper.IsValid()) in CopyResMaterial()
420 ResTextureMapper textureMapper = resTextureMapper.CloneDynamic(allocator); in CopyResMaterial()
435 ResProceduralTextureMapper resTextureMapper = resMaterial.GetProceduralTextureMapper(); in CopyResMaterial() local
[all …]
/NW4C-1.3.3/demos/gfx/DynamicMaterialDemo/sources/
DDynamicMaterialDemo.cpp533 nw::gfx::res::ResTextureMapper resTextureMapper = resTorusMaterial.GetTextureMappers(0); in ChangeMaterial() local
534 nw::gfx::res::ResTexture resTexture = resTextureMapper.GetTexture().Dereference(); in ChangeMaterial()
535 resTextureMapper.SetTexture(s_ChangedTexture); in ChangeMaterial()
/NW4C-1.3.3/demos/gfx/ProjectionShadowDemo/sources/
DProjectionShadowDemo.cpp638 nw::gfx::ResPixelBasedTextureMapper resTextureMapper = resMaterial.GetTextureMappers(0); in SetupShadowMaterial() local
640 nw::gfx::ResTexture dummyTexture = resTextureMapper.GetTexture().Dereference(); in SetupShadowMaterial()
642 resTextureMapper.SetTexture(s_ShadowTexture); in SetupShadowMaterial()
/NW4C-1.3.3/demos/gfx/ShadowMapDemo/sources/
DShadowMapDemo.cpp659 nw::gfx::ResPixelBasedTextureMapper resTextureMapper = resMaterial.GetTextureMappers(0); in SetupShadowMaterial() local
662 nw::gfx::ResTexture dummyTexture = resTextureMapper.GetTexture().Dereference(); in SetupShadowMaterial()
664 resTextureMapper.SetTexture(s_ShadowTexture); in SetupShadowMaterial()