Blender  V2.93
Public Types | Public Member Functions | Public Attributes | List of all members
OSLTextureHandle Struct Reference

#include <osl_services.h>

Inherits OIIO::RefCnt.

Public Types

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

Public Member Functions

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

Public Attributes

Type type
 
int svm_slot
 
OSL::TextureSystem::TextureHandle * oiio_handle
 
ColorSpaceProcessor * processor
 

Detailed Description

Definition at line 57 of file osl_services.h.

Member Enumeration Documentation

◆ Type

Enumerator
OIIO 
SVM 
IES 
BEVEL 
AO 

Definition at line 58 of file osl_services.h.

Constructor & Destructor Documentation

◆ OSLTextureHandle()

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

Definition at line 60 of file osl_services.h.

Member Data Documentation

◆ oiio_handle

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

◆ processor

ColorSpaceProcessor* OSLTextureHandle::processor

◆ svm_slot

int OSLTextureHandle::svm_slot

Definition at line 66 of file osl_services.h.

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

◆ type

Type OSLTextureHandle::type

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