Skip to content

@simversus/yjvisDocs


@simversus/yjvis / ShaderInfo

Class: ShaderInfo

Constructors

new ShaderInfo()

new ShaderInfo(name, stages, attributes, blocks, buffers, samplerTextures, samplers, textures, images, subpassInputs): ShaderInfo

Parameters

name: string = ''

stages: ShaderStage[] = []

attributes: Attribute[] = []

blocks: UniformBlock[] = []

buffers: UniformStorageBuffer[] = []

samplerTextures: UniformSamplerTexture[] = []

samplers: UniformSampler[] = []

textures: UniformTexture[] = []

images: UniformStorageImage[] = []

subpassInputs: UniformInputAttachment[] = []

Returns

ShaderInfo

Defined in

gfx/base/types.ts:1058

Properties

attributes

attributes: Attribute[] = []

Defined in

gfx/base/types.ts:1061


blocks

blocks: UniformBlock[] = []

Defined in

gfx/base/types.ts:1062


buffers

buffers: UniformStorageBuffer[] = []

Defined in

gfx/base/types.ts:1063


images

images: UniformStorageImage[] = []

Defined in

gfx/base/types.ts:1067


name

name: string = ''

Defined in

gfx/base/types.ts:1059


samplerTextures

samplerTextures: UniformSamplerTexture[] = []

Defined in

gfx/base/types.ts:1064


samplers

samplers: UniformSampler[] = []

Defined in

gfx/base/types.ts:1065


stages

stages: ShaderStage[] = []

Defined in

gfx/base/types.ts:1060


subpassInputs

subpassInputs: UniformInputAttachment[] = []

Defined in

gfx/base/types.ts:1068


textures

textures: UniformTexture[] = []

Defined in

gfx/base/types.ts:1066