Searched refs:texResource (Results 1 – 2 of 2) sorted by relevance
172 nw::lyt::TexResource texResource; in SetTexAreaToVRAM() local173 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()
210 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()