hlsl

package
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 21, 2025 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const UniformVariableBoundaryInDwords = 4

Variables

This section is empty.

Functions

func Compile

func Compile(p *shaderir.Program) (vertexShader, pixelShader, prelude string)

func UniformVariableOffsetsInDwords

func UniformVariableOffsetsInDwords(program *shaderir.Program) []int

UniformVariableOffsetsInDwords returns the offsets of the uniform variables in DWROD units in the HLSL layout.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL