Context

class PyOpenColorIO.Context
Context(*args, **kwargs)

Overloaded function.

  1. __init__(self: PyOpenColorIO.PyOpenColorIO.Context) -> None

  2. __init__(self: PyOpenColorIO.PyOpenColorIO.Context, workingDir: str = ‘’, searchPaths: collections.abc.Sequence[str] = [], stringVars: collections.abc.Mapping[str, str] = {}, environmentMode: PyOpenColorIO.PyOpenColorIO.EnvironmentMode = <EnvironmentMode.ENV_ENVIRONMENT_LOAD_PREDEFINED: 1>) -> None

addSearchPath(path: str) None
clearSearchPaths() None
clearStringVars() None
getCacheID() str
getEnvironmentMode() PyOpenColorIO.PyOpenColorIO.EnvironmentMode
getSearchPath() str
getSearchPaths() PyOpenColorIO.PyOpenColorIO.Context.SearchPathIterator
getStringVars() PyOpenColorIO.PyOpenColorIO.Context.StringVarIterator
getWorkingDir() str
loadEnvironment() None
resolveFileLocation(*args, **kwargs)

Overloaded function.

  1. resolveFileLocation(self: PyOpenColorIO.PyOpenColorIO.Context, filename: str) -> str

  2. resolveFileLocation(self: PyOpenColorIO.PyOpenColorIO.Context, filename: str, usedContextVars: PyOpenColorIO.PyOpenColorIO.Context) -> str

resolveStringVar(*args, **kwargs)

Overloaded function.

  1. resolveStringVar(self: PyOpenColorIO.PyOpenColorIO.Context, string: str) -> str

  2. resolveStringVar(self: PyOpenColorIO.PyOpenColorIO.Context, string: str, usedContextVars: PyOpenColorIO.PyOpenColorIO.Context) -> str

setEnvironmentMode(mode: PyOpenColorIO.PyOpenColorIO.EnvironmentMode) None
setSearchPath(path: str) None
setStringVar(name: str, value: str) None
setWorkingDir(dirName: str) None
class PyOpenColorIO.Context.StringVarNameIterator
self[arg0: SupportsInt] str
iter(self) PyOpenColorIO.PyOpenColorIO.Context.StringVarNameIterator
len(self) int
next(self) str
class PyOpenColorIO.Context.StringVarIterator
self[arg0: SupportsInt] tuple
iter(self) PyOpenColorIO.PyOpenColorIO.Context.StringVarIterator
len(self) int
next(self) tuple
class PyOpenColorIO.Context.SearchPathIterator
self[arg0: SupportsInt] str
iter(self) PyOpenColorIO.PyOpenColorIO.Context.SearchPathIterator
len(self) int
next(self) str