Tesla Graphics Engine Documentation (January 2012)
IResource Interface
TeslaTesla.ContentIResource
Interface that represents some resource that can be accessed generically. Such resources can be audio files, shader files, or 3D models.
Declaration Syntax
C#
public interface IResource
Members
All Members Methods Properties



Icon Member Description
Extension
Get the extension of the asset.

FullName
Get the fully qualified path to the resource (including name and extension).

Name
Get the resource's asset name (without extension).

OpenStream()()()()
Opens the resource to be read. Caller is responsible in closing the stream.

Assembly: Tesla (Module: Tesla) Version: 0.5.0.0 (0.5.0.0)