📄 depthcomponentretained.java
字号:
/* * $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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -