TextureData.MapPixels
Contents
[
Hide
]MapPixels(PixelMapMode)
Map all pixels for read/write
public PixelMapping MapPixels(PixelMapMode mapMode)
Parameter | Type | Description |
---|---|---|
mapMode | PixelMapMode | Map mode |
See Also
- class PixelMapping
- enum PixelMapMode
- class TextureData
- namespace Aspose.ThreeD.Render
- assembly Aspose.3D
MapPixels(PixelMapMode, PixelFormat)
Map all pixels for read/write in given pixel format
public PixelMapping MapPixels(PixelMapMode mapMode, PixelFormat format)
Parameter | Type | Description |
---|---|---|
mapMode | PixelMapMode | Map mode |
format | PixelFormat | Pixel format |
See Also
- class PixelMapping
- enum PixelMapMode
- enum PixelFormat
- class TextureData
- namespace Aspose.ThreeD.Render
- assembly Aspose.3D
MapPixels(Rect, PixelMapMode, PixelFormat)
Map pixels addressed by rect for reading/writing in given pixel format
public PixelMapping MapPixels(Rect rect, PixelMapMode mapMode, PixelFormat format)
Parameter | Type | Description |
---|---|---|
rect | Rect | The area of pixels to be accessed |
mapMode | PixelMapMode | Map mode |
format | PixelFormat | Pixel format |
Return Value
Returns a mapping object, it should be disposed when no longer needed.
Exceptions
exception | condition |
---|---|
NotSupportedException |
See Also
- class PixelMapping
- struct Rect
- enum PixelMapMode
- enum PixelFormat
- class TextureData
- namespace Aspose.ThreeD.Render
- assembly Aspose.3D