PyMaterialXRender.Image

class Image

Bases: pybind11_object

Class representing an image in system memory.

See:

https://materialx.org/docs/api/class_image.html

Methods

__init__(*args, **kwargs)

applyBoxBlur(self)

applyGammaTransform(self, arg0)

applyGaussianBlur(self)

applyMatrixTransform(self, arg0)

copy(self, arg0, arg1)

create(arg0, arg1, arg2, arg3)

createResourceBuffer(self)

getBaseStride(self)

getBaseType(self)

getChannelCount(self)

getHeight(self)

getMaxMipCount(self)

getResourceBuffer(self)

getResourceBufferDeallocator(self)

getTexelColor(self, arg0, arg1)

getWidth(self)

isUniformColor(self, arg0)

releaseResourceBuffer(self)

setResourceBuffer(self, arg0)

setResourceBufferDeallocator(self, arg0)

setTexelColor(self, arg0, arg1, arg2)

setUniformColor(self, arg0)

splitByLuminance(self, arg0)

Methods

__init__(*args, **kwargs)
applyBoxBlur(self: Image) Image
applyGammaTransform(self: Image, arg0: float) None
applyGaussianBlur(self: Image) Image
applyMatrixTransform(self: Image, arg0: Matrix33) None
copy(self: Image, arg0: int, arg1: BaseType) Image
static create(arg0: int, arg1: int, arg2: int, arg3: BaseType) Image
createResourceBuffer(self: Image) None
getBaseStride(self: Image) int
getBaseType(self: Image) BaseType
getChannelCount(self: Image) int
getHeight(self: Image) int
getMaxMipCount(self: Image) int
getResourceBuffer(self: Image) capsule
getResourceBufferDeallocator(self: Image) Callable[[capsule], None]
getTexelColor(self: Image, arg0: int, arg1: int) Color4
getWidth(self: Image) int
isUniformColor(self: Image, arg0: Color4) bool
releaseResourceBuffer(self: Image) None
setResourceBuffer(self: Image, arg0: capsule) None
setResourceBufferDeallocator(self: Image, arg0: Callable[[capsule], None]) None
setTexelColor(self: Image, arg0: int, arg1: int, arg2: Color4) None
setUniformColor(self: Image, arg0: Color4) None
splitByLuminance(self: Image, arg0: float) tuple[Image, Image]