🔥码云GVP开源项目 12k star Uniapp+ElementUI 功能强大 支持多语言、二开方便! 广告
## 绘制 这一章节包含了所有在game room中绘制的方法,和控制*如何* 绘制一样(blending, 透明度, culling,等等...)。有非常多的绘制方法,并且能分为一下几类: > > > > > 1. [Colour And Alpha](https://docs2.yoyogames.com/source/_build/3_scripting/4_gml_reference/drawing/colour/index.html) > 2. [GPU Control](https://docs2.yoyogames.com/source/_build/3_scripting/4_gml_reference/drawing/gpu/index.html) > 3. [Mipmapping](https://docs2.yoyogames.com/source/_build/3_scripting/4_gml_reference/drawing/mipmapping/index.html) > 4. [Drawing Basic Forms](https://docs2.yoyogames.com/source/_build/3_scripting/4_gml_reference/drawing/forms/index.html) > 5. [Drawing Sprites And Tiles](https://docs2.yoyogames.com/source/_build/3_scripting/4_gml_reference/drawing/sprites_and_tiles/index.html) > 6. [Drawing Text](https://docs2.yoyogames.com/source/_build/3_scripting/4_gml_reference/drawing/text/index.html) > 7. [Drawing And Creating Primitives](https://docs2.yoyogames.com/source/_build/3_scripting/4_gml_reference/drawing/primitives/index.html) > 8. [Surfaces](https://docs2.yoyogames.com/source/_build/3_scripting/4_gml_reference/drawing/surfaces/index.html) > 9. [Lighting](https://docs2.yoyogames.com/source/_build/3_scripting/4_gml_reference/drawing/lighting/index.html) > 10. [Particles](https://docs2.yoyogames.com/source/_build/3_scripting/4_gml_reference/drawing/particles/index.html) > 11. [Textures](https://docs2.yoyogames.com/source/_build/3_scripting/4_gml_reference/drawing/textures/index.html) > 12. [Shaders](https://docs2.yoyogames.com/source/_build/3_scripting/4_gml_reference/shaders/index.html) > > 这里有两个特殊的方法,一个能在你的项目中启动或停用*绘制事件* 另一个是为了刷新整个绘制管道: * [draw_enable_drawevent](draw_enable_drawevent.mb) * [draw_flush](draw_flush.mb) 注意,大部分的绘制方法只有在 *绘制事件* 中有效果。