载入中...
搜索中...
未找到
ShaderResources.h 文件参考
#include <cstddef>
#include <cstdint>
#include <memory>
#include <span>
#include <vector>
#include "common/Result.h"
#include "graphics/TextureSampler.h"

浏览源代码.

类

struct  eve::graphics::ShaderImageInput
 Synchronous borrowed input for one immutable shader image. @ownership The caller owns bytes; upload copies them before returning. @lifetime All spans need remain valid only for the upload call; never retained. 更多...
 
struct  eve::graphics::ShaderResourceInputs
 Inputs for descriptor set 1 of a resource mesh program. 更多...
 
struct  eve::graphics::ShaderImageRegion
 One validated byte region for an image's layer/mip upload. 更多...
 

命名空间

namespace  eve
 Build metadata (engine git commit, build time, third-party version).
 
namespace  eve::graphics
 卡牌游戏 UI 工具模块:工厂 + 脚本绑定入口。 功能参考 ycarowr/UiCard:扇形手牌布局、抽牌/洗牌、悬浮放大、拖拽到落牌区、 敌方手牌(背面/偷看)、费用不足置灰,以及可实时调节的布局参数。 数据模型与渲染/交互逻辑见 CardTypes.h。
 

枚举

enum class  eve::graphics::ShaderImageFormat {
  eve::graphics::R8 , eve::graphics::RG8 , eve::graphics::R16 , eve::graphics::RGBA8 ,
  eve::graphics::BGRA8 , eve::graphics::RGBA8Srgb , eve::graphics::BGRA8Srgb , eve::graphics::BC1 ,
  eve::graphics::BC1Srgb , eve::graphics::BC3 , eve::graphics::BC3Srgb , eve::graphics::BC7 ,
  eve::graphics::BC7Srgb , eve::graphics::RGBA16Unorm , eve::graphics::RGBA16Float , eve::graphics::RGBA32Float
}
 Explicit sampled-image storage; sRGB conversion never affects alpha. 更多...
 
enum class  eve::graphics::ShaderImageDimension { eve::graphics::Image2D , eve::graphics::Array2D , eve::graphics::Cube , eve::graphics::Image3D }
 Sampled image view dimension; arrays retain all authored layers. 更多...
 

函数

Result< std::uint32_t > eve::graphics::shaderInstanceMatrixCount (std::span< const std::byte > bytes)
 Validate packed instance records without GPU access; returns the record count.
 
Result< std::vector< ShaderImageRegion > > eve::graphics::shaderImageRegions (const ShaderImageInput &image)
 Validate layout, dimensions, sampler compatibility and exact payload size.