Resource

A resource that can be transferred between CPU and GPU.

abstract
class Resource : NuRefCounted {}

Members

Properties

length
uint length [@property getter]

Length of the resource's data allocation in bytes.

Variables

id
ResourceID id;

ID of a resource, differs based on the underlying rendering API.

Meta