module Roglew::Texture2dContext::Parameters2
Public Instance Methods
base_level=(v)
click to toggle source
# File lib/roglew/texture2d_context.rb, line 42 def base_level=(v) parameter(GL::TEXTURE_BASE_LEVEL, v) end
max_level=(v)
click to toggle source
# File lib/roglew/texture2d_context.rb, line 43 def max_level=(v) parameter(GL::TEXTURE_MAX_LEVEL, v) end
max_lod=(v)
click to toggle source
# File lib/roglew/texture2d_context.rb, line 44 def max_lod=(v) parameter(GL::TEXTURE_MAX_LOD, v) end
min_lod=(v)
click to toggle source
# File lib/roglew/texture2d_context.rb, line 45 def min_lod=(v) parameter(GL::TEXTURE_MIN_LOD, v) end
no_mipmaps!()
click to toggle source
# File lib/roglew/texture2d_context.rb, line 49 def no_mipmaps! self.mag_filter = Roglew::GL::NEAREST self.min_filter = Roglew::GL::NEAREST self.base_level = 0 self.max_level = 0 nil end
wrap_r=(v)
click to toggle source
# File lib/roglew/texture2d_context.rb, line 46 def wrap_r=(v) parameter(GL::TEXTURE_WRAP_R, v) end
wrap_str(s, t, r)
click to toggle source
# File lib/roglew/texture2d_context.rb, line 47 def wrap_str(s, t, r) self.wrap_s, self.wrap_t, self.wrap_r = s, t, r end