Home
last modified time | relevance | path

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

/NW4C-2.0.3/sources/libraries/gfx/res/
Dgfx_ResTextureMapper.cpp29 typedef Result (*SetupFunc)(ResTextureMapper resTextureMapper, os::IAllocator* allocator, ResGraphi…
30 typedef void (*CleanupFunc)(ResTextureMapper resTextureMapper);
31 typedef ResTextureMapper (*CloneDynamicFunc)(ResTextureMapper resTextureMapper, os::IAllocator* all…
32 typedef void (*DestroyDynamicFunc)(ResTextureMapper resTextureMapper, os::IAllocator* allocator);
34 static Result ResPixelBasedTextureMapper_Setup(ResTextureMapper resTextureMapper, os::IAllocator* a…
35 static Result ResProceduralTextureMapper_Setup(ResTextureMapper resTextureMapper, os::IAllocator* a…
36 static void ResPixelBasedTextureMapper_Cleanup(ResTextureMapper resTextureMapper);
37 static void ResProceduralTextureMapper_Cleanup(ResTextureMapper resTextureMapper);
38 static ResTextureMapper ResPixelBasedTextureMapper_CloneDynamic(ResTextureMapper resTextureMapper, …
39 static ResTextureMapper ResProceduralTextureMapper_CloneDynamic(ResTextureMapper resTextureMapper, …
[all …]
Dgfx_ResMaterial.cpp130 ResPixelBasedTextureMapper resTextureMapper = resMaterial.GetTextureMappers( i ); in SetupTextures() local
131 if (!resTextureMapper.IsValid()) in SetupTextures()
136 if (!resTextureMapper.GetTexture().IsValid()) in SetupTextures()
141 result |= resTextureMapper.Setup(allocator, graphicsFile); in SetupTextures()
154 u32* command = resTextureMapper.GetCommandCache(); in SetupTextures()
203resTextureMapper.GetTexture().Dereference().GetTypeInfo() != ResCubeTexture::TYPE_INFO) in SetupTextures()
208 ResTexture resImageTexture = resTextureMapper.GetTexture().Dereference(); in SetupTextures()
/NW4C-2.0.3/sources/libraries/gfx/
Dgfx_Material.cpp167 ResPixelBasedTextureMapper resTextureMapper = resMaterial.GetTextureMappers(i); in GetMemorySizeInternal() local
168 if (resTextureMapper.IsValid()) in GetMemorySizeInternal()
170 resTextureMapper.GetMemorySizeForCloneInternal(&bufferSize); in GetMemorySizeInternal()
177 ResProceduralTextureMapper resTextureMapper = resMaterial.GetProceduralTextureMapper(); in GetMemorySizeInternal() local
178 if (resTextureMapper.IsValid()) in GetMemorySizeInternal()
180 resTextureMapper.GetMemorySizeForCloneInternal(&bufferSize); in GetMemorySizeInternal()
419 ResPixelBasedTextureMapper resTextureMapper = resMaterial.GetTextureMappers(i); in CopyResMaterial() local
420 if (resTextureMapper.IsValid()) in CopyResMaterial()
422 ResTextureMapper textureMapper = resTextureMapper.CloneDynamic(allocator); in CopyResMaterial()
437 ResProceduralTextureMapper resTextureMapper = resMaterial.GetProceduralTextureMapper(); in CopyResMaterial() local
[all …]
/NW4C-2.0.3/demos/gfx/DynamicMaterialDemo/sources/
DDynamicMaterialDemo.cpp535 nw::gfx::res::ResTextureMapper resTextureMapper = resTorusMaterial.GetTextureMappers(0); in ChangeMaterial() local
536 nw::gfx::res::ResTexture resTexture = resTextureMapper.GetTexture().Dereference(); in ChangeMaterial()
537 resTextureMapper.SetTexture(s_ChangedTexture); in ChangeMaterial()
/NW4C-2.0.3/demos/gfx/ProjectionShadowDemo/sources/
DProjectionShadowDemo.cpp640 nw::gfx::ResPixelBasedTextureMapper resTextureMapper = resMaterial.GetTextureMappers(0); in SetupShadowMaterial() local
642 nw::gfx::ResTexture dummyTexture = resTextureMapper.GetTexture().Dereference(); in SetupShadowMaterial()
644 resTextureMapper.SetTexture(s_ShadowTexture); in SetupShadowMaterial()
/NW4C-2.0.3/demos/gfx/ShadowMapDemo/sources/
DShadowMapDemo.cpp661 nw::gfx::ResPixelBasedTextureMapper resTextureMapper = resMaterial.GetTextureMappers(0); in SetupShadowMaterial() local
664 nw::gfx::ResTexture dummyTexture = resTextureMapper.GetTexture().Dereference(); in SetupShadowMaterial()
666 resTextureMapper.SetTexture(s_ShadowTexture); in SetupShadowMaterial()