RDShaderSource

package
v0.0.0-...-5fa07e4 Latest Latest
Warning

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

Go to latest
Published: Feb 9, 2025 License: MIT Imports: 19 Imported by: 0

Documentation

Overview

Package RDShaderSource provides methods for working with RDShaderSource object instances.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Advanced

type Advanced = class

Advanced exposes a 1:1 low-level instance of the class, undocumented, for those who know what they are doing.

type Any

type Any interface {
	gd.IsClass
	AsRDShaderSource() Instance
}

type Instance

type Instance [1]gdclass.RDShaderSource

Shader source code in text form. See also [RDShaderFile]. [RDShaderSource] is only meant to be used with the [RenderingDevice] API. It should not be confused with Godot's own [Shader] resource, which is what Godot's various nodes use for high-level shader programming.

var Nil Instance

Nil is a nil/null instance of the class. Equivalent to the zero value.

func New

func New() Instance

func (Instance) AsObject

func (self Instance) AsObject() [1]gd.Object

func (Instance) AsRDShaderSource

func (self Instance) AsRDShaderSource() Instance

func (Instance) AsRefCounted

func (self Instance) AsRefCounted() [1]gd.RefCounted

func (Instance) Language

func (Instance) SetLanguage

func (self Instance) SetLanguage(value gdclass.RenderingDeviceShaderLanguage)

func (Instance) SetSourceCompute

func (self Instance) SetSourceCompute(value string)

func (Instance) SetSourceFragment

func (self Instance) SetSourceFragment(value string)

func (Instance) SetSourceTesselationControl

func (self Instance) SetSourceTesselationControl(value string)

func (Instance) SetSourceTesselationEvaluation

func (self Instance) SetSourceTesselationEvaluation(value string)

func (Instance) SetSourceVertex

func (self Instance) SetSourceVertex(value string)

func (Instance) SourceCompute

func (self Instance) SourceCompute() string

func (Instance) SourceFragment

func (self Instance) SourceFragment() string

func (Instance) SourceTesselationControl

func (self Instance) SourceTesselationControl() string

func (Instance) SourceTesselationEvaluation

func (self Instance) SourceTesselationEvaluation() string

func (Instance) SourceVertex

func (self Instance) SourceVertex() string

func (*Instance) UnsafePointer

func (self *Instance) UnsafePointer() unsafe.Pointer

func (Instance) Virtual

func (self Instance) Virtual(name string) reflect.Value

Jump to

Keyboard shortcuts

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