Changeset View
Changeset View
Standalone View
Standalone View
source/blender/gpu/intern/gpu_texture_private.hh
| Show First 20 Lines • Show All 102 Lines • ▼ Show 20 Lines | public: | ||||
| /* Return true on success. */ | /* Return true on success. */ | ||||
| bool init_1D(int w, int layers, int mip_len, eGPUTextureFormat format); | bool init_1D(int w, int layers, int mip_len, eGPUTextureFormat format); | ||||
| bool init_2D(int w, int h, int layers, int mip_len, eGPUTextureFormat format); | bool init_2D(int w, int h, int layers, int mip_len, eGPUTextureFormat format); | ||||
| bool init_3D(int w, int h, int d, int mip_len, eGPUTextureFormat format); | bool init_3D(int w, int h, int d, int mip_len, eGPUTextureFormat format); | ||||
| bool init_cubemap(int w, int layers, int mip_len, eGPUTextureFormat format); | bool init_cubemap(int w, int layers, int mip_len, eGPUTextureFormat format); | ||||
| bool init_buffer(GPUVertBuf *vbo, eGPUTextureFormat format); | bool init_buffer(GPUVertBuf *vbo, eGPUTextureFormat format); | ||||
| bool init_view(const GPUTexture *src, | bool init_view(const GPUTexture *src, | ||||
| eGPUTextureFormat format, | eGPUTextureFormat format, | ||||
| eGPUTextureType type, | |||||
| int mip_start, | int mip_start, | ||||
| int mip_len, | int mip_len, | ||||
| int layer_start, | int layer_start, | ||||
| int layer_len, | int layer_len, | ||||
| bool cube_as_array); | bool cube_as_array); | ||||
| virtual void generate_mipmap() = 0; | virtual void generate_mipmap() = 0; | ||||
| virtual void copy_to(Texture *tex) = 0; | virtual void copy_to(Texture *tex) = 0; | ||||
| ▲ Show 20 Lines • Show All 556 Lines • Show Last 20 Lines | |||||