当前位置: 首页>>代码示例>>Java>>正文


Java GL4.glDeleteSamplers方法代码示例

本文整理汇总了Java中com.jogamp.opengl.GL4.glDeleteSamplers方法的典型用法代码示例。如果您正苦于以下问题:Java GL4.glDeleteSamplers方法的具体用法?Java GL4.glDeleteSamplers怎么用?Java GL4.glDeleteSamplers使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在com.jogamp.opengl.GL4的用法示例。


在下文中一共展示了GL4.glDeleteSamplers方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。

示例1: end

import com.jogamp.opengl.GL4; //导入方法依赖的package包/类
@Override
protected boolean end(GL gl) {

    GL4 gl4 = (GL4) gl;

    gl4.glDeleteBuffers(Buffer.MAX, bufferName);
    gl4.glDeleteProgram(programName);
    gl4.glDeleteTextures(Texture.MAX, textureName);
    gl4.glDeleteFramebuffers(Framebuffer.MAX, framebufferName);
    gl4.glDeleteVertexArrays(1, vertexArrayName);
    gl4.glDeleteSamplers(1, samplerName);
    gl4.glDeleteProgramPipelines(1, pipelineName);

    BufferUtils.destroyDirectBuffer(bufferName);
    BufferUtils.destroyDirectBuffer(textureName);
    BufferUtils.destroyDirectBuffer(framebufferName);
    BufferUtils.destroyDirectBuffer(vertexArrayName);
    BufferUtils.destroyDirectBuffer(samplerName);
    BufferUtils.destroyDirectBuffer(pipelineName);

    return true;
}
 
开发者ID:java-opengl-labs,项目名称:jogl-samples,代码行数:23,代码来源:Gl_430_direct_state_access_ext.java

示例2: end

import com.jogamp.opengl.GL4; //导入方法依赖的package包/类
@Override
protected boolean end(GL gl) {

    GL4 gl4 = (GL4) gl;

    gl4.glDeleteSamplers(1, samplerName);
    BufferUtils.destroyDirectBuffer(samplerName);
    gl4.glDeleteProgramPipelines(Pipeline.MAX, pipelineName);
    BufferUtils.destroyDirectBuffer(pipelineName);
    gl4.glDeleteProgram(programName[Pipeline.SPLASH]);
    gl4.glDeleteProgram(programName[Pipeline.RENDER]);
    gl4.glDeleteFramebuffers(1, framebufferName);
    BufferUtils.destroyDirectBuffer(framebufferName);
    gl4.glDeleteTextures(Texture.MAX, textureName);
    BufferUtils.destroyDirectBuffer(textureName);
    gl4.glDeleteVertexArrays(1, vertexArrayName);
    BufferUtils.destroyDirectBuffer(vertexArrayName);

    return true;
}
 
开发者ID:java-opengl-labs,项目名称:jogl-samples,代码行数:21,代码来源:Gl_430_fbo_without_attachment.java

示例3: end

import com.jogamp.opengl.GL4; //导入方法依赖的package包/类
@Override
protected boolean end(GL gl) {

    GL4 gl4 = (GL4) gl;

    gl4.glDeleteBuffers(Buffer.MAX, bufferName);
    BufferUtils.destroyDirectBuffer(bufferName);
    gl4.glDeleteTextures(1, textureName);
    BufferUtils.destroyDirectBuffer(textureName);
    gl4.glDeleteSamplers(1, samplerName);
    BufferUtils.destroyDirectBuffer(samplerName);
    gl4.glDeleteVertexArrays(1, vertexArrayName);
    BufferUtils.destroyDirectBuffer(vertexArrayName);
    gl4.glDeleteProgram(programName);
    gl4.glDeleteProgramPipelines(1, pipelineName);
    BufferUtils.destroyDirectBuffer(pipelineName);

    return true;
}
 
开发者ID:java-opengl-labs,项目名称:jogl-samples,代码行数:20,代码来源:Gl_430_image_sampling.java

示例4: end

import com.jogamp.opengl.GL4; //导入方法依赖的package包/类
@Override
protected boolean end(GL gl) {

    GL4 gl4 = (GL4) gl;

    gl4.glUnmapNamedBuffer(bufferName.get(Buffer.TRANSFORM));
    BufferUtils.destroyDirectBuffer(bufferName);

    gl4.glDeleteProgramPipelines(1, pipelineName);
    BufferUtils.destroyDirectBuffer(pipelineName);
    gl4.glDeleteBuffers(Buffer.MAX, bufferName);
    BufferUtils.destroyDirectBuffer(bufferName);
    gl4.glDeleteProgram(programName);
    gl4.glDeleteTextures(Texture.MAX, textureName);
    BufferUtils.destroyDirectBuffer(textureName);
    gl4.glDeleteFramebuffers(Framebuffer.MAX, framebufferName);
    BufferUtils.destroyDirectBuffer(framebufferName);
    gl4.glDeleteVertexArrays(1, vertexArrayName);
    BufferUtils.destroyDirectBuffer(vertexArrayName);
    gl4.glDeleteSamplers(1, samplerName);
    BufferUtils.destroyDirectBuffer(samplerName);

    BufferUtils.destroyDirectBuffer(clearColor);

    return true;
}
 
开发者ID:java-opengl-labs,项目名称:jogl-samples,代码行数:27,代码来源:Gl_450_direct_state_access.java

示例5: end

import com.jogamp.opengl.GL4; //导入方法依赖的package包/类
@Override
protected boolean end(GL gl) {

    GL4 gl4 = (GL4) gl;

    gl4.glDeleteBuffers(Buffer.MAX, bufferName);
    gl4.glDeleteProgram(programName);
    gl4.glDeleteTextures(Texture.MAX, textureName);
    gl4.glDeleteFramebuffers(Framebuffer.MAX, framebufferName);
    gl4.glDeleteVertexArrays(1, vertexArrayName);
    gl4.glDeleteSamplers(1, samplerName);

    BufferUtils.destroyDirectBuffer(bufferName);
    BufferUtils.destroyDirectBuffer(textureName);
    BufferUtils.destroyDirectBuffer(framebufferName);
    BufferUtils.destroyDirectBuffer(vertexArrayName);
    BufferUtils.destroyDirectBuffer(samplerName);

    return true;
}
 
开发者ID:java-opengl-labs,项目名称:jogl-samples,代码行数:21,代码来源:Gl_400_fbo_multisample.java

示例6: end

import com.jogamp.opengl.GL4; //导入方法依赖的package包/类
@Override
protected boolean end(GL gl) {

    GL4 gl4 = (GL4) gl;

    gl4.glDeleteBuffers(Buffer.MAX, bufferName);
    gl4.glDeleteProgram(programName);
    gl4.glDeleteTextures(Texture.MAX, textureName);
    gl4.glDeleteSamplers(1, samplerName);
    gl4.glDeleteVertexArrays(1, vertexArrayName);

    BufferUtils.destroyDirectBuffer(bufferName);
    BufferUtils.destroyDirectBuffer(textureName);
    BufferUtils.destroyDirectBuffer(samplerName);
    BufferUtils.destroyDirectBuffer(vertexArrayName);

    return checkError(gl4, "end");
}
 
开发者ID:java-opengl-labs,项目名称:jogl-samples,代码行数:19,代码来源:Gl_400_sampler_array.java

示例7: end

import com.jogamp.opengl.GL4; //导入方法依赖的package包/类
@Override
protected boolean end(GL gl) {

    GL4 gl4 = (GL4) gl;

    gl4.glDeleteBuffers(Buffer.MAX, bufferName);
    gl4.glDeleteProgram(programName);
    gl4.glDeleteTextures(1, textureName);
    gl4.glDeleteSamplers(1, samplerName);
    gl4.glDeleteVertexArrays(1, vertexArrayName);

    BufferUtils.destroyDirectBuffer(bufferName);
    BufferUtils.destroyDirectBuffer(textureName);
    BufferUtils.destroyDirectBuffer(samplerName);
    BufferUtils.destroyDirectBuffer(vertexArrayName);

    return true;
}
 
开发者ID:java-opengl-labs,项目名称:jogl-samples,代码行数:19,代码来源:Gl_400_texture_cube.java

示例8: end

import com.jogamp.opengl.GL4; //导入方法依赖的package包/类
@Override
protected boolean end(GL gl) {

    GL4 gl4 = (GL4) gl;

    gl4.glDeleteVertexArrays(Program.MAX, vertexArrayName);
    gl4.glDeleteBuffers(Buffer.MAX, bufferName);
    gl4.glDeleteTextures(1, textureColorbufferName);
    gl4.glDeleteFramebuffers(1, framebufferName);
    gl4.glDeleteSamplers(1, samplerName);
    gl4.glDeleteProgram(programName[Program.IMAGE_2D]);
    gl4.glDeleteProgram(programName[Program.LAYERING]);

    BufferUtils.destroyDirectBuffer(vertexArrayName);
    BufferUtils.destroyDirectBuffer(bufferName);
    BufferUtils.destroyDirectBuffer(textureColorbufferName);
    BufferUtils.destroyDirectBuffer(framebufferName);
    BufferUtils.destroyDirectBuffer(samplerName);

    return checkError(gl4, "end");
}
 
开发者ID:java-opengl-labs,项目名称:jogl-samples,代码行数:22,代码来源:Gl_400_fbo_layered.java

示例9: end

import com.jogamp.opengl.GL4; //导入方法依赖的package包/类
@Override
protected boolean end(GL gl) {

    GL4 gl4 = (GL4) gl;

    gl4.glUnmapNamedBuffer(bufferName.get(Buffer.TRANSFORM));
    BufferUtils.destroyDirectBuffer(uniformPointer);

    gl4.glDeleteProgramPipelines(1, pipelineName);
    BufferUtils.destroyDirectBuffer(pipelineName);
    gl4.glDeleteBuffers(Buffer.MAX, bufferName);
    BufferUtils.destroyDirectBuffer(bufferName);
    gl4.glDeleteProgram(programName);
    gl4.glDeleteTextures(Texture.MAX, textureName);
    BufferUtils.destroyDirectBuffer(textureName);
    gl4.glDeleteFramebuffers(Framebuffer.MAX, framebufferName);
    BufferUtils.destroyDirectBuffer(framebufferName);
    gl4.glDeleteVertexArrays(1, vertexArrayName);
    BufferUtils.destroyDirectBuffer(vertexArrayName);
    gl4.glDeleteSamplers(1, samplerName);
    BufferUtils.destroyDirectBuffer(samplerName);

    BufferUtils.destroyDirectBuffer(blackColor);

    return true;
}
 
开发者ID:java-opengl-labs,项目名称:jogl-samples,代码行数:27,代码来源:Gl_500_direct_state_access_gtc.java

示例10: end

import com.jogamp.opengl.GL4; //导入方法依赖的package包/类
@Override
protected boolean end(GL gl) {

    GL4 gl4 = (GL4) gl;

    boolean validated = true;

    gl4.glDeleteProgramPipelines(Pipeline.MAX, pipelineName);
    gl4.glDeleteProgram(programName[Pipeline.SPLASH]);
    gl4.glDeleteBuffers(Buffer.MAX, bufferName);
    gl4.glDeleteSamplers(1, samplerName);
    gl4.glDeleteTextures(Texture.MAX, textureName);
    gl4.glDeleteVertexArrays(1, vertexArrayName);

    BufferUtils.destroyDirectBuffer(pipelineName);
    BufferUtils.destroyDirectBuffer(bufferName);
    BufferUtils.destroyDirectBuffer(samplerName);
    BufferUtils.destroyDirectBuffer(textureName);
    BufferUtils.destroyDirectBuffer(vertexArrayName);

    return validated;
}
 
开发者ID:java-opengl-labs,项目名称:jogl-samples,代码行数:23,代码来源:Gl_420_draw_image_space_rendering.java

示例11: end

import com.jogamp.opengl.GL4; //导入方法依赖的package包/类
@Override
protected boolean end(GL gl) {

    GL4 gl4 = (GL4) gl;

    gl4.glDeleteBuffers(Buffer.MAX, bufferName);
    gl4.glDeleteProgram(programName);
    gl4.glDeleteTextures(1, textureName);
    gl4.glDeleteSamplers(1, samplerName);
    gl4.glDeleteVertexArrays(1, vertexArrayName);
    gl4.glDeleteProgramPipelines(1, pipelineName);

    BufferUtils.destroyDirectBuffer(bufferName);
    BufferUtils.destroyDirectBuffer(textureName);
    BufferUtils.destroyDirectBuffer(samplerName);
    BufferUtils.destroyDirectBuffer(vertexArrayName);
    BufferUtils.destroyDirectBuffer(pipelineName);

    return true;
}
 
开发者ID:java-opengl-labs,项目名称:jogl-samples,代码行数:21,代码来源:Gl_420_texture_cube.java

示例12: end

import com.jogamp.opengl.GL4; //导入方法依赖的package包/类
@Override
protected boolean end(GL gl) {

    GL4 gl4 = (GL4) gl;

    gl4.glDeleteProgramPipelines(1, pipelineName);
    gl4.glDeleteBuffers(Buffer.MAX, bufferName);
    gl4.glDeleteProgram(programName);
    gl4.glDeleteTextures(Texture.MAX, textureName);
    gl4.glDeleteVertexArrays(1, vertexArrayName);
    gl4.glDeleteSamplers(1, samplerName);

    BufferUtils.destroyDirectBuffer(pipelineName);
    BufferUtils.destroyDirectBuffer(bufferName);
    BufferUtils.destroyDirectBuffer(textureName);
    BufferUtils.destroyDirectBuffer(vertexArrayName);
    BufferUtils.destroyDirectBuffer(samplerName);

    return true;
}
 
开发者ID:java-opengl-labs,项目名称:jogl-samples,代码行数:21,代码来源:Gl_420_texture_compressed.java

示例13: end

import com.jogamp.opengl.GL4; //导入方法依赖的package包/类
@Override
protected boolean end(GL gl) {

    GL4 gl4 = (GL4) gl;

    gl4.glDeleteTextures(Texture.MAX, textureName);
    gl4.glDeleteFramebuffers(1, framebufferName);
    gl4.glDeleteProgram(programName[Program.BLIT]);
    gl4.glDeleteProgram(programName[Program.UPDATE]);
    gl4.glDeleteVertexArrays(1, vertexArrayName);
    gl4.glDeleteSamplers(1, samplerName);
    gl4.glDeleteProgramPipelines(Pipeline.MAX, pipelineName);

    BufferUtils.destroyDirectBuffer(textureName);
    BufferUtils.destroyDirectBuffer(framebufferName);
    BufferUtils.destroyDirectBuffer(vertexArrayName);
    BufferUtils.destroyDirectBuffer(samplerName);
    BufferUtils.destroyDirectBuffer(pipelineName);

    return true;
}
 
开发者ID:java-opengl-labs,项目名称:jogl-samples,代码行数:22,代码来源:Gl_420_memory_barrier.java

示例14: end

import com.jogamp.opengl.GL4; //导入方法依赖的package包/类
@Override
protected boolean end(GL gl) {

    GL4 gl4 = (GL4) gl;

    gl4.glDeleteProgramPipelines(1, pipelineName);
    BufferUtils.destroyDirectBuffer(pipelineName);
    gl4.glDeleteBuffers(Buffer.MAX, bufferName);
    BufferUtils.destroyDirectBuffer(bufferName);
    gl4.glDeleteProgram(programName);
    gl4.glDeleteTextures(Texture.MAX, textureName);
    BufferUtils.destroyDirectBuffer(textureName);
    gl4.glDeleteVertexArrays(1, vertexArrayName);
    BufferUtils.destroyDirectBuffer(vertexArrayName);
    gl4.glDeleteSamplers(1, samplerName);
    BufferUtils.destroyDirectBuffer(samplerName);

    return true;
}
 
开发者ID:java-opengl-labs,项目名称:jogl-samples,代码行数:20,代码来源:Gl_440_texture_compressed.java

示例15: end

import com.jogamp.opengl.GL4; //导入方法依赖的package包/类
@Override
protected boolean end(GL gl) {

    GL4 gl4 = (GL4) gl;

    gl4.glDeleteVertexArrays(Program.MAX, vertexArrayName);
    gl4.glDeleteBuffers(Buffer.MAX, bufferName);
    gl4.glDeleteTextures(1, textureName);
    gl4.glDeleteFramebuffers(1, framebufferName);
    gl4.glDeleteProgram(programName[Program.VIEWPORT]);
    gl4.glDeleteProgram(programName[Program.LAYERING]);
    gl4.glDeleteSamplers(1, samplerName);
    
    BufferUtils.destroyDirectBuffer(vertexArrayName);
    BufferUtils.destroyDirectBuffer(bufferName);
    BufferUtils.destroyDirectBuffer(textureName);
    BufferUtils.destroyDirectBuffer(framebufferName);
    BufferUtils.destroyDirectBuffer(samplerName);

    return true;
}
 
开发者ID:java-opengl-labs,项目名称:jogl-samples,代码行数:22,代码来源:Gl_410_fbo_layered.java


注:本文中的com.jogamp.opengl.GL4.glDeleteSamplers方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。