SFML.Net
RenderWindowSetIcon Method |
Change the window's icon
Namespace: SFML.Graphics
Assembly: sfmlnet-graphics-2 (in sfmlnet-graphics-2.dll) Version: 2.2.0.0 (2.2.0)

public override void SetIcon( uint width, uint height, byte[] pixels )
Public Overrides Sub SetIcon ( width As UInteger, height As UInteger, pixels As Byte() )
public: virtual void SetIcon( unsigned int width, unsigned int height, array<unsigned char>^ pixels ) override
abstract SetIcon : width : uint32 * height : uint32 * pixels : byte[] -> unit override SetIcon : width : uint32 * height : uint32 * pixels : byte[] -> unit
Parameters
- width
- Type: SystemUInt32
Icon's width, in pixels - height
- Type: SystemUInt32
Icon's height, in pixels - pixels
- Type: SystemByte
Array of pixels, format must be RGBA 32 bits
