vulk/graphic/texture.py
File texture.py
has 252 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
'''
This module allows to load texture and to sample from it
'''
import numpy as np
from vulkbare import load_image, resize_image
Function set_sampler
has 9 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def set_sampler(self, context, mag_filter=vc.Filter.NEAREST,
Function __init__
has 6 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def __init__(self, context, width, height, texture_format, raw_bitmap,
Function __init__
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def __init__(self, context, width, height, texture_format, mip_levels=1):
Function __init__
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def __init__(self, texture, u=0, v=0, u2=1, v2=1):