TextureData constructor
__init__(self)
Constructor of TextureData
def __init__(self):
...
__init__(self, width, height, pixel_format)
Constructs a new TextureData
and allocate pixel data.
def __init__(self, width, height, pixel_format):
...
Parameter | Type | Description |
---|---|---|
width | int | |
height | int | |
pixel_format | PixelFormat |
__init__(self, width, height, stride, bytes_per_pixel, pixel_format, data)
Constructor of TextureData
def __init__(self, width, height, stride, bytes_per_pixel, pixel_format, data):
...
Parameter | Type | Description |
---|---|---|
width | int | |
height | int | |
stride | int | |
bytes_per_pixel | int | |
pixel_format | PixelFormat | |
data | bytes |
See Also
- module
aspose.threed.render
- class
TextureData