|
Blender V5.0
|
#include <gpu_shader_binder_internal.hh>
Inherits blender::NonCopyable, and blender::NonMovable.
Public Member Functions | |
GPUTextures | |
| ~GPUTextures () | |
| bool | initialize_common () |
Public Attributes | |
| Vector< GPULutTexture > | luts |
| blender::gpu::Texture * | dummy = nullptr |
| Vector< GPUUniform > | uniforms |
| gpu::UniformBuf * | uniforms_buffer = nullptr |
Definition at line 75 of file gpu_shader_binder_internal.hh.
| blender::ocio::internal::GPUTextures::~GPUTextures | ( | ) |
Definition at line 37 of file gpu_shader_binder.cc.
References dummy, GPU_texture_free(), GPU_uniformbuf_free(), luts, and uniforms_buffer.
| bool blender::ocio::internal::GPUTextures::initialize_common | ( | ) |
Initialize common parts of this object: resources needed for both fall-back and OpenColorIO implementations.
Returns true if the resources have been successfully allocated.
Definition at line 50 of file gpu_shader_binder.cc.
References dummy, GPU_texture_create_error(), luts, and uniforms.
| blender::gpu::Texture* blender::ocio::internal::GPUTextures::dummy = nullptr |
Definition at line 80 of file gpu_shader_binder_internal.hh.
Referenced by initialize_common(), and ~GPUTextures().
| Vector<GPULutTexture> blender::ocio::internal::GPUTextures::luts |
Definition at line 77 of file gpu_shader_binder_internal.hh.
Referenced by blender::ocio::GPUShaderBinder::create_gpu_shader(), initialize_common(), and ~GPUTextures().
| Vector<GPUUniform> blender::ocio::internal::GPUTextures::uniforms |
Definition at line 83 of file gpu_shader_binder_internal.hh.
Referenced by blender::ocio::GPUShaderBinder::create_gpu_shader(), and initialize_common().
| gpu::UniformBuf* blender::ocio::internal::GPUTextures::uniforms_buffer = nullptr |
Definition at line 84 of file gpu_shader_binder_internal.hh.
Referenced by blender::ocio::GPUShaderBinder::create_gpu_shader(), and ~GPUTextures().