SFML.Net
Texture Constructor (Byte) |
Construct the texture from a file in memory
Namespace: SFML.Graphics
Assembly: sfmlnet-graphics-2 (in sfmlnet-graphics-2.dll) Version: 2.2.0.0 (2.2.0)

public Texture( byte[] bytes )
Public Sub New ( bytes As Byte() )
public: Texture( array<unsigned char>^ bytes )
new : bytes : byte[] -> Texture
Parameters
- bytes
- Type: SystemByte
Byte array containing the file contents

Exception | Condition |
---|---|
LoadingFailedException |
