depthcomponentretained.java

来自「JAVA3D矩陈的相关类」· Java 代码 · 共 49 行

JAVA
49
字号
/* * $RCSfile: DepthComponentRetained.java,v $ * * Copyright (c) 2007 Sun Microsystems, Inc. All rights reserved. * * Use is subject to license terms. * * $Revision: 1.4 $ * $Date: 2007/02/09 17:17:57 $ * $State: Exp $ */package javax.media.j3d;/** * Abstract base class that defines a 2D array of depth (Z) values. */abstract class DepthComponentRetained extends NodeComponentRetained {    // depth component types    static final int DEPTH_COMPONENT_TYPE_INT   = 1;    static final int DEPTH_COMPONENT_TYPE_FLOAT = 2;    static final int DEPTH_COMPONENT_TYPE_NATIVE = DEPTH_COMPONENT_TYPE_INT;    // Width and height of DepthComponent---set by subclasses    int		width;    int		height;    int		type;    /**     * Retrieves the width of this depth component object     * @return the width of the array of depth values     */    int getWidth() {	return width;    }    /**     * Retrieves the height of this depth component object     * @return the height of the array of depth values     */    int getHeight() {	return height;    }}

⌨️ 快捷键说明

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