Added GetTextureHandle() to SHGraphicsSystem
This commit is contained in:
parent
4721a133e1
commit
c68c5adc0d
|
@ -655,6 +655,11 @@ namespace SHADE
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Handle<SHTexture> SHGraphicsSystem::GetTextureHandle(SHTexture::Index textureId) const
|
||||||
|
{
|
||||||
|
return texLibrary.GetTextureHandle(textureId);
|
||||||
|
}
|
||||||
|
|
||||||
#pragma endregion ADD_REMOVE
|
#pragma endregion ADD_REMOVE
|
||||||
|
|
||||||
#pragma region ROUTINES
|
#pragma region ROUTINES
|
||||||
|
|
|
@ -262,6 +262,21 @@ namespace SHADE
|
||||||
*/
|
*/
|
||||||
/***************************************************************************/
|
/***************************************************************************/
|
||||||
void BuildTextures();
|
void BuildTextures();
|
||||||
|
/***************************************************************************/
|
||||||
|
/*!
|
||||||
|
*
|
||||||
|
\brief
|
||||||
|
Retrieves the texture handle at the specified texture index.
|
||||||
|
|
||||||
|
\param textureId
|
||||||
|
Index of the texture to look for.
|
||||||
|
|
||||||
|
\returns
|
||||||
|
Handle to the texture
|
||||||
|
|
||||||
|
*/
|
||||||
|
/***************************************************************************/
|
||||||
|
Handle<SHTexture> GetTextureHandle(SHTexture::Index textureId) const;
|
||||||
|
|
||||||
void PrepareResize(uint32_t newWidth, uint32_t newHeight) noexcept;
|
void PrepareResize(uint32_t newWidth, uint32_t newHeight) noexcept;
|
||||||
void HandleResize(void) noexcept;
|
void HandleResize(void) noexcept;
|
||||||
|
|
Loading…
Reference in New Issue