MaxThreadsPerThreadgroup.fromJson constructor

MaxThreadsPerThreadgroup.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory MaxThreadsPerThreadgroup.fromJson(Map<String, dynamic> json) {
  return MaxThreadsPerThreadgroup(
    width: (json['width'] as num).toInt(),
    height: (json['height'] as num).toInt(),
    depth: (json['depth'] as num).toInt(),
  );
}