Class: Texture
Lua
C++
Edit

Texture::SetPixels

This method sets the image data of a texture.

Syntax

Parameter Description
pixels pixel data to set
miplevel the mipmap level to set
face texture layer or cubemap face

Remarks

The provided pixmap must use the same format as the texture, and have the same dimensions as the specified miplevel.

Copyright © 2024 Ultra Software.
All rights reserved.