public IsFormatSupported ( TextureType ttype, PixelFormat format, TextureUsage usage ) : bool | ||
ttype | TextureType | |
format | PixelFormat | |
usage | TextureUsage | |
return | bool |
public bool IsFormatSupported( TextureType ttype, PixelFormat format, TextureUsage usage )
{
return GetNativeFormat( ttype, format, usage ) == format;
}