Method: RGSS::Texture#fill_rect
- Defined in:
- lib/rgss/texture.rb
#fill_rect(rect, color) ⇒ Object
84 85 86 87 88 89 |
# File 'lib/rgss/texture.rb', line 84 def fill_rect(rect, color) target(rect) do glClearColor(color) glClear(GL_COLOR_BUFFER_BIT) end end |