Data Structures | Enumerations | Functions
ai_closure.h File Reference

Closure type and utilities. More...

#include "ai_api.h"
#include "ai_color.h"
#include <stdint.h>

Go to the source code of this file.

Data Structures

struct  AtClosure
 
struct  AtClosureList
 

Enumerations

enum  AtClosureType {
  AI_CLOSURE_NONE = 0 , AI_CLOSURE_BSDF , AI_CLOSURE_BSSRDF , AI_CLOSURE_EMISSION ,
  AI_CLOSURE_DEBUG , AI_CLOSURE_TRANSPARENT , AI_CLOSURE_MATTE , AI_CLOSURE_BACKGROUND ,
  AI_CLOSURE_VOLUME_ABSORPTION , AI_CLOSURE_VOLUME_SCATTERING , AI_CLOSURE_VOLUME_EMISSION , AI_CLOSURE_VOLUME_MATTE ,
  AI_CLOSURE_VOLUME_ATMOSPHERE , AI_CLOSURE_DIELECTRIC
}
 Shader closure types.
 

Functions

AI_API AI_DEVICE AtClosureType AiClosureType (AtClosureBase *closure)
 
AI_API AI_DEVICE AtRGB AiClosureWeight (AtClosureBase *closure)
 
AI_API AI_DEVICE void AiClosureSetWeight (AtClosureBase *closure, const AtRGB &weight)
 
AI_API AtString AiClosureLabel (AtClosureBase *closure)
 
AI_API void AiClosureSetLabel (AtClosureBase *closure, const AtString label)
 
AI_API AI_DEVICE AtClosureBase * AiClosureNext (AtClosureBase *closure)
 
AI_API AI_DEVICE void AiClosureSetExtraDepth (AtClosureBase *closure, uint8_t extra_depth)
 Set BSDF, BSSRDF or volume closures to use additional GI depth. More...
 
AI_API AI_DEVICE void AiClosureSetExtraSamples (AtClosureBase *closure, uint8_t extra_samples)
 Set BSDF, BSSRDF or volume closures to use additional GI samples. More...
 
AI_API AI_DEVICE AtClosureBase * AiClosureListAdd (AtClosureBase *listA, AtClosureBase *listB)
 
AI_API AI_DEVICE AtClosureBase * AiClosureListWeight (AtClosureBase *list, const AtRGB &weight)
 

Detailed Description

Closure type and utilities.


© 2022 Autodesk, Inc. · All rights reserved · www.arnoldrenderer.com