Texture2D

constructor(id: {raylib/Sampler2D=} ERROR CLASS: Symbol not found for UInt, width: Int, height: Int, mipmaps: Int = 1, format: PictureFormat = PictureFormat.UNCOMPRESSED_R32G32B32A32)


constructor(raw: ERROR CLASS: Symbol not found for CValue<ERROR CLASS: Symbol not found for raylib.internal.Texture2D>)

Creates a Texture2D instance from a raw raylib Texture2D C struct.

Parameters

raw

The raw CValue representing the raylib Texture2D.


constructor(raw: ERROR CLASS: Symbol not found for raylib.internal.Texture2D)

Creates a Texture2D instance from a raw raylib Texture2D struct.

Parameters

raw

The raw raylib Texture2D struct.