Open Sidebar
Close Sidebar
crshader
main-dev
Top Level Namespace
CrShader
Archetypes
BaseVisitor
BufferDecl
BufferField
Builtins
ClassDecl
ClassLoweringPass
CallSiteRewriter
LocalVarNameScanner
MethodBodyRewriter
SelfMutationScanner
SiblingCallScanner
ClassMethodDecl
CLI
Compiler
Composer
Mode
Compute
AttractorType
BoundaryMode
DomainBounds
ForceAttractor
IntegratorMode
ParticleSimulationBuilder
ParticleSimulationEngine
ParticleState
SimulationPushConstants
ComputeHelper
BoundUniform
ComputeLayout
ConstantDecl
CRShader
CRShaderCompositorEffect
ParamValue
CrShaderStudioPanel
CrShaderSyntaxHighlighter
CrShaderTabEditor
CurveDecl
CurvePoint
Docs
A_GETTING_STARTED
A_OVERVIEW
B_INSTALLATION
C_QUICK_START
B_LANGUAGE_DSL
A_SHADER_TYPES
B_UNIFORMS_AND_VARYINGS
C_PIPELINE_STAGES
D_COMPOSITOR_AND_COMPUTE
C_EDITOR_TOOLING
A_IN_EDITOR_HIGHLIGHTER
B_SHADER_STUDIO
C_CLI_AND_STUBS
D_SHOWCASE_AND_BENCHMARKS
A_PERFORMANCE_BENCHMARKS
B_SHADER_VIEWER
E_OUTPUT_COMPARISONS
A_SIDE_BY_SIDE_COMPARISONS
DSL
DslParser
EmitTargetDecl
Extension
ExtensionRegistry
FeatureDecl
FeatureKind
FeatureValue
FileWatcher
Functions
GDShaderEmitter
GDShaderIncEmitter
GdshaderincReader
GLSLEmitter
GLSLLayoutPacker
FieldSlot
PackedLayout
PackingKind
GradientDecl
GradientsAndCurves
GradientStop
Highlighter
HighlightSpan
ImageUniformDecl
InspectProbe
Language
Builtins
CanvasItem
Compute
Fog
Particles
Sky
Spatial
Functions
PreProcessors
Stages
Std
Color
Lighting
Math
Noise
PostProcessing
Sdf
Tonemap
Triplanar
Types
Color
InOut
IVec2
IVec3
IVec4
Mat2
Mat3
Mat4
Out
Sampler2D
Sampler2DArray
Sampler3D
SamplerCube
UVec2
UVec3
UVec4
Vec2
Vec3
Vec4
MacroEngine
MacroExpanderTransformer
NodeGenerationTarget
NodeGenerator
NodeType
Optimizer
NameOptimizer
ProceduralLUT
PushConstantDecl
ResourceFormatLoaderCRShader
ResourceFormatSaverCRShader
ShaderBuilder
ShaderCreateDialogIntegration
DialogHook
ShaderEditorIntegration
ShaderError
ShaderProgram
ShaderTarget
ShaderType
SharedMemoryDecl
Stages
Std
StructDecl
StructField
StubGenerator
SymbolTable
Templates
Entry
Mode
TraitDecl
TraitFuser
IdentifierRenamer
TraitPixelHook
TraitUse
TreeShaker
TresData
TresReader
TypeInfo
Types
UniformDecl
UniformQualifier
Validator
Rules
SemanticValidator
ValidationContext
VariableArrayControl
VariantCache
CachedVariant
CacheStats
VaryingDecl
VisualInspectorExtension
InspectStripper
CrShaderPlugin
struct
CrShader::
ComputeLayout
CrShader::ComputeLayout
Struct
Value
Object
Defined in:
crshader/ast/shader_ast.cr
Constructors
.new
(x : Int32 =
8
, y : Int32 =
8
, z : Int32 =
1
)
Instance Method Summary
#x
: Int32
#x=
(x : Int32)
#y
: Int32
#y=
(y : Int32)
#z
: Int32
#z=
(z : Int32)
Constructor Detail
def self.
new
(x : Int32 =
8
, y : Int32 =
8
, z : Int32 =
1
)
#
Instance Method Detail
def
x
: Int32
#
def
x=
(x : Int32)
#
def
y
: Int32
#
def
y=
(y : Int32)
#
def
z
: Int32
#
def
z=
(z : Int32)
#