map_pixels method
Contents
[
Hide
]map_pixels
Map all pixels for read/write
Returns
def map_pixels(self, map_mode):
...
Parameter | Type | Description |
---|---|---|
map_mode | PixelMapMode | Map mode |
map_pixels
Map all pixels for read/write in given pixel format
Returns
def map_pixels(self, map_mode, format):
...
Parameter | Type | Description |
---|---|---|
map_mode | PixelMapMode | Map mode |
format | PixelFormat | Pixel format |
map_pixels
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 | PixelMapMode | Map mode |
format | PixelFormat | Pixel format |
Exceptions
Exception | Description |
---|---|
NotSupportedException |
See Also
- module
aspose.threed.render
- class
TextureData