Blender V5.3
OSLTextureHandle Struct Reference

#include <services.h>

Public Member Functions

 OSLTextureHandle (const OSLTextureHandleType type, const int id=-1)
 OSLTextureHandle (const ImageHandle &handle)

Public Attributes

OSLTextureHandleType type = OSLTextureHandleType::IMAGE
int id = -1
ImageHandle handle

Detailed Description

Definition at line 52 of file services.h.

Constructor & Destructor Documentation

◆ OSLTextureHandle() [1/2]

OSLTextureHandle::OSLTextureHandle ( const OSLTextureHandleType type,
const int id = -1 )
inline

Definition at line 53 of file services.h.

References id, and type.

Referenced by OSLRenderServices::get_texture_handle().

◆ OSLTextureHandle() [2/2]

OSLTextureHandle::OSLTextureHandle ( const ImageHandle & handle)
inline

Definition at line 55 of file services.h.

References handle, and id.

Member Data Documentation

◆ handle

ImageHandle OSLTextureHandle::handle

Definition at line 59 of file services.h.

Referenced by OSLTextureHandle().

◆ id

int OSLTextureHandle::id = -1

Definition at line 58 of file services.h.

Referenced by OSLTextureHandle(), and OSLTextureHandle().

◆ type

Definition at line 57 of file services.h.

Referenced by OSLTextureHandle().


The documentation for this struct was generated from the following file: