in_texture_from_resource

Creates a texture from a resource.

version(IN_DYNLIB)
export extern (C) @nogc
in_texture_from_resource

Parameters

obj in_resource_t*

The resource object.

Return Value

The texture object that is represented by the resource, or null if the resource is not a texture.

Meta