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

📄 shaderattributeretained.java

📁 JAVA3D矩陈的相关类
💻 JAVA
字号:
/* * $RCSfile: ShaderAttributeRetained.java,v $ * * Copyright (c) 2007 Sun Microsystems, Inc. All rights reserved. * * Use is subject to license terms. * * $Revision: 1.6 $ * $Date: 2007/03/30 18:40:14 $ * $State: Exp $ */package javax.media.j3d;import javax.vecmath.*;/** * The ShaderAttributeRetained object encapsulates a uniform attribute for a * shader programs. */abstract class ShaderAttributeRetained extends NodeComponentRetained {    /**     * Name of the shader attribute (immutable)     */    String attrName;    /**     * Package scope constructor     */    ShaderAttributeRetained() {    }    void initializeAttrName(String attrName) {	this.attrName = attrName;    }    /**     * Retrieves the name of this shader attribute.     *     * @return the name of this shader attribute     */    String getAttributeName() {	return attrName;    }    void initMirrorObject() {	((ShaderAttributeObjectRetained)mirror).initializeAttrName(this.attrName);    }}

⌨️ 快捷键说明

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