Home
last modified time | relevance | path

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

/NW4C-1.2.23/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.cpp110 ResPixelBasedTextureMapper resTextureMapper = resMaterial.GetTextureMappers( i ); in SetupTextures() local
111 if (!resTextureMapper.IsValid()) in SetupTextures()
116 if (!resTextureMapper.GetTexture().IsValid()) in SetupTextures()
121 result |= resTextureMapper.Setup(allocator, graphicsFile); in SetupTextures()
134 u32* command = resTextureMapper.GetCommandCache(); in SetupTextures()
171 ResTexture resImageTexture = resTextureMapper.GetTexture().Dereference(); in SetupTextures()
/NW4C-1.2.23/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()
411 ResPixelBasedTextureMapper resTextureMapper = resMaterial.GetTextureMappers(i); in CopyResMaterial() local
412 if (resTextureMapper.IsValid()) in CopyResMaterial()
414 ResTextureMapper textureMapper = resTextureMapper.CloneDynamic(allocator); in CopyResMaterial()
429 ResProceduralTextureMapper resTextureMapper = resMaterial.GetProceduralTextureMapper(); in CopyResMaterial() local
[all …]
/NW4C-1.2.23/demos/gfx/DynamicMaterialDemo/sources/
DDynamicMaterialDemo.cpp541 nw::gfx::res::ResTextureMapper resTextureMapper = resTorusMaterial.GetTextureMappers(0); in ChangeMaterial() local
542 nw::gfx::res::ResTexture resTexture = resTextureMapper.GetTexture().Dereference(); in ChangeMaterial()
543 resTextureMapper.SetTexture(s_ChangedTexture); in ChangeMaterial()
/NW4C-1.2.23/demos/gfx/ProjectionShadowDemo/sources/
DProjectionShadowDemo.cpp642 nw::gfx::ResPixelBasedTextureMapper resTextureMapper = resMaterial.GetTextureMappers(0); in SetupShadowMaterial() local
644 nw::gfx::ResTexture dummyTexture = resTextureMapper.GetTexture().Dereference(); in SetupShadowMaterial()
646 resTextureMapper.SetTexture(s_ShadowTexture); in SetupShadowMaterial()
/NW4C-1.2.23/demos/gfx/ShadowMapDemo/sources/
DShadowMapDemo.cpp667 nw::gfx::ResPixelBasedTextureMapper resTextureMapper = resMaterial.GetTextureMappers(0); in SetupShadowMaterial() local
670 nw::gfx::ResTexture dummyTexture = resTextureMapper.GetTexture().Dereference(); in SetupShadowMaterial()
672 resTextureMapper.SetTexture(s_ShadowTexture); in SetupShadowMaterial()