Main Page
Related Pages
Modules
Data Structures
core
include
ai_shader_volume.h
1
/*
2
* Arnold API header file
3
* Copyright (c) 1998-2009 Marcos Fajardo, (c) 2009-2013 Solid Angle SL
4
*/
5
11
#pragma once
12
#include "ai_color.h"
13
#include "ai_api.h"
14
15
// forward declaration
16
struct
AtShaderGlobals
;
17
22
AI_API
void
AiShaderGlobalsSetVolumeAbsorption
(
const
AtShaderGlobals
*sg,
const
AtRGB
&absorption);
23
AI_API
void
AiShaderGlobalsSetVolumeAttenuation
(
const
AtShaderGlobals
*sg,
const
AtRGB
&attenuation);
24
AI_API
void
AiShaderGlobalsSetVolumeEmission
(
const
AtShaderGlobals
*sg,
const
AtRGB
&emission);
25
AI_API
void
AiShaderGlobalsSetVolumeScattering
(
const
AtShaderGlobals
*sg,
const
AtRGB
&scattering,
float
g = 0.f);
26
27
/*\}*/
© 2009-2013 Solid Angle SL · all rights reserved · www.solidangle.com