载入中...
搜索中...
未找到
ShaderResources.h
浏览该文件的文档.
82[[nodiscard]] EVENGINE_API_BACKENDS Result<std::uint32_t> shaderInstanceMatrixCount(std::span<const std::byte> bytes);
Move-only, checked operation results for the common layer.
卡牌游戏 UI 工具模块:工厂 + 脚本绑定入口。 功能参考 ycarowr/UiCard:扇形手牌布局、抽牌/洗牌、悬浮放大、拖拽到落牌区、 敌方手牌(背面/偷看)、费用不足置灰,以及可实时调节的布局...
Definition Animation.h:25
ShaderImageFormat
Explicit sampled-image storage; sRGB conversion never affects alpha.
Definition ShaderResources.h:14
@ RGBA8Srgb
@ BGRA8Srgb
@ RGBA16Float
@ RGBA16Unorm
@ RGBA32Float
ShaderImageDimension
Sampled image view dimension; arrays retain all authored layers.
Definition ShaderResources.h:33
Result< std::uint32_t > shaderInstanceMatrixCount(std::span< const std::byte > bytes)
Validate packed instance records without GPU access; returns the record count.
Definition ShaderResources.cpp:92
Result< std::vector< ShaderImageRegion > > shaderImageRegions(const ShaderImageInput &image)
Validate layout, dimensions, sampler compatibility and exact payload size.
Definition ShaderResources.cpp:16
Synchronous borrowed input for one immutable shader image. @ownership The caller owns bytes; upload c...
Definition ShaderResources.h:42
std::uint32_t depth
Base Z extent for Image3D; other dimensions require one. Volume bytes are mip-major,...
Definition ShaderResources.h:58
std::span< const std::byte > bytes
Definition ShaderResources.h:48
std::shared_ptr< const void > contentOwner
Optional immutable byte snapshot identity for upload deduplication. @ownership Shared owner of the ex...
Definition ShaderResources.h:53
ShaderImageDimension dimension
Definition ShaderResources.h:45
One validated byte region for an image's layer/mip upload.
Definition ShaderResources.h:85
std::uint32_t depth
Z extent of this mip; one for non-volume image regions.
Definition ShaderResources.h:89
Inputs for descriptor set 1 of a resource mesh program.
Definition ShaderResources.h:67
std::span< const std::byte > instanceMatrices
Optional immutable column-major float32 affine mat4 records, set 1 binding 33. @ownership Caller byte...
Definition ShaderResources.h:75
std::span< const ShaderImageInput > images
Definition ShaderResources.h:68
std::span< const std::byte > constants
Definition ShaderResources.h:69
Sampler state for a Texture (filter, wrap, mip LOD, anisotropy). Defaults match historical engine beh...
Definition TextureSampler.h:27