private Uniform1i ( |
||
location | ||
x | ||
리턴 | void |
private void setTexture2D() { GL.ActiveTexture(textureMaps[index]); GL.BindTexture(GL.TEXTURE_2D, resourceIndex); GL.Uniform1i(location, index); #if DEBUG Video.checkForError(); #endif var state = video.currentSamplerStates[index]; if (state != null) { state.enable((Texture2D)texture.Target); } }