Documentation
¶
Overview ¶
Package RenderDataExtension provides methods for working with RenderDataExtension 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 Extension ¶
Extension can be embedded in a new struct to create an extension of this class. T should be the type that is embedding this Extension
func (*Extension[T]) AsRenderData ¶
func (self *Extension[T]) AsRenderData() RenderData.Instance
func (*Extension[T]) AsRenderDataExtension ¶
type ID ¶
ID is a typed object ID (reference) to an instance of this class, use it to store references to objects with unknown lifetimes, as an ID will not panic on use if the underlying object has been destroyed.
type Implementation ¶
type Implementation = implementation
Implementation implements Interface with empty methods.
type Instance ¶
type Instance [1]gdclass.RenderDataExtension
This class allows for a RenderData implementation to be made in GDExtension.
See [Interface] for methods that can be overridden by a [Class] that extends it.
var Nil Instance
Nil is a nil/null instance of the class. Equivalent to the zero value.
func (Instance) AsRenderData ¶
func (self Instance) AsRenderData() RenderData.Instance
func (Instance) AsRenderDataExtension ¶
type Interface ¶
type Interface interface { //Implement this in GDExtension to return the implementation's [RenderSceneBuffers] object. GetRenderSceneBuffers() RenderSceneBuffers.Instance //Implement this in GDExtension to return the implementation's [RenderSceneDataExtension] object. GetRenderSceneData() RenderSceneData.Instance //Implement this in GDExtension to return the [RID] of the implementation's environment object. GetEnvironment() RID.Any //Implement this in GDExtension to return the [RID] for the implementation's camera attributes object. GetCameraAttributes() RID.Any }