Documentation
¶
Overview ¶
Package RDShaderSource provides methods for working with RDShaderSource object instances.
Index ¶
- type Advanced
- type Any
- type Instance
- func (self Instance) AsObject() [1]gd.Object
- func (self Instance) AsRDShaderSource() Instance
- func (self Instance) AsRefCounted() [1]gd.RefCounted
- func (self Instance) Language() gdclass.RenderingDeviceShaderLanguage
- func (self Instance) SetLanguage(value gdclass.RenderingDeviceShaderLanguage)
- func (self Instance) SetSourceCompute(value string)
- func (self Instance) SetSourceFragment(value string)
- func (self Instance) SetSourceTesselationControl(value string)
- func (self Instance) SetSourceTesselationEvaluation(value string)
- func (self Instance) SetSourceVertex(value string)
- func (self Instance) SourceCompute() string
- func (self Instance) SourceFragment() string
- func (self Instance) SourceTesselationControl() string
- func (self Instance) SourceTesselationEvaluation() string
- func (self Instance) SourceVertex() string
- func (self *Instance) UnsafePointer() unsafe.Pointer
- func (self Instance) Virtual(name string) reflect.Value
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 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 (Instance) AsRDShaderSource ¶
func (Instance) AsRefCounted ¶
func (self Instance) AsRefCounted() [1]gd.RefCounted
func (Instance) Language ¶
func (self Instance) Language() gdclass.RenderingDeviceShaderLanguage
func (Instance) SetLanguage ¶
func (self Instance) SetLanguage(value gdclass.RenderingDeviceShaderLanguage)
func (Instance) SetSourceCompute ¶
func (Instance) SetSourceFragment ¶
func (Instance) SetSourceTesselationControl ¶
func (Instance) SetSourceTesselationEvaluation ¶
func (Instance) SetSourceVertex ¶
func (Instance) SourceCompute ¶
func (Instance) SourceFragment ¶
func (Instance) SourceTesselationControl ¶
func (Instance) SourceTesselationEvaluation ¶
func (Instance) SourceVertex ¶
func (*Instance) UnsafePointer ¶
Click to show internal directories.
Click to hide internal directories.