RenderMan API
23.0
|
#include <algorithm>
#include <cassert>
#include <cstddef>
#include <cstring>
#include <new>
#include <vector>
#include "RixInterfaces.h"
#include "RixRNG.h"
#include "ri.hpp"
Go to the source code of this file.
Classes | |
class | RixShadingPlugin |
struct | RixShadingPlugin::InstanceData |
struct | RixSCParamInfo |
class | RixParameterList |
class | RixShadingContext |
struct | RixShadingContext::Id |
class | RixShadingContext::Allocator |
Macros | |
#define | k_RixShadingVersion 230 |
#define k_RixShadingVersion 230 |
Definition at line 97 of file RixShading.h.
enum RayProperty |
There are a set of 'properties' of a ray the integrator could provide the bxdf that can potentially provide significant opportunities for performance gain (even though the results might be biased). We expect this enum to grow over time.
Enumerator | |
---|---|
k_RayDepth | |
k_RayRngSampleCtx | |
k_RayThruput | |
k_RayVolumeScatterCount | |
k_RayVolumeSampleCount | |
k_RayTrueDepth |
Definition at line 443 of file RixShading.h.
enum RixSCAccess |
RixSCAccess characterizes parameters as input or output. To allow the renderer to further optimize execution, a parameter can be given a more informative input label that indicates the shading modes in which the input is required. A value of k_RixSCInput assumes it is required in all shading modes. The values of the enumeration are such that they can be combined with the 'or' operator (RixSCAccess)((int)k_RixSCPresenceInput | (int)k_RixSCOpacityInput) to indicate an input will be needed in multiple shading modes. Currently, these input modes are only supported in a static parameter table, not the dynamic parameter table returned by CreateInstanceData
Definition at line 397 of file RixShading.h.
enum RixSCConnectionInfo |
RixSCConnectionInfo identifies the origin of values associated with parameters evaluated through RixShadingContext.
Enumerator | |
---|---|
k_RixSCDefaultValue | |
k_RixSCParameterListValue | |
k_RixSCNetworkValue |
Definition at line 430 of file RixShading.h.
enum RixSCDetail |
RixSCDetail enumerates the valid sizing qualifiers for SC parameters.
Enumerator | |
---|---|
k_RixSCInvalidDetail | |
k_RixSCUniform | |
k_RixSCVarying | |
k_RixSCAnyDetail |
Definition at line 376 of file RixShading.h.
enum RixSCShadingMode |
RixSCShadingMode conveys the current operating mode associated with the shading context. Associated with a mode is s shader whose type may depend upon it. Knowledge of the shading mode allows a BxdfFactory to minimize the construction costs of the particular query. For example, a stained-glass material may be trivially opaque to presence queries but colored for Transmission queries. See comments for each Begin method for more details.
Enumerator | |
---|---|
k_RixSCInvalidShadingMode | Invalid shading context. |
k_RixSCPresenceQuery | RixBxdfFactory::BeginOpacity presence mode. |
k_RixSCOpacityQuery | RixBxdfFactory::BeginOpacity opacity mode. |
k_RixSCScatterQuery | |
k_RixSCVolumeTransmissionQuery | |
k_RixSCVolumeScatterQuery | |
k_RixSCBakeQuery | Texture baking mode. |
k_RixSCDisplacementQuery | |
k_RixSCEmissionQuery | PxrMeshLight emission mode. |
k_RixSCNumShadingModes | Number of shading modes. |
Definition at line 497 of file RixShading.h.
enum RixSCSyncMsg |
RixSCSyncMsgs - are the possible states delivered through Synchronize methods.
Enumerator | |
---|---|
k_RixSCRenderBegin | |
k_RixSCRenderEnd | |
k_RixSCInstanceEdit | |
k_RixSCCancel | |
k_RixSCCheckpointRecover | |
k_RixSCCheckpointWrite | |
k_RixSCIncrementBarrier |
Definition at line 127 of file RixShading.h.
enum RixSCType |
RixSCType enumerates the valid atomic datatypes
Definition at line 349 of file RixShading.h.
enum RixSCVolumeSelector |
RixSCVolumeSelector identifies a volume region relative to an incident rays.
Enumerator | |
---|---|
k_RixSCAnyVolume | |
k_RixSCIncidentVolume | |
k_RixSCOppositeVolume | |
k_RixSCSubsurfaceVolume |
Definition at line 418 of file RixShading.h.
enum RixShadingInterface |
RixShadingInterface enumerates the known ShadingPlugin types.
Enumerator | |
---|---|
k_RixInvalid | |
k_RixPattern | |
k_RixBxdfFactory | |
k_RixIntegratorFactory | |
k_RixLightFactory | |
k_RixLightFilter | |
k_RixProjectionFactory | |
k_RixDisplacementFactory | |
k_RixSampleFilter | |
k_RixDisplayFilter |
Definition at line 109 of file RixShading.h.
enum RtHitSides |
Enumerator | |
---|---|
k_SidesFront | |
k_SidesBack | |
k_SidesBoth |
Definition at line 99 of file RixShading.h.