vray.OCIOConfigurationData

class vray.OCIOConfigurationData

Bases: object

Object storing the relevant OCIO configuration entries as they were read from the configuration file. This object is immutable.

  • OCIOConfigurationData() -> Initializes the OCIOConfigurationData instance with vraySourceType set to Automatic.

  • OCIOConfigurationData(fileName) -> Initializes the OCIOConfigurationData instance with the provided configuration file name.

  • OCIOConfigurationData(fileName, vraySourceType) -> Initializes the OCIOConfigurationData instance with the provided configuration file or environment variable.

Attributes

Automatic

Environment

File

Internal

colorSpaceFamilies

List of stored color space families for the configuration.

colorSpaces

List of the stored color spaces in the configuration

devices

List of devices as read from the configuration

familySeparator

The symbol used as a separator to distinguish different families for UI separation.

looks

List of the looks in the configuration

roleColorSpaces

List of corresponding color spaces for each role.

roles

List of the stored roles in the configuration

viewTransforms

List of unique view transformations from the configuration

Methods

__init__()

Automatic = 0
Environment = 1
File = 2
Internal = 3
colorSpaceFamilies

List of stored color space families for the configuration. May be empty

colorSpaces

List of the stored color spaces in the configuration

devices

List of devices as read from the configuration

familySeparator

The symbol used as a separator to distinguish different families for UI separation.

looks

List of the looks in the configuration

roleColorSpaces

List of corresponding color spaces for each role. Size will match the roles size

roles

List of the stored roles in the configuration

viewTransforms

List of unique view transformations from the configuration