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

📄 texture.h

📁 一个纹理地形渲染器
💻 H
字号:
// System Texture class

#pragma once

#include "ObjectAdapter.h"


namespace System
{
    /// A texture map.
    /// Create a texture instance using the Display::createTexture factory method.
    /// To select this texture for rendering call Display::selectTexture.

    class Texture : public ObjectAdapter
	{
	public:

        /// check if texture object is valid.
        /// todo: is this still required?

        virtual bool valid() const = 0;

        /// get width of texture in pixels.

		virtual int width() const = 0;

        /// get height of texture in pixels.

		virtual int height() const = 0;
	};
}

⌨️ 快捷键说明

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