108
109
GPUTexture *GPU_texture_create_1D(int w, float *pixels, char err_out[256]);
109
110
GPUTexture *GPU_texture_create_2D(int w, int h, float *pixels, char err_out[256]);
110
GPUTexture *GPU_texture_create_3D(int w, int h, int depth, float *fpixels);
111
GPUTexture *GPU_texture_create_3D(int w, int h, int depth, int channels, float *fpixels);
111
112
GPUTexture *GPU_texture_create_depth(int w, int h, char err_out[256]);
112
114
GPUTexture *GPU_texture_from_blender(struct Image *ima,
115
struct ImageUser *iuser, int isdata, double time, int mipmap);
114
118
void GPU_texture_free(GPUTexture *tex);
116
120
void GPU_texture_ref(GPUTexture *tex);