VkComponentMapping | NVK Search
  1. No Results
Categories
VkComponentMapping Structure specifying a color component mapping Syntax
componentMapping = VkComponentMapping();
componentMapping = new VkComponentMapping();
componentMapping = new VkComponentMapping(object);
Stub Parameters object When instantiated with an object, members can be filled directly. Properties VkComponentMapping.prototype.r VkComponentSwizzle is a VkComponentSwizzle specifying the component value placed in the R component of the output vector. VkComponentMapping.prototype.g VkComponentSwizzle is a VkComponentSwizzle specifying the component value placed in the G component of the output vector. VkComponentMapping.prototype.b VkComponentSwizzle is a VkComponentSwizzle specifying the component value placed in the B component of the output vector. VkComponentMapping.prototype.a VkComponentSwizzle is a VkComponentSwizzle specifying the component value placed in the A component of the output vector. Default Properties VkComponentMapping.prototype.memoryBuffer ArrayBuffer Native memory reference of the structure. VkComponentMapping.memoryLayout Object Object describing the structure's memory layout. VkComponentMapping.byteLength Number Total native byte length of the structure. Internal Properties These properties are mainly used by nvk internally. VkComponentMapping.reset Resets the native memory of the structure. VkComponentMapping.flush Writes the structure's data into the native memory. VkComponentMapping.reflect Synchronizes the structure's data with the native memory.