Home
last modified time | relevance | path

Searched refs:resTexture (Results 1 – 9 of 9) sorted by relevance

/NW4C-2.0.3/sources/libraries/gfx/
Dgfx_OffScreenBuffer.cpp33 …Buffer(os::IAllocator* pAllocator, const Description& description, ResPixelBasedTexture resTexture) in OffScreenBuffer() argument
37 m_Texture(resTexture) in OffScreenBuffer()
39 ResPixelBasedTexture resPixelBasedTexture = ResStaticCast<ResPixelBasedTexture>(resTexture); in OffScreenBuffer()
43 m_BackBufferObject.SetHeight( resTexture.GetHeight() ); in OffScreenBuffer()
44 m_BackBufferObject.SetWidth( resTexture.GetWidth() ); in OffScreenBuffer()
48 switch ( resTexture.GetFormatHW() ) in OffScreenBuffer()
61 switch (resTexture.GetTypeInfo()) in OffScreenBuffer()
65 u32 address = ResStaticCast<ResImageTexture>(resTexture).GetImage().GetImageAddress(); in OffScreenBuffer()
72 … u32 address = ResStaticCast<ResCubeTexture>(resTexture).GetImage( face ).GetImageAddress(); in OffScreenBuffer()
79 u32 address = ResStaticCast<ResShadowTexture>(resTexture).GetImage().GetImageAddress(); in OffScreenBuffer()
Dgfx_IRenderTarget.cpp50 IRenderTarget::CreateOffScreenBuffer(os::IAllocator* allocator, ResTexture resTexture) in CreateOffScreenBuffer() argument
59 ResPixelBasedTexture texture = ResStaticCast<ResPixelBasedTexture>(resTexture.Dereference()); in CreateOffScreenBuffer()
/NW4C-2.0.3/sources/libraries/gfx/res/
Dgfx_ResTextureMapper.cpp43 static ResTexture ReferResTexture(os::IAllocator* allocator, ResTexture resTexture);
47 ResTexture resTexture,
133 ResTexture resTexture = resTextureMapper.GetTexture(); in ResPixelBasedTextureMapper_Setup() local
135 Result result = SetupTexture(allocator, resTexture, graphicsFile); in ResPixelBasedTextureMapper_Setup()
142 ResTexture resImageTexture = resTexture.Dereference(); in ResPixelBasedTextureMapper_Setup()
188 ResTexture resTexture = resTextureMapper.GetTexture(); in ResPixelBasedTextureMapper_Cleanup() local
189 ut::SafeCleanup(resTexture); in ResPixelBasedTextureMapper_Cleanup()
200 ResTexture resTexture = resTextureMapper.GetTexture(); in ResProceduralTextureMapper_Cleanup() local
201 ut::SafeCleanup(resTexture); in ResProceduralTextureMapper_Cleanup()
229 ResTexture resTexture = resPixelBasedTextureMapper.GetTexture(); in ResPixelBasedTextureMapper_CloneDynamic() local
[all …]
Dgfx_ResUtil.cpp84 ResTexture resTexture = graphicsFile.GetTextures(path); in GetReferenceTextureTarget() local
86 if (resTexture.IsValid()) in GetReferenceTextureTarget()
88 ResReferenceTexture refer = ResDynamicCast<ResReferenceTexture>(resTexture); in GetReferenceTextureTarget()
103 referenceTexture.ref().toTargetTexture.set_ptr(resTexture.ptr()); in GetReferenceTextureTarget()
/NW4C-2.0.3/include/nw/gfx/res/
Dgfx_ResGraphicsFile.h1128 void operator()(nw::gfx::ResTexture resTexture) const in operator()
1131 switch( resTexture.ref().typeInfo ) in operator()
1135 …::ResImageTexture resImageTexture = nw::gfx::ResStaticCast<nw::gfx::ResImageTexture>( resTexture ); in operator()
1144 …gfx::ResCubeTexture resCubeTexture = nw::gfx::ResStaticCast<nw::gfx::ResCubeTexture>( resTexture ); in operator()
1212 void operator()(ResTexture resTexture) const in operator()
1215 switch( resTexture.ref().typeInfo ) in operator()
1219 ResImageTexture resImageTexture = ResStaticCast<ResImageTexture>( resTexture ); in operator()
1225 ResCubeTexture resCubeTexture = ResStaticCast<ResCubeTexture>( resTexture ); in operator()
Dgfx_ResTextureMapper.h516 void SetTexture(ResTexture resTexture);
/NW4C-2.0.3/include/nw/gfx/
Dgfx_OffScreenBuffer.h61 …uffer(os::IAllocator* pAllocator, const Description& description, ResPixelBasedTexture resTexture);
Dgfx_IRenderTarget.h233 static IRenderTarget* CreateOffScreenBuffer(os::IAllocator* allocator, ResTexture resTexture);
/NW4C-2.0.3/demos/gfx/DynamicMaterialDemo/sources/
DDynamicMaterialDemo.cpp536 nw::gfx::res::ResTexture resTexture = resTextureMapper.GetTexture().Dereference(); in ChangeMaterial() local
538 s_ChangedTexture = resTexture; in ChangeMaterial()