Blender V4.5
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 46 of file services.h.

Member Enumeration Documentation

◆ Type

Enumerator
OIIO 
SVM 
IES 
BEVEL 
AO 

Definition at line 47 of file services.h.

Constructor & Destructor Documentation

◆ OSLTextureHandle() [1/3]

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

Definition at line 49 of file services.h.

◆ OSLTextureHandle() [2/3]

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

Definition at line 51 of file services.h.

References make_int4().

◆ OSLTextureHandle() [3/3]

OSLTextureHandle::OSLTextureHandle ( const ImageHandle & handle)
inline

Definition at line 56 of file services.h.

Member Data Documentation

◆ handle

ImageHandle OSLTextureHandle::handle

Definition at line 65 of file services.h.

◆ oiio_handle

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

◆ processor

ColorSpaceProcessor* OSLTextureHandle::processor = nullptr

◆ svm_slots

vector<int4> OSLTextureHandle::svm_slots

Definition at line 62 of file services.h.

Referenced by OSLRenderServices::texture(), and OSLRenderServices::texture3d().

◆ type

Type OSLTextureHandle::type

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