Skip to content

Commit 621d426

Browse files
committed
采样器配置对象
1.glBindSampler(unit,sampler) 如果后面纹理绑定到纹理单元 那么就会用该纹理单元当前绑定的采样器配置对象 2.如果纹理单元有绑定采样器配置对象 那么会覆盖掉纹理对象配置的参数(glTexParameterf) 3.ES3.0的API 才有 glBindSampler 4.glSamplerParameterf不支持GL_TEXTURE_SWIZZLE_R 错误1280git commit -a -m 采样器配置对象
1 parent 30c310f commit 621d426

40 files changed

+1766
-1
lines changed
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
*.iml
2+
.gradle
3+
/local.properties
4+
/.idea/workspace.xml
5+
/.idea/libraries
6+
.DS_Store
7+
/build
8+
/captures
9+
.externalNativeBuild

Sample7_10_采样器配置对象/.idea/compiler.xml

Lines changed: 22 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Sample7_10_采样器配置对象/.idea/copyright/profiles_settings.xml

Lines changed: 3 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Sample7_10_采样器配置对象/.idea/gradle.xml

Lines changed: 18 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Sample7_10_采样器配置对象/.idea/misc.xml

Lines changed: 46 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Sample7_10_采样器配置对象/.idea/modules.xml

Lines changed: 9 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Sample7_10_采样器配置对象/.idea/runConfigurations.xml

Lines changed: 12 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
/build
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
apply plugin: 'com.android.application'
2+
3+
android {
4+
compileSdkVersion 21
5+
buildToolsVersion "26.0.2"
6+
7+
defaultConfig {
8+
applicationId "com.bn.Sample7_10"
9+
minSdkVersion 21
10+
targetSdkVersion 21
11+
}
12+
13+
buildTypes {
14+
release {
15+
minifyEnabled false
16+
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.txt'
17+
}
18+
}
19+
}
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
3+
android:versionCode="1"
4+
android:versionName="1.0" package="com.bn.Sample7_10">
5+
<uses-sdk android:targetSdkVersion="21" android:minSdkVersion="18"></uses-sdk>
6+
<application
7+
android:allowBackup="true"
8+
android:icon="@drawable/icon" android:label="@string/app_name">
9+
<activity android:name="com.bn.Sample7_10.MyActivity"
10+
android:label="@string/app_name">
11+
<intent-filter>
12+
<action android:name="android.intent.action.MAIN" />
13+
<category android:name="android.intent.category.LAUNCHER" />
14+
</intent-filter>
15+
</activity>
16+
</application>
17+
18+
</manifest>

0 commit comments

Comments
 (0)