phaser/v2-community/resources/docgen/output/PIXI.PixiShader.json

1 line
3.2 KiB
JSON
Raw Normal View History

{"class":{"name":"PIXI.PixiShader","extends":"","static":false,"constructor":true,"parameters":[{"name":"gl","type":["PIXI.WebGLContext"],"help":"the current WebGL drawing context","optional":false,"default":null}],"help":""},"consts":[],"methods":{"public":[{"name":"destroy","static":false,"returns":null,"help":"Destroys the shader.","line":356,"public":true,"protected":false,"private":false,"parameters":[],"inherited":false,"inheritedFrom":""},{"name":"init","static":false,"returns":null,"help":"Initialises the shader.","line":88,"public":true,"protected":false,"private":false,"parameters":[],"inherited":false,"inheritedFrom":""},{"name":"initSampler2D","static":false,"returns":null,"help":"Initialises a Sampler2D uniform (which may only be available later on after initUniforms once the texture has loaded)","line":213,"public":true,"protected":false,"private":false,"parameters":[],"inherited":false,"inheritedFrom":""},{"name":"initUniforms","static":false,"returns":null,"help":"Initialises the shader uniform values.\\n\\nUniforms are specified in the GLSL_ES Specification: http:\/\/www.khronos.org\/registry\/webgl\/specs\/latest\/1.0\/\\nhttp:\/\/www.khronos.org\/registry\/gles\/specs\/2.0\/GLSL_ES_Specification_1.0.17.pdf","line":142,"public":true,"protected":false,"private":false,"parameters":[],"inherited":false,"inheritedFrom":""},{"name":"syncUniforms","static":false,"returns":null,"help":"Updates the shader uniform values.","line":288,"public":true,"protected":false,"private":false,"parameters":[],"inherited":false,"inheritedFrom":""}],"protected":[],"private":[],"static":[]},"properties":{"public":[{"name":"defaultVertexSrc","type":["string"],"help":"The Default Vertex shader source.","inlineHelp":"","line":371,"default":null,"public":true,"protected":false,"private":false,"readOnly":false},{"name":"dirty","type":["boolean"],"help":"A dirty flag","inlineHelp":"","line":68,"default":null,"public":true,"protected":false,"private":false,"readOnly":false},{"name":"fragmentSrc","type":["array"],"help":"The fragment shader.","inlineHelp":"","line":38,"default":null,"public":true,"protected":false,"private":false,"readOnly":false},{"name":"gl","type":["PIXI.WebGLContext"],"help":"","inlineHelp":"","line":24,"default":null,"public":true,"protected":false,"private":false,"readOnly":false},{"name":"program","type":["any"],"help":"The WebGL program.","inlineHelp":"","line":31,"default":null,"public":true,"protected":false,"private":false,"readOnly":false},{"name":"textureCount","type":["number"],"help":"A local texture counter for multi-texture shaders.","inlineHelp":"","line":53,"default":null,"public":true,"protected":false,"private":false,"readOnly":false}],"protected":[],"private":[{"name":"_UID","type":["number"],"help":"","inlineHelp":"","line":18,"default":null,"public":false,"protected":false,"private":true,"readOnly":false},{"name":"attributes","type":["array"],"help":"Uniform attributes cache.","inlineHelp":"","line":76,"default":null,"public":false,"protected":false,"private":true,"readOnly":false},{"name":"firstRun","type":["boolean"],"help":"A local flag","inlineHelp":"","line":61,"default":null,"public":false,"protected":false,"private":true,"readOnly":false}]}}