TextureData.TextureData

TextureData(int, int, int, int, PixelFormat, byte[])

Constructor of TextureData

public TextureData(int width, int height, int stride, int bytesPerPixel, PixelFormat pixelFormat, 
    byte[] data)
ParameterTypeDescription
widthInt32
heightInt32
strideInt32
bytesPerPixelInt32
pixelFormatPixelFormat
dataByte[]

See Also


TextureData(int, int, PixelFormat)

Constructs a new TextureData and allocate pixel data.

public TextureData(int width, int height, PixelFormat pixelFormat)
ParameterTypeDescription
widthInt32
heightInt32
pixelFormatPixelFormat

See Also


TextureData()

Constructor of TextureData

public TextureData()

See Also