public static void ImageRepRelease( ImageRepRef imageRepRef) { ThrowOut( SUImageRepRelease( ref imageRepRef.intPtr), "Could not release image rep."); }
public static void ImageRepCreate( ImageRepRef imageRepRef) { ThrowOut( SUImageRepCreate( out imageRepRef.intPtr), "Could not create image rep."); }
public static void TextureGetImageRep( TextureRef textureRef, ImageRepRef imageRepRef) { ThrowOut( SUTextureGetImageRep( textureRef.intPtr, out imageRepRef.intPtr), "Could not get image rep."); }
public static void ImageRepGetRowPadding( ImageRepRef imageRepRef, out long padding) { ThrowOut( SUImageRepGetRowPadding( imageRepRef.intPtr, out padding), "Could not get image rep row padding."); }
public static void ImageRepLoadFile( ImageRepRef imageRepRef, string path) { ThrowOut( SUImageRepLoadFile( imageRepRef.intPtr, path), "Could not load image rep from file."); }
public static void TextureCreateFromImageRep( TextureRef textureRef, ImageRepRef imageRepRef) { ThrowOut( SUTextureCreateFromImageRep( out textureRef.intPtr, imageRepRef.intPtr), "Could not create texture from image rep."); }
public static void ImageRepGetPixelDimensions( ImageRepRef imageRepRef, out long width, out long height) { ThrowOut( SUImageRepGetPixelDimensions( imageRepRef.intPtr, out width, out height), "Could not get image rep pixel dimensions."); }
public static void ImageRepGetData( ImageRepRef imageRepRef, long dataSize, byte[] pixelData) { ThrowOut( SUImageRepGetData( imageRepRef.intPtr, dataSize, pixelData), "Could not get image rep data."); }
public static void ImageRepGetDataSize( ImageRepRef imageRepRef, out long dataSize, out long bitsPerPixel) { ThrowOut( SUImageRepGetDataSize( imageRepRef.intPtr, out dataSize, out bitsPerPixel), "Could not image rep data size."); }
public static void ImageRepSetData( ImageRepRef imageRepRef, long width, long height, long bitsPerPixel, long rowPadding, byte[] pixelData) { ThrowOut( SUImageRepSetData( imageRepRef.intPtr, width, height, bitsPerPixel, rowPadding, pixelData), "Could not set image rep data."); }