map_pixels method
Contents
[
Hide
]map_pixels(self, map_mode)
Map all pixels for read/write
Returns
def map_pixels(self, map_mode):
...
| Parameter | Type | Description |
|---|---|---|
| map_mode | aspose.threed.render.PixelMapMode | Map mode |
map_pixels(self, map_mode, format)
Map all pixels for read/write in given pixel format
Returns
def map_pixels(self, map_mode, format):
...
| Parameter | Type | Description |
|---|---|---|
| map_mode | aspose.threed.render.PixelMapMode | Map mode |
| format | aspose.threed.render.PixelFormat | Pixel format |
map_pixels(self, rect, map_mode, format)
Map pixels addressed by rect for reading/writing in given pixel format
Returns
Returns a mapping object, it should be disposed when no longer needed.
def map_pixels(self, rect, map_mode, format):
...
| Parameter | Type | Description |
|---|---|---|
| rect | aspose.threed.utilities.Rect | The area of pixels to be accessed |
| map_mode | aspose.threed.render.PixelMapMode | Map mode |
| format | aspose.threed.render.PixelFormat | Pixel format |
Exceptions
| Exception | Description |
|---|---|
| NotSupportedException |
See Also
- module
aspose.threed.render - class
PixelMapping - class
TextureData