Blender  V3.3
Public Types | Public Member Functions | Public Attributes | List of all members
OSLTextureHandle Struct Reference

#include <services.h>

Inheritance diagram for OSLTextureHandle:

Public Types

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

Public Member Functions

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

Public Attributes

Type type
 
vector< int4svm_slots
 
OSL::TextureSystem::TextureHandle * oiio_handle
 
ColorSpaceProcessor * processor
 

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/2]

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

Definition at line 50 of file services.h.

◆ OSLTextureHandle() [2/2]

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

Definition at line 55 of file services.h.

References make_int4.

Member Data Documentation

◆ oiio_handle

OSL::TextureSystem::TextureHandle* OSLTextureHandle::oiio_handle

◆ processor

ColorSpaceProcessor* OSLTextureHandle::processor

◆ svm_slots

vector<int4> OSLTextureHandle::svm_slots

Definition at line 61 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: