⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 pipeline.java

📁 JAVA3D矩陈的相关类
💻 JAVA
📖 第 1 页 / 共 4 页
字号:
            ShaderProgramId shaderProgramId,            ShaderAttrLoc uniformLocation,            int numElements,            float[] value);    abstract ShaderError setGLSLUniform4iArray(Context ctx,            ShaderProgramId shaderProgramId,            ShaderAttrLoc uniformLocation,            int numElements,            int[] value);    abstract ShaderError setGLSLUniform4fArray(Context ctx,            ShaderProgramId shaderProgramId,            ShaderAttrLoc uniformLocation,            int numElements,            float[] value);    abstract ShaderError setGLSLUniformMatrix3fArray(Context ctx,            ShaderProgramId shaderProgramId,            ShaderAttrLoc uniformLocation,            int numElements,            float[] value);    abstract ShaderError setGLSLUniformMatrix4fArray(Context ctx,            ShaderProgramId shaderProgramId,            ShaderAttrLoc uniformLocation,            int numElements,            float[] value);    // abstract interfaces for shader compilation, etc.    abstract ShaderError createGLSLShader(Context ctx, int shaderType, ShaderId[] shaderId);    abstract ShaderError destroyGLSLShader(Context ctx, ShaderId shaderId);    abstract ShaderError compileGLSLShader(Context ctx, ShaderId shaderId, String program);    abstract ShaderError createGLSLShaderProgram(Context ctx, ShaderProgramId[] shaderProgramId);    abstract ShaderError destroyGLSLShaderProgram(Context ctx, ShaderProgramId shaderProgramId);    abstract ShaderError linkGLSLShaderProgram(Context ctx, ShaderProgramId shaderProgramId,            ShaderId[] shaderIds);    abstract ShaderError bindGLSLVertexAttrName(Context ctx, ShaderProgramId shaderProgramId,            String attrName, int attrIndex);    abstract void lookupGLSLShaderAttrNames(Context ctx, ShaderProgramId shaderProgramId,            int numAttrNames, String[] attrNames, ShaderAttrLoc[] locArr,            int[] typeArr, int[] sizeArr, boolean[] isArrayArr);    abstract ShaderError useGLSLShaderProgram(Context ctx, ShaderProgramId shaderProgramId);    // ---------------------------------------------------------------------    //    // J3DBuffer methods    //    // Method to verify that we can access a direct NIO buffer    // from native code    boolean checkNativeBufferAccess(java.nio.Buffer buffer) {        // Return true by default. Pipeline can override and implement, if        // we decide that it is necessary.        return true;    }    // ---------------------------------------------------------------------    //    // Renderer methods    //    abstract void cleanupRenderer();    // ---------------------------------------------------------------------    //    // ColoringAttributesRetained methods    //    abstract void updateColoringAttributes(Context ctx,            float dRed, float dGreen, float dBlue,            float red, float green, float blue,            float alpha,            boolean lEnable,            int shadeModel);    // ---------------------------------------------------------------------    //    // DirectionalLightRetained methods    //    abstract void updateDirectionalLight(Context ctx,            int lightSlot, float red, float green,            float blue, float x, float y, float z);    // ---------------------------------------------------------------------    //    // PointLightRetained methods    //    abstract void updatePointLight(Context ctx,            int lightSlot, float red, float green,            float blue, float ax, float ay, float az,            float px, float py, float pz);    // ---------------------------------------------------------------------    //    // SpotLightRetained methods    //    abstract void updateSpotLight(Context ctx,            int lightSlot, float red, float green,            float blue, float ax, float ay, float az,            float px, float py, float pz, float spreadAngle,            float concentration, float dx, float dy,            float dz);    // ---------------------------------------------------------------------    //    // ExponentialFogRetained methods    //    abstract void updateExponentialFog(Context ctx,            float red, float green, float blue,            float density);    // ---------------------------------------------------------------------    //    // LinearFogRetained methods    //    abstract void updateLinearFog(Context ctx,            float red, float green, float blue,            double fdist, double bdist);    // ---------------------------------------------------------------------    //    // LineAttributesRetained methods    //    abstract void updateLineAttributes(Context ctx,            float lineWidth, int linePattern,            int linePatternMask,            int linePatternScaleFactor,            boolean lineAntialiasing);    // ---------------------------------------------------------------------    //    // MaterialRetained methods    //    abstract void updateMaterial(Context ctx,            float red, float green, float blue, float alpha,            float ared, float agreen, float ablue,            float ered, float egreen, float eblue,            float dred, float dgreen, float dblue,            float sred, float sgreen, float sblue,            float shininess, int colorTarget, boolean enable);    // ---------------------------------------------------------------------    //    // ModelClipRetained methods    //    abstract void updateModelClip(Context ctx, int planeNum, boolean enableFlag,            double A, double B, double C, double D);    // ---------------------------------------------------------------------    //    // PointAttributesRetained methods    //    abstract void updatePointAttributes(Context ctx, float pointSize, boolean pointAntialiasing);    // ---------------------------------------------------------------------    //    // PolygonAttributesRetained methods    //    abstract void updatePolygonAttributes(Context ctx,            int polygonMode, int cullFace,            boolean backFaceNormalFlip,            float polygonOffset,            float polygonOffsetFactor);    // ---------------------------------------------------------------------    //    // RenderingAttributesRetained methods    //    abstract void updateRenderingAttributes(Context ctx,            boolean depthBufferWriteEnableOverride,            boolean depthBufferEnableOverride,            boolean depthBufferEnable,            boolean depthBufferWriteEnable,            int depthTestFunction,            float alphaTestValue, int alphaTestFunction,            boolean ignoreVertexColors,            boolean rasterOpEnable, int rasterOp,            boolean userStencilAvailable, boolean stencilEnable,            int stencilFailOp, int stencilZFailOp, int stencilZPassOp,            int stencilFunction, int stencilReferenceValue,            int stencilCompareMask, int stencilWriteMask );    // ---------------------------------------------------------------------    //    // TexCoordGenerationRetained methods    //   /**    * This method updates the native context:    * trans contains eyeTovworld transform in d3d    * trans contains vworldToEye transform in ogl    */    abstract void updateTexCoordGeneration(Context ctx,            boolean enable, int genMode, int format,            float planeSx, float planeSy, float planeSz, float planeSw,            float planeTx, float planeTy, float planeTz, float planeTw,            float planeRx, float planeRy, float planeRz, float planeRw,            float planeQx, float planeQy, float planeQz, float planeQw,            double[] trans);    // ---------------------------------------------------------------------    //    // TransparencyAttributesRetained methods    //    abstract void updateTransparencyAttributes(Context ctx,            float alpha, int geometryType,            int polygonMode,            boolean lineAA, boolean pointAA,            int transparencyMode,            int srcBlendFunction,            int dstBlendFunction);    // ---------------------------------------------------------------------    //    // TextureAttributesRetained methods    //    abstract void updateTextureAttributes(Context ctx,            double[] transform, boolean isIdentity, int textureMode,            int perspCorrectionMode, float red,            float green, float blue, float alpha,            int textureFormat);    abstract void updateRegisterCombiners(Context ctx,            double[] transform, boolean isIdentity, int textureMode,            int perspCorrectionMode, float red,            float green, float blue, float alpha,            int textureFormat,            int combineRgbMode, int combineAlphaMode,            int[] combineRgbSrc, int[] combineAlphaSrc,            int[] combineRgbFcn, int[] combineAlphaFcn,            int combineRgbScale, int combineAlphaScale);    abstract void updateTextureColorTable(Context ctx, int numComponents,            int colorTableSize,            int[] colorTable);    abstract void updateCombiner(Context ctx,            int combineRgbMode, int combineAlphaMode,            int[] combineRgbSrc, int[] combineAlphaSrc,            int[] combineRgbFcn, int[] combineAlphaFcn,            int combineRgbScale, int combineAlphaScale);    // ---------------------------------------------------------------------    //    // TextureUnitStateRetained methods    //    abstract void updateTextureUnitState(Context ctx, int unitIndex, boolean enableFlag);    // ---------------------------------------------------------------------    //    // TextureRetained methods    // Texture2DRetained methods    //    abstract void bindTexture2D(Context ctx, int objectId, boolean enable);    abstract void updateTexture2DImage(Context ctx,            int numLevels, int level,            int textureFormat, int imageFormat,            int width, int height,            int boundaryWidth,            int imageDataType, Object data, boolean useAutoMipMap);    abstract void updateTexture2DSubImage(Context ctx,            int level, int xoffset, int yoffset,            int textureFormat, int imageFormat,            int imgXOffset, int imgYOffset,            int tilew, int width, int height,            int imageDataType, Object data, boolean useAutoMipMap);        abstract void updateTexture2DLodRange(Context ctx,            int baseLevel, int maximumLevel,            float minimumLod, float maximumLod);    abstract void updateTexture2DLodOffset(Context ctx,            float lodOffsetX, float lodOffsetY,            float lodOffsetZ);    abstract void updateTexture2DBoundary(Context ctx,            int boundaryModeS, int boundaryModeT,            float boundaryRed, float boundaryGreen,            float boundaryBlue, float boundaryAlpha);    abstract void updateTexture2DFilterModes(Context ctx,            int minFilter, int magFilter);    abstract void updateTexture2DSharpenFunc(Context ctx,            int numSharpenTextureFuncPts,            float[] sharpenTextureFuncPts);    abstract void updateTexture2DFilter4Func(Context ctx,            int numFilter4FuncPts,            float[] filter4FuncPts);    abstract void updateTexture2DAnisotropicFilter(Context ctx, float degree);    // ---------------------------------------------------------------------    //    // Texture3DRetained methods    //    abstract void bindTexture3D(Context ctx, int objectId, boolean enable);    abstract void updateTexture3DImage(Context ctx,            int numLevels, int level,            int textureFormat, int imageFormat,            int width, int height, int depth,            int boundaryWidth,            int imageDataType, Object imageData, boolean useAutoMipMap);

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -