12.07.2015 Views

Mali GPU Shader Development Studio User Guide - ARM ...

Mali GPU Shader Development Studio User Guide - ARM ...

Mali GPU Shader Development Studio User Guide - ARM ...

SHOW MORE
SHOW LESS
  • No tags were found...

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Configuring the <strong>Shader</strong> <strong>Development</strong> <strong>Studio</strong>ToolbarThe toolbar menu of the <strong>Shader</strong> Control view contains a set of items that control the currentshader effect.Button Name DescriptionTable 4-6 Toolbar control buttonsCopy valuesOpen Source for this <strong>Shader</strong>Reload <strong>Shader</strong> ConfigurationSave Settings to <strong>Shader</strong> ConfigurationSelect <strong>Shader</strong> to RenderDisplays a dialog that enables you to copy all shader sources, controlsettings, attribute settings, and uniform settings.Open any shader source files associate with the currently selectedshader effect.Reload the shader effect’s attributes, uniforms, camera and scenecontrol settings from the data stored in the shader configuration.Write the current shader effect’s uniform, attribute, camera controland scene control values back into the shader configuration.Click this button to open a menu system that enables navigation toall known shader effects in all open projects.Click on any effect displayed to cause the <strong>Shader</strong> Preview view to beupdated with the selected shader effect. The automatic renderingpreference is used to determine if the selected shader is rendered.See Automatically Render on page 4-2.4.4.3 <strong>Shader</strong> AttributesThe <strong>Shader</strong> Attributes view presents a list of all attributes in the current shader effect. This listis generated from the data in the shader effect.For more information about using the <strong>Shader</strong> Attributes view, see Rendering the shader effecton page 3-9.Table 4-7 describes the shader attributes that are displayed in the <strong>Shader</strong> Attributes view:Table 4-7 <strong>Shader</strong> AttributesAttributeLocNameTypeValueDescriptionThe location of the attribute in the shader, as assigned by the renderer.The name of the attribute as it appears in the shader source file.OpenGL ES Type of the attribute.Value of the attribute. Click on this cell to present an editor appropriate to the type of the attribute. Forexample, vectors and matrices present a table editor, though for single-value types such as float, the currentcell is edited.4.4.4 <strong>Shader</strong> UniformsThe <strong>Shader</strong> Uniforms view presents a list of all uniforms in the current shader effect. This listis generated from the data in the shader effect.For more information about using the <strong>Shader</strong> Uniforms view, see Rendering the shader effecton page 3-9.DUI0504C Copyright © 2009-2011 <strong>ARM</strong>. All rights reserved. 4-11ID011412Non-Confidential - Beta

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!