Blender V5.0
OSLTextureHandle Struct Reference

#include <services.h>

Public Types

enum  Type {
  OIIO , SVM , IES , BEVEL ,
  AO
}

Public Member Functions

 OSLTextureHandle (Type type, const vector< int4 > &svm_slots)
 OSLTextureHandle (Type type=OIIO, const int svm_slot=-1)
 OSLTextureHandle (const ImageHandle &handle)

Public Attributes

Type type
vector< int4svm_slots
OSL::TextureSystem::TextureHandle * oiio_handle = nullptr
ColorSpaceProcessor * processor = nullptr
ImageHandle handle

Detailed Description

Definition at line 47 of file services.h.

Member Enumeration Documentation

◆ Type

Enumerator
OIIO 
SVM 
IES 
BEVEL 
AO 

Definition at line 48 of file services.h.

Constructor & Destructor Documentation

◆ OSLTextureHandle() [1/3]

OSLTextureHandle::OSLTextureHandle ( Type type,
const vector< int4 > & svm_slots )
inline

Definition at line 50 of file services.h.

References svm_slots, and type.

Referenced by OSLTextureHandle().

◆ OSLTextureHandle() [2/3]

OSLTextureHandle::OSLTextureHandle ( Type type = OIIO,
const int svm_slot = -1 )
inline

Definition at line 52 of file services.h.

References make_int4(), OIIO, OSLTextureHandle(), and type.

◆ OSLTextureHandle() [3/3]

OSLTextureHandle::OSLTextureHandle ( const ImageHandle & handle)
inline

Definition at line 57 of file services.h.

References handle, SVM, svm_slots, and type.

Member Data Documentation

◆ handle

ImageHandle OSLTextureHandle::handle

Definition at line 66 of file services.h.

Referenced by OSLTextureHandle().

◆ oiio_handle

OSL::TextureSystem::TextureHandle* OSLTextureHandle::oiio_handle = nullptr

◆ processor

ColorSpaceProcessor* OSLTextureHandle::processor = nullptr

◆ svm_slots

vector<int4> OSLTextureHandle::svm_slots

◆ type


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