RenderingDevice

gdext.classes.RenderingDevice
See theRenderingDevice companion object
abstract class RenderingDevice extends Object

Generated wrapper for Godot's RenderingDevice, extends Object.

Attributes

Companion
object
Graph
Supertypes
class Object
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

final def barrier(from: Long, to: Long): Unit

RenderingDevice.barrier

RenderingDevice.barrier

Attributes

final def captureTimestamp(name: String): Unit

RenderingDevice.capture_timestamp

RenderingDevice.capture_timestamp

Attributes

final def computeListAddBarrier(compute_list: Long): Unit

RenderingDevice.compute_list_add_barrier

RenderingDevice.compute_list_add_barrier

Attributes

final def computeListBegin(): Long

RenderingDevice.compute_list_begin

RenderingDevice.compute_list_begin

Attributes

final def computeListDispatch(compute_list: Long, x_groups: Long, y_groups: Long, z_groups: Long): Unit

RenderingDevice.compute_list_dispatch

RenderingDevice.compute_list_dispatch

Attributes

final def computeListEnd(): Unit

RenderingDevice.compute_list_end

RenderingDevice.compute_list_end

Attributes

RenderingDevice.create_local_device

RenderingDevice.create_local_device

Attributes

final def drawCommandBeginLabel(name: String, color: Color): Unit

RenderingDevice.draw_command_begin_label

RenderingDevice.draw_command_begin_label

Attributes

final def drawCommandEndLabel(): Unit

RenderingDevice.draw_command_end_label

RenderingDevice.draw_command_end_label

Attributes

final def drawCommandInsertLabel(name: String, color: Color): Unit

RenderingDevice.draw_command_insert_label

RenderingDevice.draw_command_insert_label

Attributes

final def drawListBeginForScreen(screen: Long, clear_color: Color): Long

RenderingDevice.draw_list_begin_for_screen

RenderingDevice.draw_list_begin_for_screen

Attributes

final def drawListDisableScissor(draw_list: Long): Unit

RenderingDevice.draw_list_disable_scissor

RenderingDevice.draw_list_disable_scissor

Attributes

final def drawListDraw(draw_list: Long, use_indices: Boolean, instances: Long, procedural_vertex_count: Long): Unit

RenderingDevice.draw_list_draw

RenderingDevice.draw_list_draw

Attributes

final def drawListEnableScissor(draw_list: Long, rect: Rect2): Unit

RenderingDevice.draw_list_enable_scissor

RenderingDevice.draw_list_enable_scissor

Attributes

final def drawListEnd(): Unit

RenderingDevice.draw_list_end

RenderingDevice.draw_list_end

Attributes

final def drawListSetBlendConstants(draw_list: Long, color: Color): Unit

RenderingDevice.draw_list_set_blend_constants

RenderingDevice.draw_list_set_blend_constants

Attributes

final def drawListSwitchToNextPass(): Long

RenderingDevice.draw_list_switch_to_next_pass

RenderingDevice.draw_list_switch_to_next_pass

Attributes

final def framebufferFormatCreateEmpty(samples: Long): Long

RenderingDevice.framebuffer_format_create_empty

RenderingDevice.framebuffer_format_create_empty

Attributes

final def framebufferFormatGetTextureSamples(format: Long, render_pass: Long): Long

RenderingDevice.framebuffer_format_get_texture_samples

RenderingDevice.framebuffer_format_get_texture_samples

Attributes

final def fullBarrier(): Unit

RenderingDevice.full_barrier

RenderingDevice.full_barrier

Attributes

final def getCapturedTimestampCpuTime(index: Long): Long

RenderingDevice.get_captured_timestamp_cpu_time

RenderingDevice.get_captured_timestamp_cpu_time

Attributes

final def getCapturedTimestampGpuTime(index: Long): Long

RenderingDevice.get_captured_timestamp_gpu_time

RenderingDevice.get_captured_timestamp_gpu_time

Attributes

final def getCapturedTimestampName(index: Long): String

RenderingDevice.get_captured_timestamp_name

RenderingDevice.get_captured_timestamp_name

Attributes

final def getCapturedTimestampsCount(): Long

RenderingDevice.get_captured_timestamps_count

RenderingDevice.get_captured_timestamps_count

Attributes

final def getCapturedTimestampsFrame(): Long

RenderingDevice.get_captured_timestamps_frame

RenderingDevice.get_captured_timestamps_frame

Attributes

final def getDeviceAllocationCount(): Long

RenderingDevice.get_device_allocation_count

RenderingDevice.get_device_allocation_count

Attributes

final def getDeviceAllocsByObjectType(`type`: Long): Long

RenderingDevice.get_device_allocs_by_object_type

RenderingDevice.get_device_allocs_by_object_type

Attributes

final def getDeviceMemoryByObjectType(`type`: Long): Long

RenderingDevice.get_device_memory_by_object_type

RenderingDevice.get_device_memory_by_object_type

Attributes

final def getDeviceName(): String

RenderingDevice.get_device_name

RenderingDevice.get_device_name

Attributes

final def getDevicePipelineCacheUuid(): String

RenderingDevice.get_device_pipeline_cache_uuid

RenderingDevice.get_device_pipeline_cache_uuid

Attributes

final def getDeviceTotalMemory(): Long

RenderingDevice.get_device_total_memory

RenderingDevice.get_device_total_memory

Attributes

final def getDeviceVendorName(): String

RenderingDevice.get_device_vendor_name

RenderingDevice.get_device_vendor_name

Attributes

final def getDriverAllocationCount(): Long

RenderingDevice.get_driver_allocation_count

RenderingDevice.get_driver_allocation_count

Attributes

final def getDriverAllocsByObjectType(`type`: Long): Long

RenderingDevice.get_driver_allocs_by_object_type

RenderingDevice.get_driver_allocs_by_object_type

Attributes

final def getDriverAndDeviceMemoryReport(): String

RenderingDevice.get_driver_and_device_memory_report

RenderingDevice.get_driver_and_device_memory_report

Attributes

final def getDriverMemoryByObjectType(`type`: Long): Long

RenderingDevice.get_driver_memory_by_object_type

RenderingDevice.get_driver_memory_by_object_type

Attributes

final def getDriverTotalMemory(): Long

RenderingDevice.get_driver_total_memory

RenderingDevice.get_driver_total_memory

Attributes

final def getFrameDelay(): Long

RenderingDevice.get_frame_delay

RenderingDevice.get_frame_delay

Attributes

final def getMemoryUsage(`type`: Long): Long

RenderingDevice.get_memory_usage

RenderingDevice.get_memory_usage

Attributes

final def getPerfReport(): String

RenderingDevice.get_perf_report

RenderingDevice.get_perf_report

Attributes

final def getTrackedObjectName(type_index: Long): String

RenderingDevice.get_tracked_object_name

RenderingDevice.get_tracked_object_name

Attributes

final def getTrackedObjectTypeCount(): Long

RenderingDevice.get_tracked_object_type_count

RenderingDevice.get_tracked_object_type_count

Attributes

override def godotClassName: String

The Godot class name for this instance. Engine wrappers override with the baked literal; user classes fall back to their Scala simple name (which is how registration names them).

The Godot class name for this instance. Engine wrappers override with the baked literal; user classes fall back to their Scala simple name (which is how registration names them).

Attributes

Definition Classes
final def hasFeature(feature: Long): Boolean

RenderingDevice.has_feature

RenderingDevice.has_feature

Attributes

final def limitGet(limit: Long): Long

RenderingDevice.limit_get

RenderingDevice.limit_get

Attributes

final def samplerIsFormatSupportedForFilter(format: Long, sampler_filter: Long): Boolean

RenderingDevice.sampler_is_format_supported_for_filter

RenderingDevice.sampler_is_format_supported_for_filter

Attributes

final def screenGetFramebufferFormat(screen: Long): Long

RenderingDevice.screen_get_framebuffer_format

RenderingDevice.screen_get_framebuffer_format

Attributes

final def screenGetHeight(screen: Long): Long

RenderingDevice.screen_get_height

RenderingDevice.screen_get_height

Attributes

final def screenGetWidth(screen: Long): Long

RenderingDevice.screen_get_width

RenderingDevice.screen_get_width

Attributes

final def shaderCompileSpirvFromSource(shader_source: RDShaderSource, allow_cache: Boolean): RDShaderSPIRV

RenderingDevice.shader_compile_spirv_from_source. Returns an owned reference: release it with unref() or inside Gd.scoped.

RenderingDevice.shader_compile_spirv_from_source. Returns an owned reference: release it with unref() or inside Gd.scoped.

Attributes

final def submit(): Unit

RenderingDevice.submit

RenderingDevice.submit

Attributes

final def sync(): Unit

RenderingDevice.sync

RenderingDevice.sync

Attributes

final def textureIsFormatSupportedForUsage(format: Long, usage_flags: Long): Boolean

RenderingDevice.texture_is_format_supported_for_usage

RenderingDevice.texture_is_format_supported_for_usage

Attributes

Inherited methods

def _can_handle(obj: GodotObject): Boolean

EditorInspectorPlugin: can this plugin handle obj's inspector?

EditorInspectorPlugin: can this plugin handle obj's inspector?

Attributes

Inherited from:
GodotScriptClass
def _enter_tree(): Unit

EditorPlugin/Node: entered the (editor) tree.

EditorPlugin/Node: entered the (editor) tree.

Attributes

Inherited from:
GodotScriptClass
def _exit_tree(): Unit

EditorPlugin/Node: leaving the (editor) tree.

EditorPlugin/Node: leaving the (editor) tree.

Attributes

Inherited from:
GodotScriptClass
def _input(event: InputEvent): Unit

Called for every unhandled-or-not input event (Node._input).

Called for every unhandled-or-not input event (Node._input).

Attributes

Inherited from:
GodotScriptClass
def _parse_property(obj: GodotObject, varType: Long, name: String, hintType: Long, hintString: String, usage: Long, wide: Boolean): Boolean

EditorInspectorPlugin: inspect one property. Return true to take it over (after calling addPropertyEditor), false to let the default editor render.

EditorInspectorPlugin: inspect one property. Return true to take it over (after calling addPropertyEditor), false to let the default editor render.

Attributes

Inherited from:
GodotScriptClass
def _physics_process(delta: Double): Unit

Called every physics frame; delta is the fixed physics step.

Called every physics frame; delta is the fixed physics step.

Attributes

Inherited from:
GodotScriptClass
def _process(delta: Double): Unit

Called every rendered frame; delta is seconds since the last frame.

Called every rendered frame; delta is seconds since the last frame.

Attributes

Inherited from:
GodotScriptClass
def _ready(): Unit

Called when the node enters the scene tree and is ready.

Called when the node enters the scene tree and is ready.

Attributes

Inherited from:
GodotScriptClass
def _shortcut_input(event: InputEvent): Unit

Called for shortcut input before _unhandled_input (Node._shortcut_input).

Called for shortcut input before _unhandled_input (Node._shortcut_input).

Attributes

Inherited from:
GodotScriptClass
def _unhandled_input(event: InputEvent): Unit

Called for input not consumed by the UI (Node._unhandled_input).

Called for input not consumed by the UI (Node._unhandled_input).

Attributes

Inherited from:
GodotScriptClass
def _unhandled_key_input(event: InputEvent): Unit

Called for unhandled key input (Node._unhandled_key_input).

Called for unhandled key input (Node._unhandled_key_input).

Attributes

Inherited from:
GodotScriptClass
def _update_property(): Unit

EditorProperty: refresh the widget from the edited property's value.

EditorProperty: refresh the widget from the edited property's value.

Attributes

Inherited from:
GodotScriptClass
final def canTranslateMessages(): Boolean

Object.can_translate_messages

Object.can_translate_messages

Attributes

Inherited from:
Object
final def cancelFree(): Unit

Object.cancel_free

Object.cancel_free

Attributes

Inherited from:
Object
def cast[U <: GodotScriptClass](using meta: ClassMeta[U]): U

Cast to a (super- or sub-) class U. Returns null if the object is not actually a U. Uses object_cast_to with U's class tag — a real engine type check, not a Scala cast.

Cast to a (super- or sub-) class U. Returns null if the object is not actually a U. Uses object_cast_to with U's class tag — a real engine type check, not a Scala cast.

Attributes

Inherited from:
GodotScriptClass
def free(): Unit

Free a manually-managed object via object_destroy. No-op for reference-counted objects — use unref for those. The wrapper is dead afterwards: calling an engine method on it throws.

Free a manually-managed object via object_destroy. No-op for reference-counted objects — use unref for those. The wrapper is dead afterwards: calling an engine method on it throws.

Attributes

Inherited from:
GodotScriptClass
final def getInstanceId(): Long

Object.get_instance_id

Object.get_instance_id

Attributes

Inherited from:
Object
final def getMethodArgumentCount(method: StringName): Long

Object.get_method_argument_count

Object.get_method_argument_count

Attributes

Inherited from:
Object

Object.get_translation_domain

Object.get_translation_domain

Attributes

Inherited from:
Object
final def hasConnections(signal: StringName): Boolean

Object.has_connections

Object.has_connections

Attributes

Inherited from:
Object
final def hasMeta(name: StringName): Boolean

Object.has_meta

Object.has_meta

Attributes

Inherited from:
Object
final def hasMethod(method: StringName): Boolean

Object.has_method

Object.has_method

Attributes

Inherited from:
Object
final def hasSignal(signal: StringName): Boolean

Object.has_signal

Object.has_signal

Attributes

Inherited from:
Object
final def hasUserSignal(signal: StringName): Boolean

Object.has_user_signal

Object.has_user_signal

Attributes

Inherited from:
Object
final def hostObject: GodotObject

The engine-side object handle for this instance.

The engine-side object handle for this instance.

Attributes

Inherited from:
GodotScriptClass
final def instanceId: InstanceId

This object's stable Godot InstanceId (the null sentinel if unbound). Mirrors Object.get_instance_id, but typed — pass it to APIs that key off a node's identity.

This object's stable Godot InstanceId (the null sentinel if unbound). Mirrors Object.get_instance_id, but typed — pass it to APIs that key off a node's identity.

Attributes

Inherited from:
GodotScriptClass
final def isBlockingSignals(): Boolean

Object.is_blocking_signals

Object.is_blocking_signals

Attributes

Inherited from:
Object
final def isClass(`class`: String): Boolean

Object.is_class

Object.is_class

Attributes

Inherited from:
Object
final def isQueuedForDeletion(): Boolean

Object.is_queued_for_deletion

Object.is_queued_for_deletion

Attributes

Inherited from:
Object
final def isRefCounted: Boolean

True if this object is reference-counted (RefCounted subtree, e.g. a Resource) vs manually-managed (Object/Node subtree). Drives the lifetime methods below.

True if this object is reference-counted (RefCounted subtree, e.g. a Resource) vs manually-managed (Object/Node subtree). Drives the lifetime methods below.

Attributes

Inherited from:
GodotScriptClass
def keep(): this.type

Keep a reference adopted inside Gd.scoped past the end of the block: the caller now owns it and releases it with unref. Returns this.

Keep a reference adopted inside Gd.scoped past the end of the block: the caller now owns it and releases it with unref. Returns this.

Attributes

Inherited from:
GodotScriptClass
final def notification(what: Long, reversed: Boolean): Unit

Object.notification

Object.notification

Attributes

Inherited from:
Object
final def notifyPropertyListChanged(): Unit

Object.notify_property_list_changed

Object.notify_property_list_changed

Attributes

Inherited from:
Object
final def propertyCanRevert(property: StringName): Boolean

Object.property_can_revert

Object.property_can_revert

Attributes

Inherited from:
Object
def refInc(): this.type

Take one more reference on a reference-counted object, owned by this wrapper until a matching unref. No-op for manually-managed objects (nodes). Returns this. (Named refInc rather than reference to avoid clashing with the generated RefCounted.reference(): Boolean method.)

Take one more reference on a reference-counted object, owned by this wrapper until a matching unref. No-op for manually-managed objects (nodes). Returns this. (Named refInc rather than reference to avoid clashing with the generated RefCounted.reference(): Boolean method.)

Attributes

Inherited from:
GodotScriptClass
final def removeMeta(name: StringName): Unit

Object.remove_meta

Object.remove_meta

Attributes

Inherited from:
Object
final def removeUserSignal(signal: StringName): Unit

Object.remove_user_signal

Object.remove_user_signal

Attributes

Inherited from:
Object
final def setBlockSignals(enable: Boolean): Unit

Object.set_block_signals

Object.set_block_signals

Attributes

Inherited from:
Object
final def setMessageTranslation(enable: Boolean): Unit

Object.set_message_translation

Object.set_message_translation

Attributes

Inherited from:
Object
final def setTranslationDomain(domain: StringName): Unit

Object.set_translation_domain

Object.set_translation_domain

Attributes

Inherited from:
Object
final def tr(message: StringName, context: StringName): String

Object.tr

Object.tr

Attributes

Inherited from:
Object
final def trN(message: StringName, plural_message: StringName, n: Long, context: StringName): String

Object.tr_n

Object.tr_n

Attributes

Inherited from:
Object
def unref(): Unit

Release one reference this wrapper owns (an engine Ref<T> return, Gd.create, or refInc), destroying the object if it was the last reference. Does nothing when the wrapper owns no reference, so a borrowed object can never be freed from under the engine.

Release one reference this wrapper owns (an engine Ref<T> return, Gd.create, or refInc), destroying the object if it was the last reference. Does nothing when the wrapper owns no reference, so a borrowed object can never be freed from under the engine.

Attributes

Inherited from:
GodotScriptClass
final def withHost(o: GDExtensionObjectPtr): this.type

Set the handle and return this (fluent, for wrapping fetched objects).

Set the handle and return this (fluent, for wrapping fetched objects).

Attributes

Inherited from:
GodotScriptClass