Changeset View
Changeset View
Standalone View
Standalone View
source/blender/gpu/GPU_texture.h
| Show First 20 Lines • Show All 212 Lines • ▼ Show 20 Lines | GPUTexture *GPU_texture_create_compressed_2d( | ||||
| const char *name, int w, int h, int miplen, eGPUTextureFormat format, const void *data); | const char *name, int w, int h, int miplen, eGPUTextureFormat format, const void *data); | ||||
| GPUTexture *GPU_texture_create_error(int dimension, bool array); | GPUTexture *GPU_texture_create_error(int dimension, bool array); | ||||
| void GPU_texture_update_mipmap(GPUTexture *tex, | void GPU_texture_update_mipmap(GPUTexture *tex, | ||||
| int miplvl, | int miplvl, | ||||
| eGPUDataFormat gpu_data_format, | eGPUDataFormat gpu_data_format, | ||||
| const void *pixels); | const void *pixels); | ||||
| void GPU_texture_update(GPUTexture *tex, eGPUDataFormat data_format, const void *pixels); | void GPU_texture_update(GPUTexture *tex, eGPUDataFormat data_format, const void *data); | ||||
| void GPU_texture_update_sub(GPUTexture *tex, | void GPU_texture_update_sub(GPUTexture *tex, | ||||
| eGPUDataFormat gpu_data_format, | eGPUDataFormat data_format, | ||||
| const void *pixels, | const void *pixels, | ||||
| int offset_x, | int offset_x, | ||||
| int offset_y, | int offset_y, | ||||
| int offset_z, | int offset_z, | ||||
| int width, | int width, | ||||
| int height, | int height, | ||||
| int depth); | int depth); | ||||
| void *GPU_texture_read(GPUTexture *tex, eGPUDataFormat gpu_data_format, int miplvl); | void *GPU_texture_read(GPUTexture *tex, eGPUDataFormat data_format, int miplvl); | ||||
| void GPU_texture_clear(GPUTexture *tex, eGPUDataFormat gpu_data_format, const void *color); | void GPU_texture_clear(GPUTexture *tex, eGPUDataFormat data_format, const void *data); | ||||
| void GPU_invalid_tex_init(void); | void GPU_invalid_tex_init(void); | ||||
| void GPU_invalid_tex_bind(int mode); | void GPU_invalid_tex_bind(int mode); | ||||
| void GPU_invalid_tex_free(void); | void GPU_invalid_tex_free(void); | ||||
| void GPU_texture_free(GPUTexture *tex); | void GPU_texture_free(GPUTexture *tex); | ||||
| void GPU_texture_ref(GPUTexture *tex); | void GPU_texture_ref(GPUTexture *tex); | ||||
| Show All 35 Lines | |||||