diff options
author | Campbell Barton <ideasman42@gmail.com> | 2019-03-20 10:17:16 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2019-03-20 10:25:27 +0300 |
commit | 4fa904e91c78148ba39ac40371d7680294e225bf (patch) | |
tree | ec6c1c6f6a1263e29900bedc9e876d941cc3febf /source/blender/gpu/GPU_texture.h | |
parent | db5a82302cb322b24d0e0a315e6af499706e8aca (diff) |
Cleanup: use lowercase for dimensions in function names
Most API's already use this convention.
Diffstat (limited to 'source/blender/gpu/GPU_texture.h')
-rw-r--r-- | source/blender/gpu/GPU_texture.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/source/blender/gpu/GPU_texture.h b/source/blender/gpu/GPU_texture.h index 5732bad81a9..e596fe9256e 100644 --- a/source/blender/gpu/GPU_texture.h +++ b/source/blender/gpu/GPU_texture.h @@ -153,17 +153,17 @@ GPUTexture *GPU_texture_create_nD( eGPUTextureFormat tex_format, eGPUDataFormat gpu_data_format, int samples, const bool can_rescale, char err_out[256]); -GPUTexture *GPU_texture_create_1D( +GPUTexture *GPU_texture_create_1d( int w, eGPUTextureFormat data_type, const float *pixels, char err_out[256]); -GPUTexture *GPU_texture_create_1D_array( +GPUTexture *GPU_texture_create_1d_array( int w, int h, eGPUTextureFormat data_type, const float *pixels, char err_out[256]); -GPUTexture *GPU_texture_create_2D( +GPUTexture *GPU_texture_create_2d( int w, int h, eGPUTextureFormat data_type, const float *pixels, char err_out[256]); -GPUTexture *GPU_texture_create_2D_multisample( +GPUTexture *GPU_texture_create_2d_multisample( int w, int h, eGPUTextureFormat data_type, const float *pixels, int samples, char err_out[256]); -GPUTexture *GPU_texture_create_2D_array( +GPUTexture *GPU_texture_create_2d_array( int w, int h, int d, eGPUTextureFormat data_type, const float *pixels, char err_out[256]); -GPUTexture *GPU_texture_create_3D( +GPUTexture *GPU_texture_create_3d( int w, int h, int d, eGPUTextureFormat data_type, const float *pixels, char err_out[256]); GPUTexture *GPU_texture_create_cube( int w, eGPUTextureFormat data_type, const float *pixels, char err_out[256]); |