Sha256: 813ba3fb6de0463088589f67d361d0bc1e5890bf08e17d8cc92cd260a4756498
Contents?: true
Size: 588 Bytes
Versions: 2
Compression:
Stored size: 588 Bytes
Contents
module Joybox module Configuration class Texture2D < CCTexture2D def self.default_configuration { default_alpha_pixel_format: KCCTexture2DPixelFormat_RGBA8888, pvr_images_have_premultiplied_alpha: true } end def self.configure(options = {}) options = options.nil? ? default_configuration : default_configuration.merge!(options) defaultAlphaPixelFormat = options[:default_alpha_pixel_format] PVRImagesHavePremultipliedAlpha(options[:pvr_images_have_premultiplied_alpha]) end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
joybox-1.1.1 | motion/joybox-ios/configuration/texture_2d.rb |
joybox-1.1.0 | motion/joybox-ios/configuration/texture_2d.rb |