TextureData constructor
init
Constructor of TextureData
def __init__(self):
...
init
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
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