texImage3DNormal method
void
texImage3DNormal()
Implementation
void texImage3DNormal(int target, int level, int internalformat, int width,
int height, int depth, int border, int format, int type, data) {
Pointer<Int8> nativeBuffer;
if (data != null) {
nativeBuffer = calloc<Int8>(data.length);
nativeBuffer.asTypedList(data.length).setAll(0, data);
glTexImage3D(target, level, internalformat, width, height, depth, border,
format, type, nativeBuffer.cast<Void>());
calloc.free(nativeBuffer);
} else {
glTexImage3D(target, level, internalformat, width, height, depth, border,
format, type, nullptr);
}
}