mirror of https://github.com/mosra/magnum.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
42 lines
2.4 KiB
42 lines
2.4 KiB
namespace Magnum { |
|
/** @page best-practices Best practices and platform-specific information |
|
|
|
@brief Performance advices and solutions for platform-specific issues |
|
|
|
@tableofcontents |
|
|
|
Here is collection of carefully selected links to official guidelines and |
|
other articles with valuable information to help developers create better |
|
applications. Feel free to add one, if it contains new unique information. |
|
|
|
@section best-practices-platform Platform-specific |
|
|
|
Some platforms need special care, see their respective sections for more |
|
information. |
|
|
|
@subsection best-practices-mac Mac OS |
|
|
|
- [Best Practices for Working with Vertex Data](https://developer.apple.com/library/mac/#documentation/graphicsimaging/Conceptual/OpenGL-MacProgGuide/opengl_vertexdata/opengl_vertexdata.html) |
|
- [Best Practices for Working with Texture Data](https://developer.apple.com/library/mac/#documentation/graphicsimaging/Conceptual/OpenGL-MacProgGuide/opengl_texturedata/opengl_texturedata.html) |
|
|
|
@subsection best-practices-ios iOS |
|
|
|
- [Best Practices for Working with Vertex Data](http://developer.apple.com/library/ios/#documentation/3DDrawing/Conceptual/OpenGLES_ProgrammingGuide/TechniquesforWorkingwithVertexData/TechniquesforWorkingwithVertexData.html) |
|
- [Best Practices for Working with Texture Data](http://developer.apple.com/library/ios/#documentation/3DDrawing/Conceptual/OpenGLES_ProgrammingGuide/TechniquesForWorkingWithTextureData/TechniquesForWorkingWithTextureData.html) |
|
- [Best Practices for Shaders](http://developer.apple.com/library/ios/#documentation/3DDrawing/Conceptual/OpenGLES_ProgrammingGuide/BestPracticesforShaders/BestPracticesforShaders.html#//apple_ref/doc/uid/TP40008793-CH7-SW3) |
|
|
|
@subsection best-practices-nacl Google Chrome Native Client |
|
|
|
- [Best practices for 3D graphics](https://developers.google.com/native-client/beta/devguide/coding/3D-graphics#best-practices) |
|
|
|
@subsubsection best-practices-nacl-buffer-types Native Client requires unique buffer binding |
|
|
|
As noted in the above link, buffers in NaCl implementation need to be bound |
|
only to one unique target, i.e., Buffer bound to @ref Buffer::Target "Target::Array" |
|
cannot be later rebound to @ref Buffer::Target "Target::Element". However, |
|
%Magnum by default uses any sufficient target when binding the buffer |
|
internally (e.g. for setting data or copying). To avoid this, set target hint |
|
to desired target, either in constructor or using Buffer::setTargetHint(). |
|
|
|
*/ |
|
}
|
|
|