Demonstrates basic usages of Vulkan APIs.
The project includes series of samples demonstrating a basic usage of Vulkan APIs. This repository is a replication of LunarG sample kit, refer to wiki for more background.
Refer to the Getting Started guide.
To import the samples, follow the steps below:
From the command-prompt, navigate to the ${ndk_root}/sources/third_party/shaderc
directory.
Then, run the following command:
../../../ndk-build NDK_PROJECT_PATH=. APP_BUILD_SCRIPT=Android.mk APP_STL:=[gnustl_static|gnustl_shared|c++_static|c++_shared] APP_ABI=[armeabi-v7a|arm64-v8a|x86|x86_64|all] libshaderc_combined -j16
For this project, the APP_STL
value is set to use the gnustl_static
port, as all the project samples are using it.
You can use one of the following methods to install this project in Android Studio:
build.gradle
file located at the root of your local repo directory.Note: This project includes 40+ samples and may take time to load on some platforms, such as Windows OS.
If you've found an error in this sample, please file an issue: https://github.com/googlesamples/<...>/issues
Patches are encouraged, and may be submitted by forking this project and submitting a pull request through GitHub.
Copyright 2016 Google, Inc.
Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。