OpenMayaRender.MRenderTargetDescription Class Reference
Class which provides a description of a hardware render target.
OpenMayaRender.MRenderTargetDescription.__init__
(
)
x.__init__(...) initializes x; see help(type(x)) for signature
OpenMayaRender.MRenderTargetDescription.allowsUnorderedAccess
(
)
allowsUnorderedAccess() -> bool
Query whether unordered access is supported.
OpenMayaRender.MRenderTargetDescription.arraySliceCount
(
)
arraySliceCount() -> int
Query the number of array slices defined by the description.
OpenMayaRender.MRenderTargetDescription.compatibleWithDescription
(
)
compatibleWithDescription(MRenderTargetDescription) -> bool
Determine if another target with a given description is 'compatible' with a target using this description.
OpenMayaRender.MRenderTargetDescription.height
(
)
height() -> int
Query the height of a 2D render target slice.
OpenMayaRender.MRenderTargetDescription.isCubeMap
(
)
isCubeMap() -> bool
Query whether this is a cube map target.
OpenMayaRender.MRenderTargetDescription.multiSampleCount
(
)
multiSampleCount() -> int
Query the multi-sample count defined by the description.
OpenMayaRender.MRenderTargetDescription.name
(
)
name() -> string
Query the name identifier for the target description.
OpenMayaRender.MRenderTargetDescription.rasterFormat
(
)
rasterFormat() -> int
Query the raster format defined by the description.
OpenMayaRender.MRenderTargetDescription.setAllowsUnorderedAccess
(
)
setAllowsUnorderedAccess(bool) -> self
Set the flag for unordered data access for the target.
OpenMayaRender.MRenderTargetDescription.setArraySliceCount
(
)
setArraySliceCount(int) -> self
Set array slice count of the target.
OpenMayaRender.MRenderTargetDescription.setHeight
(
)
setHeight(int) -> self
Set height of the target.
OpenMayaRender.MRenderTargetDescription.setIsCubeMap
(
)
setIsCubeMap(bool) -> self
Set cube map flag for the target.
OpenMayaRender.MRenderTargetDescription.setMultiSampleCount
(
)
setMultiSampleCount(int) -> self
Set multisample count of the target.
OpenMayaRender.MRenderTargetDescription.setName
(
)
setName(string) -> self
Set name of the target.
OpenMayaRender.MRenderTargetDescription.setRasterFormat
(
)
setRasterFormat(int) -> self
Set the raster format of the target.
OpenMayaRender.MRenderTargetDescription.setWidth
(
)
setWidth(int) -> self
Set width of the target.
OpenMayaRender.MRenderTargetDescription.width
(
)
width() -> int
Query the width of a 2D render target slice.