Blender V4.3
blender::realtime_compositor::CachedTexture Class Reference

#include <COM_cached_texture.hh>

Inherits blender::realtime_compositor::CachedResource.

Public Member Functions

 CachedTexture (Context &context, Tex *texture, bool use_color_management, int2 size, float3 offset, float3 scale)
 
 ~CachedTexture ()
 
GPUTexture * color_texture ()
 
GPUTexture * value_texture ()
 

Additional Inherited Members

- Public Attributes inherited from blender::realtime_compositor::CachedResource
bool needed = true
 

Detailed Description

Definition at line 45 of file COM_cached_texture.hh.

Constructor & Destructor Documentation

◆ CachedTexture()

blender::realtime_compositor::CachedTexture::CachedTexture ( Context & context,
Tex * texture,
bool use_color_management,
int2 size,
float3 offset,
float3 scale )

◆ ~CachedTexture()

blender::realtime_compositor::CachedTexture::~CachedTexture ( )

Definition at line 113 of file cached_texture.cc.

References GPU_texture_free().

Member Function Documentation

◆ color_texture()

GPUTexture * blender::realtime_compositor::CachedTexture::color_texture ( )

◆ value_texture()

GPUTexture * blender::realtime_compositor::CachedTexture::value_texture ( )

The documentation for this class was generated from the following files: