tModLoader v2024.05
A mod to make and play Terraria mods
RawImgReader Class Reference

Inherits IAssetReader.

Public Member Functions

 RawImgReader (GraphicsDevice graphicsDevice)
 
async ValueTask< T > FromStream< T > (Stream stream, MainThreadCreationContext mainThreadCtx)
 

Member Function Documentation

◆ FromStream< T >()

async ValueTask< T > RawImgReader.FromStream< T > ( Stream  stream,
MainThreadCreationContext  mainThreadCtx 
)
Type Constraints
T :class