{{newin|[[0.9.0]]|090|type=function|text=It has been renamed from [[PixelEffect:getWarnings]]}}

Returns any warning and error messages from compiling the shader code. This can be used for debugging your shaders if there's anything the graphics hardware doesn't like.

== 関数 ==
=== 概要 ===
<source lang="lua">
warnings = Shader:getWarnings( )
</source>
=== 引数 ===
なし。
=== 返値 ===
{{param (日本語)|string|warnings|Warning and error messages (if any).}}

== 関連 ==
* [[parent::Shader (日本語)]]
[[Category:Functions (日本語)]]
{{#set:Description=Gets warning and error messages (if any).}}
== そのほかの言語 ==
{{i18n (日本語)|Shader:getWarnings}}