Home
last modified time | relevance | path

Searched refs:texResource (Results 1 – 2 of 2) sorted by relevance

/NW4C-2.0.3/demos/lyt/texVram/sources/
Dmain.cpp172 nw::lyt::TexResource texResource; in SetTexAreaToVRAM() local
173 if (!texResource.Set(arcFileInfo)) in SetTexAreaToVRAM()
181 if (texResource.Is4bitFormat()) in SetTexAreaToVRAM()
183 texResource.SetImageArea(nw::lyt::MEMAREA_VRAMA); in SetTexAreaToVRAM()
187 texResource.SetImageArea(nw::lyt::MEMAREA_VRAMB); in SetTexAreaToVRAM()
192 texResource.SetImageArea(nw::lyt::MEMAREA_FCRAM); in SetTexAreaToVRAM()
/NW4C-2.0.3/sources/libraries/lyt/
Dlyt_Util.cpp210 const TexResource texResource(const_cast<void*>(pImgRes), size); in LoadTexture()
211 if (!texResource.IsValid()) in LoadTexture()
244 TexFormat format = texResource.GetFormat(); in LoadTexture()
245 const void* pixels = texResource.GetImageAddress(); in LoadTexture()
246 u32 imageSize = texResource.GetImageSize(); in LoadTexture()
255 u16 width = texResource.GetWidth(); in LoadTexture()
262 u16 height = texResource.GetHeight(); in LoadTexture()
272 switch (texResource.GetImageArea()) in LoadTexture()