Questions tagged [render]

Rendering is the process of generating an image from a model (or models in what collectively could be called a scene file), by means of computer programs.

A scene file contains objects in a strictly defined language or data structure; it would contain geometry, viewpoint, texture, lighting, and shading information as a description of the virtual scene

5211 questions
1
vote
1 answer

Re-Render all values from DB or add to displayed the new one (React)

I have displayed values from Firebase and when user is adding new value I want to re-render all display values (or add just new). const addProfile = async (e) => { e.preventDefault(); const newProfile = { x: x, …
4est
  • 3,010
  • 6
  • 41
  • 63
1
vote
1 answer

React: Have a return statement but "Nothing was returned from render. This usually means a return statement is missing"

I have a component that I'm currently trying to render. I put a return statement but I am still displaying an error. import React, { useState } from 'react'; import moment from 'moment'; import {FaSpaceShuttle} from 'react-icons/fa'; export const…
Joe Jordan
  • 13
  • 4
1
vote
2 answers

Change JTable cell background colors

Alright this is a follow-up to my last question: JTable: Changing cell background when a button is clicked I can now change background color of selected cells in the JTable by using the isSelected parameter, but I can't figure out the logic to get…
ranonk
  • 445
  • 6
  • 15
1
vote
1 answer

Android is cutting off (clipping) Arabic text in EditText and TextView

I have a multiline EditText, for editing Arabic text, as you can see Android cuts off some characters because they are rendered right after zero margin (adding spaces is not a solution because it's multi-line and the user changes the text by…
AVEbrahimi
  • 17,993
  • 23
  • 107
  • 210
1
vote
2 answers

Twig render string variable as array

We are using twig render engine, to populate json with payload data. Or said in other words: { "payload": { "sld": "{{sld}}", "tld": "{{tlds}}" } } I am looping all variables and "rendering" the values. When everything is…
pavkatar
  • 53
  • 6
1
vote
1 answer

C# ToolStripProfessionalRender, event OnRenderItemText applied only on the first item

I'm drawing a custom toolstrip using ToolStripProfessionalRender and editing the OnRenderItemText event as follows: protected override void OnRenderItemText(ToolStripItemTextRenderEventArgs e) { e.Item.ForeColor = Clr.White; e.Item.TextAlign…
TheSphinx
  • 47
  • 1
  • 7
1
vote
1 answer

Are Vulkan's RenderPass and Command executed in parallel on the GPU

The first question is, I have two renderPasses and I do not set their dependencies, will the two renderPasses be executed in parallel in the GPU or in accordance with the commanbuffer sequence submitted when vkQueueSubmit was executed. For…
1
vote
2 answers

django - How can I render a template I use everywhere in my webpage?

I'm using django 1.2.4. I have a template for login in registration/login.html (wich action is django.contrib.auth.views.login) and I want to include it on everypage. I created a block on my base.html as I do for every template. The thing is the…
juankysmith
  • 11,839
  • 5
  • 37
  • 62
1
vote
1 answer

can it be possible to render different layout based on condition android?

I have a video application where having 1 teacher and maximum 6 students. So can i show or render different layout for different number of students like: 1 teache 1 student = layoyt_1 (from xml) 1 teache 2 student = layoyt_2 (from xml) 1 teache 3…
TB13
  • 367
  • 13
  • 23
1
vote
1 answer

Shiny with three inputs of selecting variable, its levels and adding other columns

From the code, renderUI in server is disconnected to the main variable selection, so as print textOutput() to main pannel. I'm trying to build a shiny app has three inputs at the sidebar of selecting a main variable the levels of the selected main…
rocknRrr
  • 341
  • 1
  • 10
1
vote
2 answers

Double Render with layout and partials

Ok so I have a show method that tries to render a layout and the show view renders a couple partials but I am getting a double render error in rails. How do I get it to render the layout and the partials? Note that it renders just fine with the…
Msencenb
  • 5,675
  • 11
  • 52
  • 84
1
vote
1 answer

How to render a stateless functional component from another component

I'm new on React. I wrote a project on which there is a search component. the search works fine ( I checked on console.log) but I don't know how to call the stateless function component on which the search results should be shown? class SearchCard…
Ariel Ch
  • 9
  • 5
1
vote
1 answer

How to Solve "WebRtc hardware Codec driver not Installed" Error

I am using Unity 2019. In that I am working on Render Streaming. When i try to run the project it says Webrtc hardware codec driver not installed. I have installed Directx11 . But it is not working. Could any one can help suggest which driver i…
karthik keyan
  • 428
  • 4
  • 14
1
vote
1 answer

Rendering in blender dont take rotation updates of camera and light directions

I'm trying to render a cube (default blender scene) with a camera facing it. I have added a spotlight at the same location as the camera. Spotlight direction also faces towards the cube. When I render, location changes take effect for both camera…
1
vote
0 answers

How can I send slots to a component in render function in VueJs 3

I have a component like this