MCPcopy
hub / github.com/XingangPan/DragGAN / get_texture_format

Function get_texture_format

gui_utils/gl_utils.py:77–78  ·  view source on GitHub ↗
(dtype, channels)

Source from the content-addressed store, hash-verified

75}
76
77def get_texture_format(dtype, channels):
78 return _texture_formats[(np.dtype(dtype).name, int(channels))]
79
80#----------------------------------------------------------------------------
81

Callers 4

draw_pixelsFunction · 0.85
read_pixelsFunction · 0.85
updateMethod · 0.85
__init__Method · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected