Skip to content
#

stateless

Here are 117 public repositories matching this topic...

yanchith
yanchith commented Sep 8, 2018

Allow caching queried attribute locations with AttributeLocation:

const cmd = ...;
const aPosition = dev.queryAttributeLocation(cmd, "a_position");
const aColor = dev.queryAttributeLocation(cmd, "a_color");

// .index property allows for getting the location
const positionLocation = a_position.index;

// toString() allows for use in computed properties
const attrs = dev

Improve this page

Add a description, image, and links to the stateless topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the stateless topic, visit your repo's landing page and select "manage topics."

Learn more

You can’t perform that action at this time.