-
Notifications
You must be signed in to change notification settings - Fork 50
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1056 from dlyr/refactor-textures
Refactor textures
- Loading branch information
Showing
50 changed files
with
1,447 additions
and
1,179 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
\page develTextures Textures management | ||
[TOC] | ||
|
||
Texture data and management class. | ||
First setup Ra::Engine::Data::TextureParameters. | ||
Optionnaly load image with TextureManager::loadTextureImage | ||
Create a Texture directly, or use TextureManager and get access to Texture by TextureManager::getTexture | ||
|
||
Loading Texture to the gpu is done asynchronously, when needed, a texture register gpu task to the engine, to load or delete texture. | ||
If you have an active GL context, and want immediate gpu texture upload or delete, call Texture::initializeNow() | ||
or Texture::destroyNow() | ||
|
||
\see | ||
|
||
- @ref material-textures in Material | ||
- Ra::Engine::Data::MaterialTextureSet | ||
- Ra::Engine::Data::TextureManager | ||
- Ra::Engine::Data::Texture | ||
- Ra::Engine::Data::TextureParameters | ||
- Ra::Engine::Data::SamplerParameters | ||
- Ra::Engine::Data::ImageParameters |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.