Blender V4.5
blender::compositor::CachedTextureKey Class Reference

#include <COM_cached_texture.hh>

Public Member Functions

 CachedTextureKey (int2 size, float3 offset, float3 scale)
uint64_t hash () const

Public Attributes

int2 size
float3 offset
float3 scale

Detailed Description

Definition at line 26 of file COM_cached_texture.hh.

Constructor & Destructor Documentation

◆ CachedTextureKey()

blender::compositor::CachedTextureKey::CachedTextureKey ( int2 size,
float3 offset,
float3 scale )

Definition at line 35 of file cached_texture.cc.

References offset, scale, and size.

Member Function Documentation

◆ hash()

uint64_t blender::compositor::CachedTextureKey::hash ( ) const

Definition at line 40 of file cached_texture.cc.

References blender::get_default_hash(), offset, scale, and size.

Member Data Documentation

◆ offset

float3 blender::compositor::CachedTextureKey::offset

Definition at line 29 of file COM_cached_texture.hh.

Referenced by CachedTextureKey(), hash(), and blender::compositor::operator==().

◆ scale

float3 blender::compositor::CachedTextureKey::scale

Definition at line 30 of file COM_cached_texture.hh.

Referenced by CachedTextureKey(), hash(), and blender::compositor::operator==().

◆ size

int2 blender::compositor::CachedTextureKey::size

Definition at line 28 of file COM_cached_texture.hh.

Referenced by CachedTextureKey(), hash(), and blender::compositor::operator==().


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