Module: Roglew::Texture2dContext::Parameters5
- Defined in:
- lib/roglew/texture2d_context.rb
Instance Method Summary collapse
- #swizzle_a=(v) ⇒ Object
- #swizzle_b=(v) ⇒ Object
- #swizzle_g=(v) ⇒ Object
- #swizzle_r=(v) ⇒ Object
- #swizzle_rgba(r, g, b, a) ⇒ Object
Instance Method Details
#swizzle_a=(v) ⇒ Object
77 |
# File 'lib/roglew/texture2d_context.rb', line 77 def swizzle_a=(v) parameter(GL::SWIZZLE_A, v) end |
#swizzle_b=(v) ⇒ Object
76 |
# File 'lib/roglew/texture2d_context.rb', line 76 def swizzle_b=(v) parameter(GL::SWIZZLE_B, v) end |
#swizzle_g=(v) ⇒ Object
75 |
# File 'lib/roglew/texture2d_context.rb', line 75 def swizzle_g=(v) parameter(GL::SWIZZLE_G, v) end |
#swizzle_r=(v) ⇒ Object
74 |
# File 'lib/roglew/texture2d_context.rb', line 74 def swizzle_r=(v) parameter(GL::SWIZZLE_R, v) end |
#swizzle_rgba(r, g, b, a) ⇒ Object
78 |
# File 'lib/roglew/texture2d_context.rb', line 78 def swizzle_rgba(r, g, b, a) parameter(GL::SWIZZLE_RGBA, r, g, b, a) end |